LOR filedesc structure and Giant

From: Johan Karlsson <johan_at_freebsd.org>
Date: Mon, 7 Jul 2003 22:45:10 +0200
Hi

I just got the following LOR with a kernel and world from today

====
lock order reversal
 1st 0xc49ce134 filedesc structure (filedesc structure) _at_ /home/k/FreeBSD-src/5-current/src/sys/kern/sys_generic.c:902
 2nd 0xc03149e0 Giant (Giant) _at_ /home/k/FreeBSD-src/5-current/src/sys/fs/specfs/spec_vnops.c:372
Stack backtrace:
backtrace(c02d42e0,c03149e0,c02d0996,c02d0996,c02cbf6c) at backtrace+0x17

witness_lock(c03149e0,8,c02cbf6c,174,c01881e0) at witness_lock+0x697
_mtx_lock_flags(c03149e0,0,c02cbf6c,174,c02d48f5) at _mtx_lock_flags+0xb1
spec_poll(e0f05af8,e0f05b18,c01f05fc,e0f05af8,c030b3e0) at spec_poll+0x104
spec_vnoperate(e0f05af8,c030b3e0,c413c6d8,40,c4951300) at spec_vnoperate+0x18
vn_poll(c4684440,40,c4951300,c4663be0,c4951300) at vn_poll+0x3c
selscan(c4663be0,e0f05b98,e0f05b88,7,4) at selscan+0x12e
kern_select(c4663be0,7,806b140,806b180,0) at kern_select+0x37f
select(c4663be0,e0f05d10,c02e692a,3fd,5) at select+0x66
syscall(2f,2f,2f,0,3) at syscall+0x26e
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (93), eip = 0x282bdbc3, esp = 0xbfbff3cc, ebp = 0xbfbff478 ---
====

Let me know if I can do anything to help with tracking this.
No local modifications to the source.

/Johan K


-- 
Johan Karlsson		mailto:johan_at_FreeBSD.org
Received on Mon Jul 07 2003 - 11:45:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:14 UTC