DragonFly BSD
DragonFly bugs List (threaded) for 2011-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sepherosa@xxxxxxxxx>
Date: Mon, 21 Feb 2011 10:11:33 +0800

On Sun, Feb 20, 2011 at 5:44 AM, Peter Avalos <peter@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




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]