Re: panic when invoking recvfrom
Re: panic when invoking recvfrom
- Subject: Re: panic when invoking recvfrom
- From: RĂ©gis Duchesne <email@hidden>
- Date: Thu, 26 Jul 2007 14:12:21 -0700
Peter Kirk wrote:
> after some trying around I have found a workaround(*) in my programme. The
> workaround is to disallow multiple threads from running "select(),
> recvfrom()" cycles concurrently, so the problem seems to be caused by the
> interaction of multiple threads on select and recvfrom. I will try and put
> this knowledge into a test-case,
We have hit this issue in VMware Fusion since day one, but because it
only affected our internal builds, we never took the time to track the
issue down.
So thanks a lot for finding it was a select/recvfrom race. It is
probably a bit more internal than that, because we hit it with the
poll/read combination instead.
Let me know if you don't have time to write a test case, I'll be happy
to do it for you.
We run our internal builds only on Tiger, not Leopard. Do you know if
the bug hits on Leopard as well? It might very well have been fixed: I'm
told that the poll internals have be reworked quite a bit in Leopard.
Thanks,
--
hpreg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden