[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#207134: libc6: makes jabberd segfault



On Mon, Aug 25, 2003 at 11:37:24AM +0200, Daniel Kraft wrote:
> Package: libc6
> Version: 2.3.2-3
> Severity: important
> 
> Jabberd (package: jabber) segfaults immediately at startup (and even
> when rebuilt freshly with libc6 2.3.2-3). I suspect that it's a libc6
> problem because jabber works with libc6 2.3.1-16 and because I can't
> imagine how it would make fork() fail (see attached gdb backtrace).


> 
> Regards,
> Daniel
> 
> ---
> 
> (gdb) run
> Starting program: /usr/sbin/jabberd
> [New Thread 16384 (LWP 3304)]
>  
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 3304)]
> 0x402ce426 in __pthread_internal_tsd_get () from /lib/libpthread.so.0
> (gdb) bt
> #0  0x402ce426 in __pthread_internal_tsd_get () from /lib/libpthread.so.0
> #1  0x401c2b1b in _IO_file_xsputn () from /lib/libc.so.6
> #2  0x402ccae7 in __pthread_fork () from /lib/libpthread.so.0
> #3  0x401f71b8 in fork () from /lib/libc.so.6
> #4  0x4001ff18 in dnsrv_fork_and_capture (f=0x4001fcd1 <dnsrv_child_main>,
>     di=0x80fb6b8) at dnsrv.c:187
> #5  0x40020934 in dnsrv_thread (arg=0x80fb6b8) at dnsrv.c:427
> #6  0x0808099c in pth_spawn_trampoline ()
> #7  0x4019b014 in makecontext () from /lib/libc.so.6
> #8  0x08081834 in __pth_mctx_set ()
> #9  0x0807d39c in pth_wait ()
> #10 0x080812b3 in pth_join ()
> #11 0x40020d90 in dnsrv (i=0x80fb548, x=0x80a6128) at dnsrv.c:533
> #12 0x08056d5a in load_config (id=0x80fb548, x=0x80a6128, arg=0x0)
>     at load.c:208
> #13 0x08050729 in instance_startup (x=0x80a5f28, exec=1) at config.c:395
> #14 0x080508e7 in configo (exec=1) at config.c:424
> #15 0x0805672e in main (argc=1, argv=0xbffffad4) at jabberd.c:245

It looks like it's dynamically loaded both libpth and libpthread?  Can
that be right?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: