threads/72353: Assertion failsin/usr/src/lib/libpthread/sys/lock.c, line 171, when compilingmonodoc

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Tue Oct 5 12:15:11 PDT 2004


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


More information about the freebsd-threads mailing list