Subject: Re: port-i386/37155: mount: /tmp: Segmentation fault error at boot in netbsd-4-rc-3
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Marcelo Schmidt <mschmidt@savvybyte.com>
List: netbsd-bugs
Date: 10/20/2007 02:15:09
The following reply was made to PR port-i386/37155; it has been noted by GNATS.

From: Marcelo Schmidt <mschmidt@savvybyte.com>
To: Juan RP <juan@xtrarom.org>
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-i386/37155: mount: /tmp: Segmentation fault error at boot in netbsd-4-rc-3
Date: Fri, 19 Oct 2007 19:09:07 -0700

 --JSkcQAAxhB1h8DcT
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Sat, Oct 20, 2007 at 02:29:14AM +0200, Juan RP wrote:
 > Can you please do it manually and ktruss/ktrace the mount command?
 
 ktrace mount -t mfs /dev/ld0b /tmp
 mount: /tmp: Segmentation fault
 
    817      1 ktrace   EMUL  "netbsd"
    817      1 ktrace   CALL  execve(0xbfbfe4bc,0xbfbfe988,0xbfbfe9a0)
    817      1 ktrace   NAMI  "/sbin/mount"
    817      1 ktrace   NAMI  "/libexec/ld.elf_so"
    817      1 mount    EMUL  "netbsd"
    817      1 mount    RET   execve JUSTRETURN
    817      1 mount    CALL  mmap(0,0x8000,3,0x1002,0xffffffff,0,0,0)
    817      1 mount    RET   mmap -1145135104/0xbbbea000
    817      1 mount    CALL  open(0xbbbfbb9e,0,0xffffffff)
    817      1 mount    NAMI  "/etc/ld.so.conf"
    817      1 mount    RET   open 3
    817      1 mount    CALL  __fstat30(3,0xbfbfe898)
    817      1 mount    RET   __fstat30 0
    817      1 mount    CALL  mmap(0,0x37,1,1,3,0,0,0)
    817      1 mount    RET   mmap -1145139200/0xbbbe9000
    817      1 mount    CALL  close(3)
    817      1 mount    RET   close 0
    817      1 mount    CALL  munmap(0xbbbe9000,0x37)
    817      1 mount    RET   munmap 0
    817      1 mount    CALL  open(0xbfbfe26c,0,0)
    817      1 mount    NAMI  "/lib/libc.so.12"
    817      1 mount    RET   open 3
    817      1 mount    CALL  __fstat30(3,0xbfbfe1b4)
    817      1 mount    RET   __fstat30 0
    817      1 mount    CALL  mmap(0,0x1000,1,1,3,0,0,0)
    817      1 mount    RET   mmap -1145139200/0xbbbe9000
    817      1 mount    CALL  munmap(0xbbbe9000,0x1000)
    817      1 mount    RET   munmap 0
    817      1 mount    CALL  mmap(0,0xe0000,5,2,3,0,0,0)
    817      1 mount    RET   mmap -1146052608/0xbbb0a000
    817      1 mount    CALL  mmap(0xbbbd3000,0x7000,3,0x12,3,0,0xc9000,0)
    817      1 mount    RET   mmap -1145229312/0xbbbd3000
    817      1 mount    CALL  mmap(0xbbbda000,0x10000,3,0x1012,0xffffffff,0,0,0)
    817      1 mount    RET   mmap -1145200640/0xbbbda000
    817      1 mount    CALL  close(3)
    817      1 mount    RET   close 0
    817      1 mount    CALL  __sysctl(0xbfbfe8ec,2,0xbbbde240,0xbfbfe8f4,0,0)
    817      1 mount    RET   __sysctl 0
    817      1 mount    CALL  __sysctl(0xbfbfde00,2,0xbfbfde0c,0xbfbfde10,0,0)
    817      1 mount    RET   __sysctl 0
    817      1 mount    CALL  readlink(0xbbbd2128,0xbfbfde40,0x3f)
    817      1 mount    NAMI  "/etc/malloc.conf"
    817      1 mount    RET   readlink -1 errno 2 No such file or directory
    817      1 mount    CALL  mmap(0,0x1000,3,0x1002,0xffffffff,0,0,0)
    817      1 mount    RET   mmap -1146056704/0xbbb09000
    817      1 mount    CALL  break(0x804c560)
    817      1 mount    RET   break 0
    817      1 mount    CALL  break(0x804d560)
    817      1 mount    RET   break 0
    817      1 mount    CALL  break(0x804e000)
    817      1 mount    RET   break 0
    817      1 mount    CALL  break(0x804f000)
    817      1 mount    RET   break 0
    817      1 mount    CALL  __lstat30(0xbfbfd6e8,0xbfbfc588)
    817      1 mount    NAMI  "/tmp"
    817      1 mount    RET   __lstat30 0
    817      1 mount    CALL  break(0x8050000)
    817      1 mount    RET   break 0
    817      1 mount    CALL  __vfork14
    817      1 mount    RET   __vfork14 787/0x313
    817      1 mount    CALL  wait4(0x313,0xbfbfdf00,0,0)
    817      1 mount    RET   wait4 787/0x313
    817      1 mount    CALL  issetugid
    817      1 mount    RET   issetugid 0
    817      1 mount    CALL  issetugid
    817      1 mount    RET   issetugid 0
    817      1 mount    CALL  open(0xbfbfb914,0,0xbfbfb884)
    817      1 mount    NAMI  "/usr/share/nls/nls.alias.db"
    817      1 mount    RET   open -1 errno 2 No such file or directory
    817      1 mount    CALL  open(0xbbbd0d4f,0,0xbfbfb8e8)
    817      1 mount    NAMI  "/usr/share/nls/nls.alias"
    817      1 mount    RET   open 3
    817      1 mount    CALL  fcntl(3,2,1)
    817      1 mount    RET   fcntl 0
    817      1 mount    CALL  __fstat30(3,0xbfbfb878)
    817      1 mount    RET   __fstat30 0
    817      1 mount    CALL  mmap(0,0x5f0,1,2,3,0,0,0)
    817      1 mount    RET   mmap -1146060800/0xbbb08000
    817      1 mount    CALL  close(3)
    817      1 mount    RET   close 0
    817      1 mount    CALL  munmap(0xbbb08000,0x5f0)
    817      1 mount    RET   munmap 0
    817      1 mount    CALL  open(0xbfbfbd9b,0,0xbfbfbd08)
    817      1 mount    NAMI  "/usr/share/nls/C/libc.cat"
    817      1 mount    RET   open 3
    817      1 mount    CALL  __fstat30(3,0xbfbfbd08)
    817      1 mount    RET   __fstat30 0
    817      1 mount    CALL  mmap(0,0x10be,1,1,3,0,0,0)
    817      1 mount    RET   mmap -1146064896/0xbbb07000
    817      1 mount    CALL  close(3)
    817      1 mount    RET   close 0
    817      1 mount    CALL  munmap(0xbbb07000,0x10be)
    817      1 mount    RET   munmap 0
    817      1 mount    CALL  write(2,0xbfbfbdb4,7)
    817      1 mount    GIO   fd 2 wrote 7 bytes
        "mount: "
    817      1 mount    RET   write 7
    817      1 mount    CALL  write(2,0xbfbfbde4,0x18)
    817      1 mount    GIO   fd 2 wrote 24 bytes
        "/tmp: Segmentation fault"
    817      1 mount    RET   write 24/0x18
    817      1 mount    CALL  write(2,0x804c43b,1)
    817      1 mount    GIO   fd 2 wrote 1 bytes
        "
        "
    817      1 mount    RET   write 1
    817      1 mount    CALL  exit(1)
 
 ==========================================================================
 pub   2048R/D149C1B5 2006-05-08
       Key fingerprint = 4DD5 DEBA 28BF FDDA 09EC  3C6B 8504 4FB7 D149 C1B5
 uid            Marcelo R. Schmidt (SavvyByte LLC) <mschmidt@savvybyte.com>
 gpg --keyserver pgp.mit.edu --recv-keys 0xD149C1B5
 ==========================================================================
 
 
 --JSkcQAAxhB1h8DcT
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.3 (NetBSD)
 
 iQEVAwUBRxljQ4UET7fRScG1AQKn7Af/YdzDT9Gigid7rl5TNHFl6rhVS1k8/Gum
 TIpMYDCAP+oJ9Inbz3Pc2Ima8Jipie4u1NGuYTd+CyJJoIa1Ts8qo6UsU0B6eq8B
 gFCu8QESK/pXqgQuMefDFZnGdAD1k8kRlxsYkE92DdkGf1LjhO4TbVZ9s1D/cSX7
 TV3ex0DyM8ItUMpeum/z0bHS5yUOrpuDZxm/FMlsofzC1+gI8QbYvOPup8pu/IOc
 NSkTf6pESEcoMaPVM2/NMoG/t7v4j1X5Lpf+lRdkP74RJMxXb9KfOoINP4gczpe2
 5i0EB2klj+UftcB5JsxBKPxDk/RjXG6N9u/Z0Xop06wm1yB2DvUL6w==
 =f9B+
 -----END PGP SIGNATURE-----
 
 --JSkcQAAxhB1h8DcT--