Re: CFRunLookFindMode crash
Re: CFRunLookFindMode crash
- Subject: Re: CFRunLookFindMode crash
- From: "R. Tyler Ballance" <email@hidden>
- Date: Tue, 14 Nov 2006 07:56:52 -0800
On Nov 13, 2006, at 10:57 PM, j o a r wrote:
On 14 nov 2006, at 05.43, Martin Redington wrote:
I've pared down my multithreading code even further. I'm not sure
whether I have one problem or two, but something that I've managed
to isolate is a crash in CFRunLoopFindMode
I can get this both in my application, with only a handful of
threads, and also in a test program, which creates blocks of 200
threads at a time, using my multithreading utilities (which do
things like NSAutoRelease pool handling).
Perhaps you could post the source to your sample application
somewhere? Include instructions on how to reproduce the crash.
Given the report from R. Tyler Ballance (that this crash also
happens in applications from Apple), this could of course very well
be a bug in NS/CFRunLoop.
Woohoo! I'm being referenced on cocoadev, I'm halfway to famous!
Anyways, the CFRunLookFindMode/CFRunLoop crash that I came across is
somewhat in limbo right now.
From the best I, and an Apple QA Engineer, could diagnose, something
was fiddling with the Core Foundation shared library space. While I
still have a sneaking suspicion that there is a bug lurking around in
there, the main problem that was causing my issues was that Chax[1]
was doing something nasty that it shouldn't have been doing, and thus
crashing Core Foundation, and taking some of Apple's applications
that were intimately tied to CF at the time along with it (in my blog
posting, Preview and Mail.app)
While the bug in radar may or may not be closed right now, I still
_think_ there is an issue in CFRunLoop, so if you could post sample
code to where we could isolate the bug I would be more than happy to
pitch in and help break it :)
Of course, you could just give up on CFRunLoop and put all your code
into a big ol' while (true) {}.... just a thought :-P
Cheers
[1] http://www.ksuther.com/chax/
R. Tyler Ballance: Lead Mac Developer at bleep. software
contact: email@hidden | jabber: email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden