Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2007 23:09:06 +0100
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        freebsd-threads@freebsd.org
Subject:   ports/deskutils/pinot: yet another failure in pthread_testcancel
Message-ID:  <20070306220906.GA96551@graf.pompo.net>

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

--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--



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