Project

General

Profile

Actions

Bug #376

closed

Lock Order Reversal on startup

Added by Arthur Hartwig about 14 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Operating System
Target version:
-
Start date:
02/22/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:

Description

pfSense build: 2.0-BETA1 built on Sun Feb 21 05:56:33 EST 2010 FreeBSD 8.0-STABLE

lock order reversal:
 1st 0xc124788c pf task mtx (pf task mtx) @ /usr/pfSensesrc/src/sys/contrib/pf/net/pf_ioctl.c:1397
 2nd 0xc13e97c4 ifnet_rw (ifnet_rw) @ /usr/pfSensesrc/src/sys/net/if.c:2029
KDB: stack backtrace:
X_db_sym_numargs(c0e1bde9,d512d9c8,c09c7255,c09b7e6b,c0e1ed58,...) at X_db_sym_numargs+0x146
kdb_backtrace(c09b7e6b,c0e1ed58,c3563708,c35607e8,d512da24,...) at kdb_backtrace+0x29
witness_display_spinlock(c0e1ed58,c13e97c4,c0e281a3,c35607e8,c0e28182,...) at witness_display_spinlock+0x75
witness_checkorder(c13e97c4,1,c0e28182,7ed,0,...) at witness_checkorder+0x839
_rw_rlock(c13e97c4,c0e28182,7ed,c38e87f0,3,...) at _rw_rlock+0x9c
ifunit(c38e87f0,0,c0db2e65,575,3,...) at ifunit+0x27
pfioctl(c37bee00,c0104414,c38e87f0,3,c3966000,...) at pfioctl+0x26aa
dev2udev(c391fe38,c0104414,c38e87f0,c3912d00,c3966000,...) at dev2udev+0x898
kern_ioctl(c3966000,8,c0104414,c38e87f0,19c0b20,...) at kern_ioctl+0x1fd
ioctl(c3966000,d512dcf8,c,c0e34117,c1205b48,...) at ioctl+0x134
syscall(d512dd38) at syscall+0x2a3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x281d62f3, esp = 0xbfbfdd1c, ebp = 0xbfbfdd58 ---
Actions #1

Updated by Arthur Hartwig about 14 years ago

I'd like to change the title to include the names of the identified locks (pf task mtx AND ifnet_rw) but can't see a way to do it.

Actions #2

Updated by Ermal Luçi about 14 years ago

  • Status changed from New to Rejected

This is a FreeBSD problem.
Though i can say that this LOR is innocuous. It is related to interface group events because of WITNESS in the kernel.

Actions #3

Updated by Chris Buechler almost 9 years ago

  • Target version deleted (2.0)
Actions

Also available in: Atom PDF