Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2003 15:19:55 -0800
From:      Gordon Tetlow <gordont@gnf.org>
To:        current@FreeBSD.org
Subject:   core dump with libthr
Message-ID:  <20030403231955.GS69100@roark.gnf.org>

next in thread | raw e-mail | index | archive | help

--CPn8Wy5ME997YUMW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 condition=
s.
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=3D0x809df40)
    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=3D0x809df40)
    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 =3D _set_curthread(thread);
214    =20
215             /* Run the current thread's start routine with argument: */
216             pthread_exit(thread->start_routine(thread->arg));
217    =20
218             /* This point should never be reached. */
219             PANIC("Thread has resumed after exit");
220     }

--CPn8Wy5ME997YUMW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+jMGbRu2t9DV9ZfsRAvTbAJ0b3gSoMLFyy8Svf7AItqm7i2aBoACeIGtM
OKG/XzBmgoawBEow7RC1P2I=
=WwY4
-----END PGP SIGNATURE-----

--CPn8Wy5ME997YUMW--



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