Re: Crash with FD_SET when there are more than 1024 open files
Re: Crash with FD_SET when there are more than 1024 open files
- Subject: Re: Crash with FD_SET when there are more than 1024 open files
- From: Terry Lambert <email@hidden>
- Date: Fri, 16 Apr 2010 16:46:07 -0700
On Apr 16, 2010, at 12:47 AM, Stefan Haller wrote:
Terry Lambert <email@hidden> wrote:
All that said, there is no existing Apple software which uses the
DNSServiceProcessResult() function,
Huh? The crash I described happens with the following backtrace:
It's not *explicitly* called, I should say, and most code trys to
avoid that particular call graph.
In general, you should separate your view from your controller (i.e.
have a UI separate from the process being controlled) which would
(mostly) avoid the issue.
I've commented in the bug on the fix (I did that before I posted it to
you). I would encourage you to encourage your customers to get away
from 10.5 already, or check the utsname->version from uname(3) and
limit the number of fd's you use, as a workaround.
-- Terry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden