Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Dec 2009 09:37:23 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        gary.jennejohn@freenet.de
Cc:        freebsd-current@freebsd.org
Subject:   Re: core dump in cvsup caused by _once()?
Message-ID:  <200912020937.23896.jhb@freebsd.org>
In-Reply-To: <20091202122347.124c2652@ernst.jennejohn.org>
References:  <20091128111501.34a7a2a4@ernst.jennejohn.org> <200912011009.59961.jhb@freebsd.org> <20091202122347.124c2652@ernst.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 02 December 2009 6:23:47 am Gary Jennejohn wrote:
> On Tue, 1 Dec 2009 10:09:59 -0500
> John Baldwin <jhb@freebsd.org> wrote:
> 
> [snip old gdb stuff]
> > Can you do 'x/i $rip'?  Also, if you could rebuild libc with debug symbols 
> > that could be helpful (just cd /usr/src/lib/libc; make clean; make 
> > DEBUG_FLAGS=-g install).
> > 
> 
> OK, here it is:

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.

> (gdb) bt
> #0  0x00000008009ee0e7 in tzload (name=0xb <Address 0xb out of bounds>,
>     sp=0x76fe58, doextend=0) at /usr/src/lib/libc/stdtime/localtime.c:393
> #1  0x00000008009edb8e in tzparse (name=0x765c6d "", sp=0x76fe58, 
lastditch=Variable "lastditch" is not available.
> )
>     at /usr/src/lib/libc/stdtime/localtime.c:1002
> #2  0x00000008009ee810 in tzload (name=Variable "name" is not available.
> )
>     at /usr/src/lib/libc/stdtime/localtime.c:579
> #3  0x00000008009eea28 in gmtload (sp=0x800b4d7a0)
>     at /usr/src/lib/libc/stdtime/localtime.c:1197
> #4  0x00000008009f1d78 in _once (once_control=0x800b48fe0, 
init_routine=Variable "init_routine" is not available.
> )
>     at /usr/src/lib/libc/gen/_once_stub.c:43
> #5  0x00000008009ed80f in gmtsub (timep=0x774bb8, offset=0, tmp=0x800b52040)
>     at /usr/src/lib/libc/stdtime/localtime.c:1489
> #6  0x00000008009ef097 in gmtime (timep=0x774bb8)
>     at /usr/src/lib/libc/stdtime/localtime.c:1550

-- 
John Baldwin



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