lock order reversal: devel/dbus causes a lock order reversal when it is started.

From: Scot Hetzel <swhetzel_at_gmail.com>
Date: Fri, 21 Dec 2007 00:56:04 -0600
I'm getting the following lock order reversal when the rc.d/dbus
script is started:

lock order reversal:
 1st 0xffffff000b0ae500 kqueue (kqueue) _at_ kern/kern_event.c:1397
 2nd 0xffffffff80e3cac0 sleep mtxpool (sleep mtxpool) _at_ kern/sys_generic.c:1255
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
witness_checkorder() at witness_checkorder+0x655
_mtx_lock_flags() at _mtx_lock_flags+0x75
selrecord() at selrecord+0x86
kqueue_poll() at kqueue_poll+0xa5
poll() at poll+0x343
syscall() at syscall+0x1ca
Xfast_syscall() at Xfast_syscall+0xab
--- syscall (209, FreeBSD ELF64, poll), rip = 0x800822b0c, rsp =
0x7fffffffe658, rbp = 0 ---

FreeBSD hp010.hetzel.org 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Dec
19 11:27:48 CST 2007
root_at_hp010.hetzel.org:/usr/src/8x/sys-orig/amd64/compile/DV8135NR
amd64

# ident /sys/kern/{kern_event.c,sys_generic.c}
/sys/kern/kern_event.c:
     $FreeBSD: src/sys/kern/kern_event.c,v 1.114 2007/12/16 06:21:19 jeff Exp $

/sys/kern/sys_generic.c:
     $FreeBSD: src/sys/kern/sys_generic.c,v 1.160 2007/12/16 06:21:19 jeff Exp $

Scot

Received on Fri Dec 21 2007 - 05:56:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:24 UTC