kern/136945: [lor] filedesc structure/ufs (poll)

Rene Ladan rene at FreeBSD.org
Mon Jul 20 21:50:06 UTC 2009


>Number:         136945
>Category:       kern
>Synopsis:       [lor] filedesc structure/ufs (poll)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 20 21:50:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Rene Ladan
>Release:        8.0-BETA2 amd64
>Organization:
>Environment:
FreeBSD self.rene-ladan.nl 8.0-BETA2 FreeBSD 8.0-BETA2 #0: Wed Jul 15 21:48:41 UTC 2009     root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
lock order reversal:
 1st 0xffffff0078c6b648 filedesc structure (filedesc structure) @ /usr/src/sys/kern/sys_generic.c:1211
 2nd 0xffffff0078b73620 ufs (ufs) @ /usr/src/sys/kern/vfs_vnops.c:863
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
_witness_debugger() at _witness_debugger+0x2e
witness_checkorder() at witness_checkorder+0x81e
__lockmgr_args() at __lockmgr_args+0xcf3
ffs_lock() at ffs_lock+0x8c
VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b
_vn_lock() at _vn_lock+0x47
vn_poll() at vn_poll+0x64
poll() at poll+0x1b8
syscall() at syscall+0x1af
Xfast_syscall() at Xfast_syscall+0xe1
--- syscall (209, FreeBSD ELF64, poll), rip = 0x804878e6c, rsp = 0x7fffffff7a88, rbp = 0x38 ---

>How-To-Repeat:
GENERIC kernel, only devfs and UFS2 filesystems mounted via /dev/ad* (/ , /var, /tmp, /usr)
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list