From owner-freebsd-current@FreeBSD.ORG Thu Apr 3 15:19:58 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E953037B401 for ; Thu, 3 Apr 2003 15:19:57 -0800 (PST) Received: from ns1.gnf.org (ns1.gnf.org [63.196.132.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id B79B343FA3 for ; Thu, 3 Apr 2003 15:19:56 -0800 (PST) (envelope-from gtetlow@gnf.org) Received: from EXCHCLUSTER01.lj.gnf.org (exch02.lj.gnf.org [172.25.10.20]) by ns1.gnf.org (8.12.6p2/8.12.3) with ESMTP id h33NJsZu052562 for ; Thu, 3 Apr 2003 15:19:54 -0800 (PST) (envelope-from gtetlow@gnf.org) Received: from roark.gnf.org ([172.25.24.15]) by EXCHCLUSTER01.lj.gnf.org with Microsoft SMTPSVC(5.0.2195.5329); Thu, 3 Apr 2003 15:19:56 -0800 Received: from roark.gnf.org (localhost [127.0.0.1]) by roark.gnf.org (8.12.9/8.12.9) with ESMTP id h33NJuNB086107 for ; Thu, 3 Apr 2003 15:19:56 -0800 (PST) (envelope-from gtetlow@gnf.org) Received: (from gtetlow@localhost) by roark.gnf.org (8.12.9/8.12.9/Submit) id h33NJthN086106 for current@FreeBSD.org; Thu, 3 Apr 2003 15:19:55 -0800 (PST) Date: Thu, 3 Apr 2003 15:19:55 -0800 From: Gordon Tetlow To: current@FreeBSD.org Message-ID: <20030403231955.GS69100@roark.gnf.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CPn8Wy5ME997YUMW" Content-Disposition: inline User-Agent: Mutt/1.4i X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . X-OriginalArrivalTime: 03 Apr 2003 23:19:56.0306 (UTC) FILETIME=[89DF6720:01C2FA37] Subject: core dump with libthr X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2003 23:19:58 -0000 --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--