LOR: kern_descrip.c:2277,2278

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Mon, 17 Jan 2005 22:07:21 +0000 (UTC)
Hi,

I have added the following as LOR #055 to "the LOR page"[1].

lock order reversal
 1st 0xffffffff80c3a9e8 sleep mtxpool (sleep mtxpool) _at_ sys/kern/kern_descrip.c:2277
 2nd 0xffffff00222d8a48 filedesc structure (filedesc structure) _at_ sys/kern/kern_descrip.c:2278
KDB: stack backtrace:
witness_checkorder() at witness_checkorder+0x5f1
_mtx_lock_flags() at _mtx_lock_flags+0x4a
dupfdopen() at dupfdopen+0x320
kern_open() at kern_open+0x5de
syscall() at syscall+0x4ab
Xfast_syscall() at Xfast_syscall+0xa8
--- syscall (5, FreeBSD ELF64, open), rip = 0x80077e7d0, rsp = 0x7fffffffe6f8, rbp = 0x7fffffffec70 ---

I can easily reproduce it every boot. It seems to be triggered by
Capi4BSD[2] framework which I incorporated in my private tree.

Can someone please comment on this ?



[1] http://sources.zabbadoz.net/freebsd/lor.html#055
[2] http://lists.freebsd.org/pipermail/freebsd-isdn/2004-December/000308.html

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
Received on Mon Jan 17 2005 - 21:07:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:26 UTC