Subject: Re: libpthread, core dumps
To: Greg Oster <oster@cs.usask.ca>
From: Andrew Doran <ad@netbsd.org>
List: current-users
Date: 09/09/2007 21:14:06
On Sun, Sep 09, 2007 at 01:15:00PM -0600, Greg Oster wrote:

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

Should be fixed, can you try rev 1.3?
 
> Ideas? :)  ('kpanel' dies on startup now, which is somewhat less 
> useful than before :( )

Presumably it's the same bug. I'll try KDE shortly.

Thanks,
Andrew