Probably not a kernel bug (was: Re: FreeBSD 7.0: sockets stuck in CLOSED state...)

Ali Niknam ali at transip.nl
Sun Jun 29 11:58:27 UTC 2008


Hi Guys,

> Another public follow-up: Ali has been sending me debugging information 
> privately due to the inclusion of application source code and IP 
> addresses. Tracing of the application suggests that there is an 
> application concurrency bug leading to one socket to be closed twice and 
> another socket to be left open.  The bug might be triggering in 7.x but 
> not earlier releases because of the change to libthr, which can lead to 
> more parallelism/asynchrony in the application.
> 

After more testing I can with almost absolute certainty conclude that it 
is indeed an application bug.

Reasons that it did not manifest itself earlier most probably are due to 
the much increased performance of BSD 7, making a certain race condition 
likely where it once was improbable.

I want to thank all who've helped track this issue down!

Kind Regards,

Ali


More information about the freebsd-net mailing list