FYI: Remember that corefoundation is open source. 10.6.2 can be found at: http://www.opensource.apple.com/source/CF/CF-550.13/ EXC_BREAKPOINT is an "int 3" instruction (and HALT in CF code is typically used for this).
>From CFRunLoopStop from 10.6.2 sources: 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 the send may fail if there is already a * wakeup pending, since the queue length is 1. */ ret = __CFSendTrivialMachMessage(rl->_wakeUpPort, 0, MACH_SEND_TIMEOUT, 0); if (ret != MACH_MSG_SUCCESS && ret != MACH_SEND_TIMED_OUT) { HALT; } #else Maybe this is what caused your crash. Jesper On Apr 8, 2010, at 1:03 PM, vincent habchi wrote: 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: 0x0000000000000002, 0x0000000000000000 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 com.apple.CoreFoundation 0x00007fff801da6d1 CFRunLoopWakeUp + 129 […] Since I had 34 other threads active, I wonder if there is any practical threshold on the number of Run Loops Snow Leopard can manage? Thanks, Vincent_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com<mailto:Cocoa-dev@lists.apple.com>) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com<http://lists.apple.com> Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/jsbache%40adobe.com This email sent to jsba...@adobe.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com