btsocks_rfcomm_session_mtx / so_snd_sx LOR

Lars Engels lars.engels at 0x20.net
Sat Jun 16 16:02:37 UTC 2007


On a ~10 days old CURRENT I get this LOR:

lock order reversal: (sleepable after non-sleepable)
 1st 0xc4de5120 btsocks_rfcomm_session_mtx (btsocks_rfcomm_session_mtx)
@
/usr/src/sys/modules/netgraph/bluetooth/socket/../../../../netgraph/bluetooth/socket/ng_btsocket_rfcomm.c:995
 2nd 0xc4b60118 so_snd_sx (so_snd_sx) @
/usr/src/sys/kern/uipc_sockbuf.c:145
KDB: stack backtrace:
db_trace_self_wrapper(c07e20d4,e2502b68,c05d64aa,c07e4585,c4b60118,...)
at db_trace_self_wrapper+0x26
kdb_backtrace(c07e4585,c4b60118,c07e7d16,c07e7d16,c07e7992,...) at
kdb_backtrace+0x29
witness_checkorder(c4b60118,9,c07e7992,91,ff,...) at
witness_checkorder+0x6af
_sx_xlock(c4b60118,40,c07e7992,91,e2502c00,...) at _sx_xlock+0x77
sblock(c4b600dc,2,c05d5db2,c08d0288,c08d0288,...) at sblock+0x65
sosend_generic(c4b60000,0,0,c46b0e00,0,...) at sosend_generic+0xcb
sosend(c4b60000,0,0,c46b0e00,0,...) at sosend+0x54
ng_btsocket_rfcomm_sessions_task(0,1,c07e32ed,52,c3b3b89c,...) at
ng_btsocket_rfcomm_sessions_task+0x3c6
taskqueue_run(c3b3b880,e2502cfc,c0587575,0,0,...) at taskqueue_run+0x108
taskqueue_swi_giant_run(0,0,c07dc1d7,40b,c3b3b864,...) at
taskqueue_swi_giant_run+0x13
ithread_loop(c3ba1bc0,e2502d38,0,0,c3ba5c1c,...) at ithread_loop+0x1aa
fork_exit(c05873cb,c3ba1bc0,e2502d38) at fork_exit+0x51
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xe2502d70, ebp = 0 ---




-- 
Lars Engels
E-Mail: lars.engels at 0x20.net 	
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070616/246055be/attachment.pgp


More information about the freebsd-current mailing list