Subject: Re: libpthread, core dumps
To: Andrew Doran <ad@netbsd.org>
From: Greg Oster <oster@cs.usask.ca>
List: current-users
Date: 09/09/2007 13:15:00
Andrew Doran writes:
> Hi,
> 
> There was a window of about 24 hours where a bug existed in libpthread that
> caused some applications to dump core. I saw it with beep-media-player. It's
> fixed now, so if you have been running into it please update libpthread.

with rev 1.2 of pthread_mutex2.c I'm seeing 'kicker' crash...

assertion "mp->type == PTHREAD_MUTEX_NORMAL" failed: file "pthread_mutex2.c", line 200, function "pthread__mutex_lock_slow"
kicker: crashHandler called
KCrash: Application 'kicker' crashing...
assertion "mp->type == PTHREAD_MUTEX_NORMAL" failed: file "pthread_mutex2.c", line 200, function "pthread__mutex_lock_slow"

from the KDE backtrace thing, I see (in part):
[KCrash handler]
#6  0xba676e67 in kill () from /usr/lib/libc.so.12
#7  0xba92f458 in pthread__assertfunc () from /usr/lib/libpthread.so.0
#8  0xba92d206 in pthread_mutex_trylock () from /usr/lib/libpthread.so.0
#9  0xba92d29c in pthread_mutex_lock () from /usr/lib/libpthread.so.0
#10 0xbaf6c923 in QRealMutexPrivate::lock ()
   from /usr/pkg/qt3/lib/libqt-mt.so.3
#11 0xbaf6c6da in QMutex::lock () from /usr/pkg/qt3/lib/libqt-mt.so.3
#12 0xbac7df47 in QEventLoop::processEvents ()

Ideas? :)  ('kpanel' dies on startup now, which is somewhat less 
useful than before :( )

Later...

Greg Oster