From owner-freebsd-stable@FreeBSD.ORG Wed Feb 2 11:20:50 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA68016A4CE for ; Wed, 2 Feb 2005 11:20:50 +0000 (GMT) Received: from 82-168-140-74-bbxl.xdsl.tiscali.nl (82-168-140-74-bbxl.xdsl.tiscali.nl [82.168.140.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id D213443D31 for ; Wed, 2 Feb 2005 11:20:49 +0000 (GMT) (envelope-from rene@82-168-140-74-bbxl.xdsl.tiscali.nl) Received: from 82-168-140-74-bbxl.xdsl.tiscali.nl (localhost [127.0.0.1]) j12BNFEg076076 for ; Wed, 2 Feb 2005 12:23:16 +0100 (CET) (envelope-from rene@82-168-140-74-bbxl.xdsl.tiscali.nl) Received: (from rene@localhost)j12BNDBv076067 for freebsd-stable@freebsd.org; Wed, 2 Feb 2005 12:23:14 +0100 (CET) (envelope-from rene) Date: Wed, 2 Feb 2005 12:23:12 +0100 From: Rene Ladan To: freebsd-stable@freebsd.org Message-ID: <20050202112312.GA75355@82-168-140-74-bbxl.xdsl.tiscali.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: libpthread lock assertion failed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2005 11:20:50 -0000 --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, when trying to build gtksourceview-sharp-0.5 by hand (it isn't in the ports yet), I got the following lock assertion failure: Assertion failed: (lu->lu_myreq->lr_owner =3D=3D lu), function _lock_acquir= e, file /usr/src/lib/libpthread/sys/lock.c, line 171. [snip file] * * $FreeBSD: src/lib/libpthread/sys/lock.c,v 1.8 2003/11/04 20:01:38 deisch= en Exp $ */ [snip file] /* * Acquire a lock waiting (spin or sleep) for it to become available. */ void _lock_acquire(struct lock *lck, struct lockuser *lu, int prio) { int i; int lval; /** * XXX - We probably want to remove these checks to optimize * performance. It is also a bug if any one of the=20 * checks fail, so it's probably better to just let it * SEGV and fix it. */ #if 0 if (lck =3D=3D NULL || lu =3D=3D NULL || lck->l_head =3D=3D NULL) return; #endif if ((lck->l_type & LCK_PRIORITY) !=3D 0) { LCK_ASSERT(lu->lu_myreq->lr_locked =3D=3D 1); LCK_ASSERT(lu->lu_myreq->lr_watcher =3D=3D NULL); LCK_ASSERT(lu->lu_myreq->lr_owner =3D=3D lu); <-- this one LCK_ASSERT(lu->lu_watchreq =3D=3D NULL); lu->lu_priority =3D prio; } This was after [configure/gmake blah] /usr/local/bin/mcs --unsafe --target library /pkg:gtk-sharp /pkg:gnome-shar= p \ generated/*.cs ./GtkSourceView.cs ./AssemblyInfo.cs -o gtksourceview-sharp.= dll Apart from the failed compilation, there seems to be no further harm. Environment: /var/db/pkg drwxr-xr-x 2 root wheel 512 Feb 1 19:50 gecko-sharp-0.6_2 drwxr-xr-x 2 root wheel 512 Feb 1 19:51 gtk-sharp-1.0.4_2 drwxr-xr-x 2 root wheel 512 Feb 2 02:51 mono-1.0.5_1 drwxr-xr-x 2 root wheel 512 Feb 1 19:51 monodoc-1.0.5_1 drwxr-xr-x 2 root wheel 512 Feb 1 20:58 gtk-1.2.10_12 drwxr-xr-x 2 root wheel 512 Feb 1 22:01 gtk-2.4.14_2 drwxr-xr-x 2 root wheel 512 Feb 1 19:51 gtksourceview-1.1.91 with a cleanly installed 5.3BETA7 upgraded to FreeBSD 82-168-140-74-bbxl.xdsl.tiscali.nl 5.3-STABLE FreeBSD 5.3-STABLE #8: Mon Jan 31 01:58:50 CET 2005 root@host:/usr/obj/usr/src/sys/RENE i386 Just for your information. Regards, Rene --=20 "It won't fit on the line." -- me, 2001 --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCALggvz70qa4zXcwRAi1AAKCPPq8PV8pB2BqoyxxurTGMgUE3KQCeJvT6 TO/d+X2a4LB1q85yzm3WefE= =KH2i -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx--