On 22 Aug 2011, at 08:30, jonat...@mugginsoft.com wrote: > From time to time I experience the following crash when displaying > NSOpenPanel on Lion in a GC app. > It has prior form according to > http://www.cocoabuilder.com/archive/cocoa/283840-odd-crash.html > > Does anyone have any recent insight into this one? > > Thread 5 Crashed:: Dispatch queue: TFSVolumeInfo::GetSyncGCDQueue > 0 ??? 0xfefff000 0 + 4278185984 > 1 com.apple.DesktopServices 0x985c2f6e TFSInfo::Initialize(unsigned > char, OpaqueLSSharedFileListItemRef*) + 770 > 2 com.apple.DesktopServices 0x9854a666 > TFSInfoSynchronizer::FetchChildren() + 652 > 3 com.apple.DesktopServices 0x98536947 > TNode::SynchronizeChildren(unsigned long, TNodeEventPtrSet&) + 169 > 4 com.apple.DesktopServices 0x985363f4 TNode::HandleSync(unsigned > long) + 2176 > 5 com.apple.DesktopServices 0x98535b47 > TNode::HandleSync(TCountedPtr<TNodeTask> const&, TNodePtr const&) + 55 > 6 com.apple.DesktopServices 0x985836e8 > TNode::HandleNodeRequest(TCountedPtr<TNodeTask> const&, > TCountedPtr<TVolumeSyncThread> const&) + 978 > 7 com.apple.DesktopServices 0x985a6135 > __PostNodeTaskRequest_block_invoke_08 + 87 > 8 com.apple.DesktopServices 0x985b8589 ExceptionSafeBlock(void ( > block_pointer)()) + 55 > 9 com.apple.DesktopServices 0x985a60d8 > __PostNodeTaskRequest_block_invoke_0 + 86 > 10 libdispatch.dylib 0x9a003e85 > _dispatch_call_block_and_release + 15 > 11 libdispatch.dylib 0x9a00580b _dispatch_queue_drain + 224 > 12 libdispatch.dylib 0x9a0056b0 _dispatch_queue_invoke + 47 > 13 libdispatch.dylib 0x9a004eb8 _dispatch_worker_thread2 + > 187 > 14 libsystem_c.dylib 0x9a070b24 _pthread_wqthread + 346 > 15 libsystem_c.dylib 0x9a0726fe start_wqthread + 30 > Regards >
This was a real problem as I subsequently found out that ANY time my app called NSSavePanel I encountered the same crash. This was 100% reproducible on my development machine. A clean install did not exhibit the problem. I deliberately crashed the clean install and compared the list of binary images. As the two machines were running the same build of the app on the same OS version I could only presume that code was being executed in one that wasn't on the other. This made a loadable bundle a likely candidate. Comparing the crash logs I noted a couple of bundles that were only loaded on the development machine. Trial and error revealed the culprit. 0xc7a3000 - 0xc7a6fff +org.tigris.scfinderplugin (1.0 - 169) <8DE3E188-4EF3-B390-1B61-DBF71CD800CF> /Library/Contextual Menu Items/SCFinderPlugin.plugin/Contents/MacOS/SCFinderPlugin This was an out of date and no longer relevant copy of the Subversion SCPlugin. Jonathan Mitchell Developer Mugginsoft LLP http://www.mugginsoft.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