ports/deskutils/pinot: yet another failure in pthread_testcancel

Thierry Thomas thierry at FreeBSD.org
Tue Mar 6 22:33:01 UTC 2007


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
  => 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.
-- 
Th. Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-threads/attachments/20070306/b736565c/attachment.pgp


More information about the freebsd-threads mailing list