Re: panic when invoking recvfrom
Re: panic when invoking recvfrom
- Subject: Re: panic when invoking recvfrom
- From: Peter Kirk <email@hidden>
- Date: Thu, 26 Jul 2007 22:08:46 +0200
On Thursday 26 July 2007 20:49, Mark Rhoads wrote:
> You might try investigating your application to try to determine just
> what it is about your application that is causing the problem. Consider
> that the data itself can be a source of the problem.
Hi,
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, then hopfully I can give you kernel gurus
something to reproduce with.
(*) The current workaround, although it works, basically throws all the
concurrency I strive to achieve over board, so I hope it is not there to
stay...
Peter
--
"Eureka," he said.
"Going to have a bath then?"
-- Philosophy in action
(Terry Pratchett, Small Gods)
_______________________________________________
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