panic: assertion: so->so_port == &curthread->td_msgport in tcp_input

Sepherosa Ziehau sepherosa at gmail.com
Sun Feb 20 18:13:18 PST 2011


On Sun, Feb 20, 2011 at 5:44 AM, Peter Avalos <peter at theshell.com> wrote:
> On Sat, Feb 19, 2011 at 11:03:50PM +0800, Sepherosa Ziehau wrote:
>> > http://www.theshell.com/~pavalos/crash/ylem-crash6.tar.xz
>>
>> The crash seems to be truncated.  I tried on leaf and my own box,
>> there are 2010 bytes missing.
>>
>
> That's weird.  We'll I've re-tar'd (that's a sweet word) it, as well as
> the other crashes I got:
>
> http://www.theshell.com/~pavalos/crash/
>
> ylem-crash[6-12].tar.xz

Well, the crash6 looks strange in following way:
1) tcp_usr_listen seems to be called on a same inp twice
2) an "accepted" tcp socket is duplicated onto the wildcardhash and it
seems to be linked into connhash too.  The socket is in FIN_WAIT_1

crash6 is caused by 2), though 1) was problematic too

I will add some assertion, so the panic could happen earlier

Best Regards,
sephe

-- 
Tomorrow Will Never Die






More information about the Bugs mailing list