Re: core dump in cvsup caused by _once()?

From: John Baldwin <jhb_at_freebsd.org>
Date: Wed, 2 Dec 2009 09:37:23 -0500
On Wednesday 02 December 2009 6:23:47 am Gary Jennejohn wrote:
> On Tue, 1 Dec 2009 10:09:59 -0500
> John Baldwin <jhb_at_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
Received on Wed Dec 02 2009 - 14:03:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC