Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Dec 2009 17:45:15 +0100
From:      Gary Jennejohn <gary.jennejohn@freenet.de>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: core dump in cvsup caused by _once()?
Message-ID:  <20091202174515.2b94a996@ernst.jennejohn.org>
In-Reply-To: <20091202173928.4d20a943@ernst.jennejohn.org>
References:  <20091128111501.34a7a2a4@ernst.jennejohn.org> <200912011009.59961.jhb@freebsd.org> <20091202122347.124c2652@ernst.jennejohn.org> <200912020937.23896.jhb@freebsd.org> <20091202173928.4d20a943@ernst.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2 Dec 2009 17:39:28 +0100
Gary Jennejohn <gary.jennejohn@freenet.de> wrote:

> On Wed, 2 Dec 2009 09:37:23 -0500
> John Baldwin <jhb@freebsd.org> wrote:
> 
> > 
> > Can you get a ktrace?  I wonder if it is trying to handle a signal 11 (name of 
> > '0xb' is rather bogus) and triggering SIGILL due to a problem with that.
> >
>
> Yup, you hit the nail on the head.  The last few lines from kdump
> [snip old kdump output]

Sorry for the churn, but this is probably more useful

  2430 cvsup    RET   lseek 0
  2430 cvsup    CALL  fcntl(0x1,F_GETFL,0)
  2430 cvsup    RET   fcntl 2
  2430 cvsup    CALL  fcntl(0x1,F_SETFL,O_RDWR|O_NONBLOCK)
  2430 cvsup    RET   fcntl 0
  2430 cvsup    CALL  write(0x1,0x640018,0x12)
  2430 cvsup    GIO   fd 1 wrote 18 bytes
       " Edit ports/MOVED
       "
  2430 cvsup    RET   write 18/0x12
  2430 cvsup    CALL  fcntl(0x1,F_SETFL,O_RDWR)
  2430 cvsup    RET   fcntl 0
  2430 cvsup    CALL  gettimeofday(0x774a08,0x774a18)
  2430 cvsup    RET   gettimeofday 0
  2430 cvsup    CALL  gettimeofday(0x774a98,0x774aa8)
  2430 cvsup    RET   gettimeofday 0
  2430 cvsup    CALL  open(0x67bd78,O_RDONLY,<unused>0)
  2430 cvsup    NAMI  "/usr/ports/MOVED"
  2430 cvsup    RET   open 12/0xc
  2430 cvsup    CALL  fstat(0xc,0x774cf8)
  2430 cvsup    STRU  struct stat {dev=108, ino=2214146, mode=-rw-r--r-- , nlink=1, uid=0, gid=0, rdev=8847104, atime=1259771681, stime=1259657784, ctime=1259657784, birthtime=1259657784, size=318279, blksize=4096, blocks=672, flags=0x0 }
  2430 cvsup    RET   fstat 0
  2430 cvsup    CALL  mmap(0,0x4db47,PROT_READ,MAP_SHARED,0xc,0)
  2430 cvsup    RET   mmap 6221824/0x8005ef000
  2430 cvsup    CALL  close(0xc)
  2430 cvsup    RET   close 0
  2430 cvsup    CALL  issetugid
  2430 cvsup    RET   issetugid 0
  2430 cvsup    CALL  open(0x7745c8,O_RDONLY,<unused>0x2e)
  2430 cvsup    NAMI  "/usr/share/zoneinfo/UTC"
  2430 cvsup    RET   open 12/0xc
  2430 cvsup    CALL  fstat(0xc,0x7749d8)
  2430 cvsup    STRU  struct stat {dev=108, ino=4900414, mode=-r--r--r-- , nlink=4, uid=0, gid=0, rdev=19572028, atime=1259771681, stime=1259754131, ctime=1259754131, birthtime=1259754131, size=118, blksize=4096, blocks=4, flags=0x0 }
  2430 cvsup    RET   fstat 0
  2430 cvsup    CALL  read(0xc,0x765c68,0xa1e8)
  2430 cvsup    GIO   fd 12 read 118 bytes
       0x0000 545a 6966 3200 0000 0000 0000 0000 0000  |TZif2...........|
       0x0010 0000 0000 0000 0001 0000 0001 0000 0000  |................|
       0x0020 0000 0000 0000 0001 0000 0004 0000 0000  |................|
       0x0030 0000 5554 4300 0000 545a 6966 3200 0000  |..UTC...TZif2...|
       0x0040 0000 0000 0000 0000 0000 0000 0000 0001  |................|
       0x0050 0000 0001 0000 0000 0000 0000 0000 0001  |................|
       0x0060 0000 0004 0000 0000 0000 5554 4300 0000  |..........UTC...|
       0x0070 0a55 5443 300a                           |.UTC0.|

  2430 cvsup    RET   read 118/0x76
  2430 cvsup    CALL  close(0xc)
  2430 cvsup    RET   close 0
  2430 cvsup    PSIG  SIGSEGV caught handler=0x499ea0 mask=0x0 code=0x2
  2430 cvsup    NAMI  "cvsup.core"

---
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091202174515.2b94a996>