From owner-freebsd-threads@FreeBSD.ORG Tue Mar 6 22:33:01 2007 Return-Path: X-Original-To: freebsd-threads@freebsd.org Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 58EAA16A403 for ; Tue, 6 Mar 2007 22:33:01 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id 1722A13C467 for ; Tue, 6 Mar 2007 22:33:01 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from smtp7-g19.free.fr (smtp7-g19.free.fr [212.27.42.64]) by postfix2-g20.free.fr (Postfix) with ESMTP id 774C2BDEA29 for ; Tue, 6 Mar 2007 22:09:26 +0100 (CET) Received: from graf.pompo.net (graf.pompo.net [81.56.186.139]) by smtp7-g19.free.fr (Postfix) with ESMTP id 8261F1523D for ; Tue, 6 Mar 2007 23:09:12 +0100 (CET) Received: by graf.pompo.net (Postfix, from userid 1001) id AB6001142C; Tue, 6 Mar 2007 23:09:06 +0100 (CET) Date: Tue, 6 Mar 2007 23:09:06 +0100 From: Thierry Thomas To: freebsd-threads@freebsd.org Message-ID: <20070306220906.GA96551@graf.pompo.net> Mail-Followup-To: freebsd-threads@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: User-Agent: Mutt/1.4.2.2i X-Operating-System: FreeBSD 6.2-STABLE i386 Organization: Kabbale Eros X-PGP: 0xC71405A2 Subject: ports/deskutils/pinot: yet another failure in pthread_testcancel X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 22:33:01 -0000 --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I have just upgraded the port deskutils/pinot to the latest 0.70, and I have been testing the ten previous betas with the author: when the default /lib/libpthread.so.2 is used, both the GUI and the daemon core dump. A backtrace always reports things like: #5 0x28966e44 in pthread_mutexattr_init () from /lib/libpthread.so.2 #6 0x00000001 in ?? () #7 0x0813240c in ?? () #8 0xbfbfdef8 in ?? () #9 0x28964e91 in pthread_mutex_lock () from /lib/libpthread.so.2 Previous frame inner to this frame (corrupt stack?) #0 0x2896f1eb in pthread_testcancel () from /lib/libpthread.so.2 When /etc/libmap.conf is set to replace libpthread by libc_r, everything runs OK. How to reproduce the problem: - cvsup your ports tree; - cd /usr/ports/deskutils/pinot - make [or make -DWITH_DEBUG] - sudo make install [-DWITH_DEBUG] - rm -rf ~/.pinot - pinot& - when a window opens, choose your $HOME and valid =3D> this launches pinot-dbus-daemon, which should try to index your files - with libpthread, you'll find the core file in ~/.pinot I'm not a threads guru, and I cannot say if this is a bug in libpthread or some bad calls in pinot; any expert to check this? Thanks. --=20 Th. Thomas. --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF7eaCc95pjMcUBaIRAh5SAKDq89j2hfoHF5kh4jBM7MiQwZRlvQCg55NU XgsaQFSuFbCvi9AVGOYcI1c= =/zVq -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24--