From owner-freebsd-current@FreeBSD.ORG Wed Dec 2 16:45:18 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A4361065695; Wed, 2 Dec 2009 16:45:18 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout2.freenet.de (mout2.freenet.de [IPv6:2001:748:100:40::2:4]) by mx1.freebsd.org (Postfix) with ESMTP id D90FE8FC18; Wed, 2 Dec 2009 16:45:17 +0000 (UTC) Received: from [195.4.92.17] (helo=7.mx.freenet.de) by mout2.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.70 #1) id 1NFsKK-0000Vk-IE; Wed, 02 Dec 2009 17:45:16 +0100 Received: from p57ae29b5.dip0.t-ipconnect.de ([87.174.41.181]:34579 helo=ernst.jennejohn.org) by 7.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #94) id 1NFsKK-0003sT-84; Wed, 02 Dec 2009 17:45:16 +0100 Date: Wed, 2 Dec 2009 17:45:15 +0100 From: Gary Jennejohn To: John Baldwin 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> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.16.2; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: core dump in cvsup caused by _once()? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2009 16:45:18 -0000 On Wed, 2 Dec 2009 17:39:28 +0100 Gary Jennejohn wrote: > On Wed, 2 Dec 2009 09:37:23 -0500 > John Baldwin 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,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,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