Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Dec 2002 19:18:03 -0800
From:      Lars Eggert <larse@ISI.EDU>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        current@FreeBSD.ORG
Subject:   Re: LOR: filedesc structure -> pipe mutex
Message-ID:  <3DF1686B.6040503@isi.edu>
In-Reply-To: <20021207022253.GA69717@rot13.obsecurity.org>
References:  <3DF12681.8020008@isi.edu> <20021207022253.GA69717@rot13.obsecurity.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 12/6/2002 6:22 PM, Kris Kennaway wrote:
> On Fri, Dec 06, 2002 at 02:36:49PM -0800, Lars Eggert wrote:
> 
>>On today's -current:
>>
>>lock order reversal
>> 1st 0xc6948234 filedesc structure (filedesc structure) @ 
>>/usr/src/sys/kern/sys_generic.c:901
>> 2nd 0xc691f380 pipe mutex (pipe mutex) @ /usr/src/sys/kern/sys_pipe.c:1239
>>
>>Debugger("witness_lock")
>>Stopped at      Debugger+0x5a:  xchgl   %ebx,in_Debugger.0
>>
>>db> trace
>>
>>Debugger(c0320e4d,c691f380,c0341c32,c0341c32,c0342671) at Debugger+0x5a
>>witness_lock(c691f380,8,c0342671,4d7,c01f3b4a) at witness_lock+0x142
>>_mtx_lock_flags(c691f380,0,c0342671,4d7,c65c76cc) at _mtx_lock_flags+0x63
>>pipe_poll(c65c76cc,40,c21af180,c65d3460,c21af180) at pipe_poll+0x3d
>>selscan(c65d3460,eb36ab90,eb36ab80,14,4) at selscan+0xdf
>>kern_select(c65d3460,14,804c940,0,0) at kern_select+0x41f
>>select(c65d3460,eb36ad10,c035adb4,407,c65d27c8) at select+0x42
>>syscall(2f,2f,2f,804c9c0,804c8a0) at syscall+0x3c6
>>Xint0x80_syscall() at Xint0x80_syscall+0x1d
>>--- syscall (93, FreeBSD ELF32, select), eip = 0x280b3853, esp = 
>>0xbfbff90c, ebp = 0xbfbffd60 ---
> 
> 
> I'm getting this too:
> 

Have you gotten this before today? I haven't, and I'm wondering if I see 
it because I'm running with jhb@'s witness patch for the other LOR. Does 
your kernel have that patch, too?

(Excuse me if that doesn't make any sense, just wondering about the 
timing...)

Lars
-- 
Lars Eggert <larse@isi.edu>           USC Information Sciences Institute

[-- Attachment #2 --]
0	*H
010	+0	*H
	080fErtcvE.0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
000830000000Z
040827235959Z010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.3000
	*H
032c	%E>nx'gڈD)c5*mp<ܮto034qmOe
KaU5u'rװ|CBPQ<9TIf-	kiN0L0)U"0 010UPrivateLabel1-2970U00U0
	*H
1KG]qSl]y=&b""I'{9$
*8PUl
LGlX1B	li+@]jy.%݊
Z<D&iHΥbb090%A0
	*H
010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
020824185339Z
030824185339Z0T10
UEggert1
0U*Lars10ULars Eggert10	*H
	
larse@isi.edu0"0
	*H
0
6Fxΰ7aED&0+Dj)ֽXCUcnleijmz~S0JjWV~	1^({IݛLjӖ
ao:bP}WLVܱ욗cDɖ_Kv.A(W49;Z8-uXE
6b
@_0%#d`Rto5 L0R`w@7
r	Hcc	U3%7N_oV0T0*+e!000L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U00
	*H
]Ȕ,fK<cjRZeLan@Z6,=
fK?yO#8+	Ni*LSfpQg<(aӒ$kTx_AL1>ގ|S090%A0
	*H
010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
020824185339Z
030824185339Z0T10
UEggert1
0U*Lars10ULars Eggert10	*H
	
larse@isi.edu0"0
	*H
0
6Fxΰ7aED&0+Dj)ֽXCUcnleijmz~S0JjWV~	1^({IݛLjӖ
ao:bP}WLVܱ욗cDɖ_Kv.A(W49;Z8-uXE
6b
@_0%#d`Rto5 L0R`w@7
r	Hcc	U3%7N_oV0T0*+e!000L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U00
	*H
]Ȕ,fK<cjRZeLan@Z6,=
fK?yO#8+	Ni*LSfpQg<(aӒ$kTx_AL1>ގ|S100010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30%A0	+0	*H
	1	*H
0	*H
	1
021207031803Z0#	*H
	1 seiQK
ѼK0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30%A0*H
	1010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30%A0
	*H
| ,?3-R1j?udIE8Ry^\c;:ٙ{S[XÀ*
]ˊ{+u]pT:vێɣFb7ܬU¢}kt5YŏGԭ+p4is`Sgw6aJwIސb-2LjwUs-
?rnNђrۀ<*;eJ@wJM:
f?..p]/(%>::I<3%%+?
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DF1686B.6040503>