Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Jun 2005 14:25:11 +0200
From:      Benjamin Lutz <benlutz@datacomm.ch>
To:        Brent Casavant <b.j.casavant@ieee.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: libpthread problem (segfaults)
Message-ID:  <429DA927.1000000@datacomm.ch>
In-Reply-To: <20050531101206.I1376@chenjesu.americas.sgi.com>
References:  <429A892C.6060006@datacomm.ch> <20050531101206.I1376@chenjesu.americas.sgi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF7C36AEF102638AA544AA3E8
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hello,

I've built a new installation, and I'm no longer seeing my old problem,
but a new one. I have a small Qt based application. As soon as I try to
open any dialog (no matter whether it's a standard open file dialog or
one I wrote myself), It aborts with

Fatal error 'Recurse on a private mutex.' at line 988 in file
/usr/src/lib/libpthread/thread/thr_mutex.c (errno = 0)

The backtrace is as you describe:

> I may be hitting a manifestation of the same problem.  With a freshly
> installed AbiWord (ports tree cvsup'd approximately 1 week after
> 5.4-RELEASE was announced, portupgrade performed) on a 5.4-RELEASE system,
> it crashes whenever the "Open" dialog is opened.  The backtraces are
> next to useless, though there does seem to be a number of Pthreads
> calls in progress (pthread_mutexattr_init, pthread_testcancel, and
> pthread_timedwrlock).

Other people seem to have run into this too. I've found ports/81148
( http://www.freebsd.org/cgi/query-pr.cgi?pr=81148 ).

The PR points to a libtool problem. It says that using
USE_LIBTOOL_VER=15 instead of USE_LIBTOOL_VER=13 should solve the problem.

I'll be recompiling some things then, I'll report on whether it helps.

Benjamin

--------------enigF7C36AEF102638AA544AA3E8
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.1 (Darwin)

iD8DBQFCnaksgShs4qbRdeQRAseFAJ9oeVqY2YTjoiBXnEzL2Uoi9FYGTQCdHsHi
BpUUckhXxjYbywHIKKjUMqc=
=4Hb0
-----END PGP SIGNATURE-----

--------------enigF7C36AEF102638AA544AA3E8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?429DA927.1000000>