From owner-freebsd-threads@FreeBSD.ORG Tue Oct 5 19:15:10 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E311316A4D1; Tue, 5 Oct 2004 19:15:10 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id E813543D41; Tue, 5 Oct 2004 19:15:09 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id D287A1FFDD7; Tue, 5 Oct 2004 21:15:07 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id C66161FF9A8; Tue, 5 Oct 2004 21:15:05 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 29742156ED; Tue, 5 Oct 2004 19:13:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 1E25915606; Tue, 5 Oct 2004 19:13:07 +0000 (UTC) Date: Tue, 5 Oct 2004 19:13:07 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Daniel Eischen , Ivan Voras In-Reply-To: <200410051710.i95HATwj093785@freefall.freebsd.org> Message-ID: References: <200410051710.i95HATwj093785@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: freebsd-threads@FreeBSD.org Subject: Re: threads/72353: Assertion failsin/usr/src/lib/libpthread/sys/lock.c, line 171, when compilingmonodoc X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2004 19:15:11 -0000 On Tue, 5 Oct 2004, Daniel Eischen wrote: threads@ only, not gants. > On Tue, 5 Oct 2004, Ivan Voras wrote: > > Compiling monodoc (Mono documentation browsers) fails with error: > > Assertion failed: (lu->lu_myreq->lr_owner == lu), function _lock_acquire, file /usr/src/lib/libpthread/sys/lock.c, line 171. > > Abort trap (core dumped) > > *** Error code 134 this is about the same place I have seen my crashes with the invalid kse_mailbox in the bt: #0 _lock_acquire (lck=0x38, lu=0x80c6234, prio=56) at /u1/src/src/RELENG_5/compile-20041004-1746/lib/libpthread/sys/lock.c:168 168 if ((lck->l_type & LCK_PRIORITY) != 0) { (gdb) bt full #0 _lock_acquire (lck=0x38, lu=0x80c6234, prio=56) at /u1/src/src/RELENG_5/compile-20041004-1746/lib/libpthread/sys/lock.c:168 i = 135029300 lval = 15 __func__ = "_lock_acquire" #1 0x280c1d8b in mutex_handoff (curthread=0x80da000, mutex=0x80c4980) at /u1/src/src/RELENG_5/compile-20041004-1746/lib/libpthread/thread/thr_mutex.c:1586 kmbx = (struct kse_mailbox *) 0x1 pthread = (struct pthread *) 0x80c3be0 #2 0x280c0cb2 in mutex_unlock_common (m=0x8082c8c, add_reference=0) at /u1/src/src/RELENG_5/compile-20041004-1746/lib/libpthread/thread/thr_mutex.c:1026 curthread = (struct pthread *) 0x80da000 kmbx = (struct kse_mailbox *) 0x0 ret = 0 #3 0x280c0738 in _pthread_mutex_unlock (m=0x8082c8c) at /u1/src/src/RELENG_5/compile-20041004-1746/lib/libpthread/thread/thr_mutex.c:879 No locals. .... -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT