core dump with libthr

From: Gordon Tetlow <gordont_at_gnf.org>
Date: Thu, 3 Apr 2003 15:19:55 -0800
I got a userland core dump while using privoxy linked against libthr.
I don't know if this is libthr specific, but I thought I would report
it anyway. This might also explain why kde apps always crash on exit
(possibly, not really sure).

-gordon

GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-undermydesk-freebsd"...
(no debugging symbols found)...
Core was generated by `privoxy'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libthr.so.1...done.
Loaded symbols for /usr/lib/libthr.so.1
Reading symbols from /usr/lib/libc.so.5...done.
Loaded symbols for /usr/lib/libc.so.5
Reading symbols from /usr/libexec/ld-elf.so.1...done.
Loaded symbols for /usr/libexec/ld-elf.so.1
#0  0x28156824 in flockfile () from /usr/lib/libc.so.5
(gdb) bt
#0  0x28156824 in flockfile () from /usr/lib/libc.so.5
#1  0x2813c33a in fgets () from /usr/lib/libc.so.5
#2  0x28136b60 in gethostent () from /usr/lib/libc.so.5
#3  0x28136d87 in _ht_gethostbyname () from /usr/lib/libc.so.5
#4  0x28136663 in nsdispatch () from /usr/lib/libc.so.5
#5  0x28135eac in gethostbyname2 () from /usr/lib/libc.so.5
#6  0x28135e35 in gethostbyname () from /usr/lib/libc.so.5
#7  0x0805a923 in getsockname ()
#8  0x0805a3f6 in getsockname ()
#9  0x0805a090 in getsockname ()
#10 0x0805b0f7 in getsockname ()
#11 0x0805bd14 in getsockname ()
#12 0x2809c0f1 in _thread_start (thread=0x809df40)
    at /local/usr.src/lib/libthr/thread/thr_create.c:216
#13 0x28140f33 in _ctx_start () from /usr/lib/libc.so.5
(gdb) frame 12
#12 0x2809c0f1 in _thread_start (thread=0x809df40)
    at /local/usr.src/lib/libthr/thread/thr_create.c:216
216             pthread_exit(thread->start_routine(thread->arg));
(gdb) list
211     _thread_start(pthread_t thread)
212     {
213             thread->arch_id = _set_curthread(thread);
214     
215             /* Run the current thread's start routine with argument: */
216             pthread_exit(thread->start_routine(thread->arg));
217     
218             /* This point should never be reached. */
219             PANIC("Thread has resumed after exit");
220     }

Received on Thu Apr 03 2003 - 13:19:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:02 UTC