LOR so_snd_sx @ uipc_sockbuf.c and filedesc structure @ uipc_usrreq.c

Yuri Pankov yuri.pankov at gmail.com
Wed Jan 25 16:30:25 UTC 2012


Hi,

Getting this LOR every time I login via ssh after reboot, and it doesn't
seem to be reported previously. Running 10.0-CURRENT r230537.

lock order reversal:
 1st 0xfffffe0160615490 so_snd_sx (so_snd_sx) @ /usr/src/sys/kern/uipc_sockbuf.c:148
 2nd 0xfffffe0029ef1048 filedesc structure (filedesc structure) @ /usr/src/sys/kern/uipc_usrreq.c:1872
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b
kdb_backtrace() at kdb_backtrace+0x39
witness_checkorder() at witness_checkorder+0x715
_sx_slock() at _sx_slock+0x57
uipc_send() at uipc_send+0x1fe
sosend_generic() at sosend_generic+0x31a
kern_sendit() at kern_sendit+0x1bb
sendit() at sendit+0xf0
sys_sendmsg() at sys_sendmsg+0x61
amd64_syscall() at amd64_syscall+0x221
Xfast_syscall() at Xfast_syscall+0xfb
--- syscall (28, FreeBSD ELF64, sys_sendmsg), rip = 0x8024dabfc, rsp = 0x7fffffffcb08, rbp = 0x7fffffffcbb0 ---


Yuri


More information about the freebsd-current mailing list