Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Oct 2004 19:13:07 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Daniel Eischen <deischen@freebsd.org>, Ivan Voras <ivoras@fer.hr>
Cc:        freebsd-threads@FreeBSD.org
Subject:   Re: threads/72353: Assertion failsin/usr/src/lib/libpthread/sys/lock.c, line 171, when compilingmonodoc
Message-ID:  <Pine.BSF.4.53.0410051908360.46049@e0-0.zab2.int.zabbadoz.net>
In-Reply-To: <200410051710.i95HATwj093785@freefall.freebsd.org>
References:  <200410051710.i95HATwj093785@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.53.0410051908360.46049>