Subject: Re: Pthread diag assertion failures?
To: Havard Eidnes <he@uninett.no>
From: Thomas E. Spanjaard <tgen@netphreax.net>
List: tech-kern
Date: 01/25/2006 00:04:48
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig021350494E6F7C055A8B6881
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Havard Eidnes wrote:
> after upgrading my laptop from 3.99.7 to 3.99.14 and then subsequently
> to 3.99.15, I've started seeing pthread diag assertions triggered by
> e.g. firefox-gtk1.  It's the same firefox-gtk1 binary which did not
> trigger those assertions earlier.  So, in order to avoid unexpected
> "all windows and tabs in firefox suddenly disappears" events, I've
> started running it with PTHREAD_DIAGASSERT set to "A".
> java: Error detected by libpthread: Invalid mutex.
[...]
> Detected by file "/usr/src/lib/libpthread/pthread_mutex.c", line 334, function "pthread_mutex_unlock".
> See pthread(3) for information.

I have been encountering the same issues since the end of november 
(3.99.9, still running it), with firefox 1.0.7 (gtk2) and thunderbird 
1.0.2 (gtk2). I have been running both since then with 
PTHREAD_DIAGASSERT=AE, but since never encountered such a problem again. 
Without it, I can't reproduce it either, it just happens sometimes.

Cheers,
-- 
         Thomas E. Spanjaard
         tgen@netphreax.net

--------------enig021350494E6F7C055A8B6881
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFD1sCj6xCMwBJ+1+sRAyhQAJ9AbYysX+DBV+Swfj1hYy37uwZ2tgCfRd0p
iNyhzvnZpSyJgBBMsl6llG8=
=hKB4
-----END PGP SIGNATURE-----

--------------enig021350494E6F7C055A8B6881--