[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#479952: libc6/s390 - __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.



On Wed, May 07, 2008 at 11:29:49AM +0200, Bastian Blank wrote:
> Package: libc6
> Version: 2.7-10
> Severity: important
> 
> On Wed, May 07, 2008 at 09:34:12AM +0200, Matthias Klose wrote:
> > the build failure on s390 is unexpected; is it possible to extract a
> > test case?
> 
> | java: pthread_mutex_lock.c:71: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
> 
> So another package failed about that (after mono and libto$bla). It
> looks like a race condition somewhere in the libpthread.
> 

Looking quickly at the code the problem is that LLL_MUTEX_LOCK (mutex)
fails to acquire the mutex. It can be a bug in atomic.h or a bug in the
futexes implementation of the kernel.

It would be nice to have an strace of the problem to see the futex
syscall before this assertion.

Also a small testcase of the problem would be really helpful to debug
it.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: