Re: CFRunLoopStop exception

2010-04-09 Thread Greg Parker
On Apr 8, 2010, at 10:40 PM, vincent habchi wrote: void CFRunLoopWakeUp(CFRunLoopRef rl) { CHECK_FOR_FORK(); #if DEPLOYMENT_TARGET_MACOSX || DEPLOYMENT_TARGET_EMBEDDED kern_return_t ret; /* We unconditionally try to send the message, since we don't want * to lose a wakeup, but

Re: CFRunLoopStop exception

2010-04-09 Thread vincent habchi
Le 9 avr. 2010 à 08:08, Greg Parker a écrit : In this circumstance, mach_msg() will block if the queue is full, and either succeed later or time out. Neither of those paths should end up at HALT. (mach_msg() may do other things in other circumstances.) Presumably mach_msg() returned

Re: CFRunLoopStop exception

2010-04-09 Thread Steve Sisak
At 10:03 PM +0200 4/8/10, vincent habchi wrote: I was running quite an intensive test on creating/freeing threads running RunLoops, and I got a rather unexpected crash while executing CFRunLoopStop (): At 10:07 PM +0200 4/8/10, vincent habchi wrote: Well, I forgot to mention that each thread

Re: CFRunLoopStop exception

2010-04-09 Thread vincent habchi
Steve, Pulling these out, it may be time to look at WAYRTTD. Creating/destroying lots of threads to render tiles seems massively inefficient for lots of reasons and Mac OS X has much better mechanisms for this. Depending on what minimum OS requirements you might get much better results

CFRunLoopStop exception

2010-04-08 Thread vincent habchi
Hi, I was running quite an intensive test on creating/freeing threads running RunLoops, and I got a rather unexpected crash while executing CFRunLoopStop (): Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0002, 0x Crashed Thread: 0 Dispatch queue

Re: CFRunLoopStop exception

2010-04-08 Thread vincent habchi
Well, I forgot to mention that each thread is responsible for the drawing of a CATileLayer, if that matters. Vincent ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: CFRunLoopStop exception

2010-04-08 Thread Jesper Storm Bache
test on creating/freeing threads running RunLoops, and I got a rather unexpected crash while executing CFRunLoopStop (): Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0002, 0x Crashed Thread: 0 Dispatch queue: com.apple.main-thread Thread 0 Crashed

Re: CFRunLoopStop exception

2010-04-08 Thread Greg Parker
On Apr 8, 2010, at 1:03 PM, vincent habchi wrote: I was running quite an intensive test on creating/freeing threads running RunLoops, and I got a rather unexpected crash while executing CFRunLoopStop (): Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0002

Re: CFRunLoopStop exception

2010-04-08 Thread vincent habchi
Jesper, FYI: Remember that corefoundation is open source. 10.6.2 can be found at: http://www.opensource.apple.com/source/CF/CF-550.13/ Thanks for the link, very instructive. void CFRunLoopWakeUp(CFRunLoopRef rl) { CHECK_FOR_FORK(); #if DEPLOYMENT_TARGET_MACOSX ||