Crash in NSOpenPanel. Garbage collection thread
Crash in NSOpenPanel. Garbage collection thread
- Subject: Crash in NSOpenPanel. Garbage collection thread
- From: David <email@hidden>
- Date: Mon, 8 Sep 2008 14:24:24 -0400
I've found other reports of NSOpenPanel crashing with garbage collection,
but I haven't found a workaround.
Does anyone know what scenarios cause this? It appears random or timing
dependent, but is a serious issue.
It happens in my application sometimes frequently, sometimes not.
With this current crash, the NSOpenPanel showed up except without listing
any files, then it crashed.
Here's the stack trace for the offending thread,
#0 0x94ea4cf0 in __CFTypeCollectionRelease ()
#1 0x94e71d49 in __CFDictionaryDeallocate ()
#2 0x913a42d1 in -[NSCFDictionary finalize] ()
#3 0x90ec9976 in finalizeOneObject ()
#4 0x9264ddab in foreach_block_do ()
#5 0x90ec9b3b in batchFinalize ()
#6 0x90ec9e02 in batchFinalizeOnTwoThreads ()
#7 0x9264ef0e in auto_collect_internal ()
#8 0x9264fb8f in auto_collection_thread ()
#9 0x962206f5 in _pthread_start ()
#10 0x962205b2 in thread_start ()
Here are all the threads editing out my application specific layers
Thread 12 (process 10123 thread 0xa17b):
#0 0x961ef506 in semaphore_timedwait_signal_trap ()
#1 0x9622184f in _pthread_cond_wait ()
#2 0x962230d3 in pthread_cond_timedwait_relative_np ()
#3 0x92c601ba in TSWaitOnConditionTimedRelative ()
#4 0x92c80ecc in MPWaitOnQueue ()
#5 0x905e2f24 in TFolderSizeTask::FolderSizeTaskProc ()
#6 0x92c7f463 in PrivateMPEntryPoint ()
#7 0x962206f5 in _pthread_start ()
#8 0x962205b2 in thread_start ()
Thread 11 (process 10123 thread 0xa083):
#0 0x961ef506 in semaphore_timedwait_signal_trap ()
#1 0x9622184f in _pthread_cond_wait ()
#2 0x962230d3 in pthread_cond_timedwait_relative_np ()
#3 0x92c601ba in TSWaitOnConditionTimedRelative ()
#4 0x92c80ecc in MPWaitOnQueue ()
#5 0x905e2f24 in TFolderSizeTask::FolderSizeTaskProc ()
#6 0x92c7f463 in PrivateMPEntryPoint ()
#7 0x962206f5 in _pthread_start ()
#8 0x962205b2 in thread_start ()
Thread 10 (process 10123 thread 0x9b03):
#0 0x9623f5e2 in select$DARWIN_EXTSN ()
#1 0x94ead50f in __CFSocketManager ()
#2 0x962206f5 in _pthread_start ()
#3 0x962205b2 in thread_start ()
Thread 9 (process 10123 thread 0x9403):
#0 0x9621ff66 in kevent ()
#1 0x94e7749f in __monitor_file_descriptor__ ()
#2 0x962206f5 in _pthread_start ()
#3 0x962205b2 in thread_start ()
Thread 8 (process 10123 thread 0x8703):
#0 0x961ef506 in semaphore_timedwait_signal_trap ()
#1 0x9622184f in _pthread_cond_wait ()
#2 0x962230d3 in pthread_cond_timedwait_relative_np ()
#3 0x92c601ba in TSWaitOnConditionTimedRelative ()
#4 0x92c80ecc in MPWaitOnQueue ()
#5 0x905e8901 in TPropertyTask::PropertyTaskProc ()
#6 0x92c7f463 in PrivateMPEntryPoint ()
#7 0x962206f5 in _pthread_start ()
#8 0x962205b2 in thread_start ()
Thread 7 (process 10123 thread 0x7f5b):
#0 0x961f668e in __semwait_signal ()
#1 0x96221986 in _pthread_cond_wait ()
#2 0x9622136d in pthread_cond_wait$UNIX2003 ()
#3 0x92c8124f in TSWaitOnCondition ()
#4 0x92c6018e in TSWaitOnConditionTimedRelative ()
#5 0x92c80ecc in MPWaitOnQueue ()
#6 0x905e0fda in TNodeSyncTask::SyncTaskProc ()
#7 0x92c7f463 in PrivateMPEntryPoint ()
#8 0x962206f5 in _pthread_start ()
#9 0x962205b2 in thread_start ()
Thread 6 (process 10123 thread 0x7003):
#0 0x961ef4a6 in mach_msg_trap ()
#1 0x961f6c9c in mach_msg ()
#2 0x94ea20ce in CFRunLoopRunSpecific ()
#3 0x94ea2d54 in CFRunLoopRun ()
#4 0x905d601c in TFSEventsNotificationTask::FSEventsNotificationTaskProc ()
#5 0x92c7f463 in PrivateMPEntryPoint ()
#6 0x962206f5 in _pthread_start ()
#7 0x962205b2 in thread_start ()
Thread 5 (process 10123 thread 0x6b03):
#0 0x961ef4a6 in mach_msg_trap ()
#1 0x961f6c9c in mach_msg ()
#2 0x94ea20ce in CFRunLoopRunSpecific ()
#3 0x94ea2d54 in CFRunLoopRun ()
#4 0x905d5ea3 in TSystemNotificationTask::SystemNotificationTaskProc ()
#5 0x92c7f463 in PrivateMPEntryPoint ()
#6 0x962206f5 in _pthread_start ()
#7 0x962205b2 in thread_start ()
Thread 4 (process 10123 thread 0x640f):
#0 0x961ef506 in semaphore_timedwait_signal_trap ()
#1 0x9622184f in _pthread_cond_wait ()
#2 0x962230d3 in pthread_cond_timedwait_relative_np ()
#3 0x912dbe8c in -[NSCondition waitUntilDate:] ()
#4 0x912dbca0 in -[NSConditionLock lockWhenCondition:beforeDate:] ()
#5 0x912dbc05 in -[NSConditionLock lockWhenCondition:] ()
#6 0x96946470 in -[NSUIHeartBeat _heartBeatThread:] ()
#7 0x91295f1d in -[NSThread main] ()
#8 0x91295ac4 in __NSThread__main__ ()
#9 0x962206f5 in _pthread_start ()
#10 0x962205b2 in thread_start ()
Thread 3 (process 10123 thread 0x5613):
#0 0x961ef4a6 in mach_msg_trap ()
#1 0x961f6c9c in mach_msg ()
#2 0x94ea20ce in CFRunLoopRunSpecific ()
#3 0x94ea2cf8 in CFRunLoopRunInMode ()
#4 0x90d49a32 in CFURLCacheWorkerThread ()
#5 0x962206f5 in _pthread_start ()
#6 0x962205b2 in thread_start ()
Thread 2 (process 10123 thread 0x2903):
#0 0x94ea4cf0 in __CFTypeCollectionRelease ()
#1 0x94e71d49 in __CFDictionaryDeallocate ()
#2 0x913a42d1 in -[NSCFDictionary finalize] ()
#3 0x90ec9976 in finalizeOneObject ()
#4 0x9264ddab in foreach_block_do ()
#5 0x90ec9b3b in batchFinalize ()
#6 0x90ec9e02 in batchFinalizeOnTwoThreads ()
#7 0x9264ef0e in auto_collect_internal ()
#8 0x9264fb8f in auto_collection_thread ()
#9 0x962206f5 in _pthread_start ()
#10 0x962205b2 in thread_start ()
Thread 1 (process 10123 local thread 0x2d03):
#0 0x94e34941 in _CFArrayReplaceValues ()
#1 0x94e3522d in CFArrayAppendValue ()
#2 0x94e3541c in CFArrayCreateMutableCopy ()
#3 0x912d5611 in -[NSCFArray mutableCopyWithZone:] ()
#4 0x94f2314a in -[NSObject mutableCopy] ()
#5 0x96f9ea43 in -[NSScrollView _copySubviewsInOrderOfDisplay] ()
#6 0x969a6805 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
()
#7 0x969a6c2b in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
()
#8 0x969a6c2b in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
()
#9 0x969a6c2b in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
()
#10 0x969a6c2b in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
()
#11 0x969a6c2b in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
()
#12 0x969a6c2b in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
()
#13 0x969a6c2b in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
()
#14 0x969a5713 in -[NSThemeFrame
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
()
#15 0x969a2237 in -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] ()
#16 0x968e2c8f in -[NSView displayIfNeeded] ()
#17 0x968e283d in -[NSWindow displayIfNeeded] ()
#18 0x968e2660 in _handleWindowNeedsDisplay ()
#19 0x94ea09c2 in __CFRunLoopDoObservers ()
#20 0x94ea1d1c in CFRunLoopRunSpecific ()
#21 0x94ea2cf8 in CFRunLoopRunInMode ()
#22 0x965c4da4 in RunCurrentEventLoopInMode ()
#23 0x965c4af6 in ReceiveNextEventCommon ()
#24 0x965c4a31 in BlockUntilNextEventMatchingListInMode ()
#25 0x968e0505 in _DPSNextEvent ()
#26 0x968dfdb8 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#27 0x96b1ce77 in -[NSApplication _realDoModalLoop:peek:] ()
#28 0x96b175b5 in -[NSApplication runModalForWindow:] ()
#29 0x96b086b1 in -[NSSavePanel(NSSavePanelRuntime)
runModalForDirectory:file:types:] ()
#30 0x96b08476 in -[NSSavePanel(NSSavePanelRuntime) runModalForTypes:] ()
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden