Re: [PANIC] 7.0-CURRENT #0: Wed Mar 14 ...

From: Florian C. Smeets <flo_at_kasimir.com>
Date: Thu, 29 Mar 2007 22:10:55 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Watson wrote:
> 
> On Thu, 29 Mar 2007, Wilkinson, Alex wrote:
> 
>> FreeBSD 7.0-CURRENT #0: Wed Mar 14
>> I have no clue what casued this.
>>
>>    db> tr
>>    Tracing pid 11068 tid 100224 td 0xc55dfa20
>>    kdb_enter(c09f8c53,1,c0a00d26,e8145af0,c55dfa20,...) at kdb_enter+0x32
>>    panic(c0a00d26,c4f2da00,0,0,c5306bfc,...) at panic+0x191
>>    sbflush_internal(c09f8814,4e4,c5306c68,c5306bac,c5306bfc,...) at
>>    sbflush_internal
>>    sbflush_internal(c4ae8980,c5306cb8,0,ffffffff,7fffffff,...) at
>> sbflush_internal+
>>    0x2d
>>    sbrelease_internal(c5306bfc,c5306bac,c0a00e0d,25f,c5306c20,...) at
>> sbrelease_int
>>    ernal+0x15
>>    sofree(c5306bac,1,c0a00e0d,2bf,879) at sofree+0x19c
>>    soclose(c5306bac,d2,0,c55c05a0,c55c05a0,...) at soclose+0x247
>>    soo_close(c55c05a0,c55dfa20,c09f5288,879,c09f5288,...) at
>> soo_close+0x37
>>   
>> fdrop_locked(c55c05a0,c55dfa20,2,c09fa79f,91,c55dfa20,e8145c08,246,c0b49cc0,e814
>>
>>   
>> 5c24,c0759807,c0b03834,0,c5585d2c,3f2,c09f5288,e8145c4c,c071e46e,c5585d2c,1,c09f
>>
>>    7d95,d2,0) at fdrop_locked+0xe4
>>    closef(c55c05a0,c55dfa20,c09f5288,3f2,c55dfa20,...) at closef+0x1f4
>>    kern_close(c55dfa20,c,4,c0a0f86b,1,...) at kern_close+0x188
>>    syscall(e8145d38) at syscall+0x155
>>    Xint0x80_syscall() at Xint0x80_syscall+0x20
>>    --- syscall (6, FreeBSD ELF32, close), eip = 0x28298bbb, esp =
>> 0xbfbfebec, ebp =
>>     0xbfbfebf8 ---
>>    db>
> 
> There have a been a few such issues floating around, in which races
> between protocol teardown of a socket and socket layer teardown result
> in a panic during simultaneous access to the socket buffer.  Udate to at
> least 20070323, as glebius committed a fix for a class of these problems
> as uipc_socket.c:1.295 on 20070322.  If it recurs, please let us know.
> 

Hi Robert,

i can still reproduce this quite easily with latest current.

panic: sbdrop
KDB: enter: panic
[thread pid 1116 tid 100075 ]
Stopped at      kdb_enter+0x2b: nop
db> where
Tracing pid 1116 tid 100075 td 0xc122c910
kdb_enter(c06b33e2) at kdb_enter+0x2b
panic(c06b76f3,0,c13aa464,c137bcb0,c1413540,...) at panic+0xbb
sbdrop_internal(c13aa464,8260) at sbdrop_internal+0x40
sbflush_internal(c13aa464,c807cb54,c05559ee,c13aa464,c13aa414,...) at
sbflush_internal+0x3e
sbflush_locked(c13aa464) at sbflush_locked+0xb
sbflush(c13aa464,c13aa414,c1413540,0,c13aa414,...) at sbflush+0x3a
tcp_disconnect(c137bcb0) at tcp_disconnect+0x4b
tcp_usr_disconnect(c13aa414,c807cbac,c0556aad,c13aa414,0,...) at
tcp_usr_disconnect+0x88
sodisconnect(c13aa414,0,c135f510,0,0,...) at sodisconnect+0x26
soclose(c13aa414) at soclose+0x31
soo_close(c135f510,c122c910) at soo_close+0x5f
fdrop_locked(c135f510,c122c910,c1230700,c807cc58,c04f2727,...) at
fdrop_locked+0xc8
fdrop(c135f510,c122c910,895e004f,c8076047,c05c4cd9,...) at fdrop+0x3d
closef(c135f510,c122c910,0,c122eb40,c122c910,...) at closef+0x407
kern_close(c122c910,a0,c807cd2c,c06866c6,c122c910,...) at kern_close+0x205
close(c122c910,c807cd00) at close+0x10
syscall(c807cd38) at syscall+0x29e
Xint0x80_syscall() at Xint0x80_syscall+0x20
- --- syscall (6, FreeBSD ELF32, close), eip = 0x286bd907, esp =
0xbfbfec08, ebp = 0xbfbfec34 ---
db>

FreeBSD zoidberg.lan 7.0-CURRENT FreeBSD 7.0-CURRENT #6: Thu Mar 29
21:12:57 CEST 2007     root_at_zoidberg.lan:/usr/obj/usr/src/sys/SOEKRIS7  i386

Alex did you by any chance run mldonkey ? As i can only trigger this
when running mldonkey...

Regards,
Florian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFGDB1PA+1tjUZ1YScRAq1iAKCdaLF6vBXvX7B00BKbEYyeKE0S7gCdHKkg
HspPNJZYOxYJDeOmtyBdFEU=
=Gdtd
-----END PGP SIGNATURE-----
Received on Thu Mar 29 2007 - 18:11:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC