Closed philostein closed 11 years ago
QS crashing when I launch it. :(
Here's the crash report (sorry, can't link it, Dropbox is busy right now):
Process: Quicksilver [68610] Path: /Applications/Quicksilver.app/Contents/MacOS/Quicksilver Identifier: com.blacktree.Quicksilver Version: 1.1.0 (4003) Code Type: X86-64 (Native) Parent Process: launchd [247] User ID: 501
Date/Time: 2013-08-19 12:11:35.955 +0900 OS Version: Mac OS X 10.8.4 (12E55) Report Version: 10
Crashed Thread: 14 Dispatch queue: com.apple.root.high-priority
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: EXC_I386_GPFLT
Application Specific Information: objc_msgSend() selector name: isEqual:
Thread 0:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff91e0d686 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff91e0cc42 mach_msg + 70 2 com.apple.CoreFoundation 0x00007fff9958f233 CFRunLoopServiceMachPort + 195 3 com.apple.CoreFoundation 0x00007fff99594916 CFRunLoopRun + 1078 4 com.apple.CoreFoundation 0x00007fff995940e2 CFRunLoopRunSpecific + 290 5 com.apple.HIToolbox 0x00007fff8e113eb4 RunCurrentEventLoopInMode + 209 6 com.apple.HIToolbox 0x00007fff8e113c52 ReceiveNextEventCommon + 356 7 com.apple.HIToolbox 0x00007fff8e113ae3 BlockUntilNextEventMatchingListInMode + 62 8 com.apple.AppKit 0x00007fff95df5533 _DPSNextEvent + 685 9 com.apple.AppKit 0x00007fff95df4df2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128 10 com.apple.AppKit 0x00007fff95dec1a3 -[NSApplication run] + 517 11 com.apple.AppKit 0x00007fff95d90bd6 NSApplicationMain + 869 12 com.blacktree.Quicksilver 0x00000001059b93e4 0x1059b8000 + 5092
Thread 1: 0 libsystem_kernel.dylib 0x00007fff91e0f6d6 __workq_kernreturn + 10 1 libsystem_c.dylib 0x00007fff95bbbf4c _pthread_workq_return + 25 2 libsystem_c.dylib 0x00007fff95bbbd13 _pthread_wqthread + 412 3 libsystem_c.dylib 0x00007fff95ba61d1 start_wqthread + 13
Thread 2:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x00007fff91e0fd16 kevent + 10 1 libdispatch.dylib 0x00007fff91d6edea _dispatch_mgr_invoke + 883 2 libdispatch.dylib 0x00007fff91d6e9ee _dispatch_mgr_thread + 54
Thread 3: 0 libsystem_kernel.dylib 0x00007fff91e0f6d6 __workq_kernreturn + 10 1 libsystem_c.dylib 0x00007fff95bbbf4c _pthread_workq_return + 25 2 libsystem_c.dylib 0x00007fff95bbbd13 _pthread_wqthread + 412 3 libsystem_c.dylib 0x00007fff95ba61d1 start_wqthread + 13
Thread 4:: Dispatch queue: QSCatalogEntry scanQueue: C0C9056B-1184-4EA4-849F-7CCF921FB2F3 0 com.apple.CoreFoundation 0x00007fff99562ede _CFRuntimeCreateInstance + 542 1 com.apple.CoreFoundation 0x00007fff995c8e1c CFCharacterSetCreateCopy + 156 2 com.apple.CoreFoundation 0x00007fff995c8d64 CFCharacterSetCreateInvertedSet + 100 3 com.apple.CoreFoundation 0x00007fff995c8cd5 -[NSCFCharacterSet invertedSet] + 21 4 com.blacktree.QSCore 0x0000000105ab240a -[QSObject(StringHandling) sniffURL:] + 816 5 com.blacktree.QSCore 0x0000000105ab20cb -[QSObject(StringHandling) sniffString] + 1158 6 com.blacktree.QSCore 0x0000000105ab1c08 -[QSObject(StringHandling) initWithString:] + 149 7 com.blacktree.QSCore 0x0000000105ab1b5f +[QSObject(StringHandling) objectWithString:] + 43 8 com.blacktree.Quicksilver.QSCorePlugIn 0x00000001108d4df7 0x1108c7000 + 56823 9 com.blacktree.Quicksilver.QSCorePlugIn 0x00000001108d2672 0x1108c7000 + 46706 10 com.blacktree.QSCore 0x0000000105a9cee7 -[QSCatalogEntry scannedObjects] + 59 11 com.blacktree.QSCore 0x0000000105a9d183 30-[QSCatalogEntry scanAndCache]_block_invoke + 133 12 libdispatch.dylib 0x00007fff91d6c0b6 _dispatch_client_callout + 8 13 libdispatch.dylib 0x00007fff91d6d723 _dispatch_barrier_sync_f_invoke + 39 14 com.blacktree.QSCore 0x0000000105a9d095 -[QSCatalogEntry scanAndCache] + 177 15 com.blacktree.QSCore 0x0000000105a9d59c -[QSCatalogEntry scanForced:] + 699 16 com.blacktree.QSCore 0x0000000105aa6419 42-[QSLibrarian scanCatalogIgnoringIndexes:]_block_invoke + 309 17 libdispatch.dylib 0x00007fff91d6ff01 _dispatch_call_block_and_release + 15 18 libdispatch.dylib 0x00007fff91d6c0b6 _dispatch_client_callout + 8 19 libdispatch.dylib 0x00007fff91d6d1fa _dispatch_worker_thread2 + 304 20 libsystem_c.dylib 0x00007fff95bbbd0b _pthread_wqthread + 404 21 libsystem_c.dylib 0x00007fff95ba61d1 start_wqthread + 13
Thread 5:: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x00007fff91e0d686 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff91e0cc42 mach_msg + 70 2 com.apple.CoreFoundation 0x00007fff9958f233 CFRunLoopServiceMachPort + 195 3 com.apple.CoreFoundation 0x00007fff99594916 __CFRunLoopRun + 1078 4 com.apple.CoreFoundation 0x00007fff995940e2 CFRunLoopRunSpecific + 290 5 com.apple.Foundation 0x00007fff8ee03546 +[NSURLConnection(Loader) _resourceLoadLoop:] + 356 6 com.apple.Foundation 0x00007fff8ee61562 NSThreadmain + 1345 7 libsystem_c.dylib 0x00007fff95bb97a2 _pthread_start + 327 8 libsystem_c.dylib 0x00007fff95ba61e1 thread_start + 13
Thread 6:: JavaScriptCore::BlockFree 0 libsystem_kernel.dylib 0x00007fff91e0f0fa __psynch_cvwait + 10 1 libsystem_c.dylib 0x00007fff95bbdfe9 _pthread_cond_wait + 869 2 com.apple.JavaScriptCore 0x00007fff99a95b66 WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 118 3 com.apple.JavaScriptCore 0x00007fff99cb8bfa JSC::BlockAllocator::blockFreeingThreadMain() + 90 4 com.apple.JavaScriptCore 0x00007fff99cce25f WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_c.dylib 0x00007fff95bb97a2 _pthread_start + 327 6 libsystem_c.dylib 0x00007fff95ba61e1 thread_start + 13
Thread 7:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff91e0f0fa __psynch_cvwait + 10 1 libsystem_c.dylib 0x00007fff95bbdfe9 _pthread_cond_wait + 869 2 com.apple.JavaScriptCore 0x00007fff99c1b9d4 JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) + 212 3 com.apple.JavaScriptCore 0x00007fff99c1b8b6 JSC::MarkStackThreadSharedData::markingThreadMain() + 214 4 com.apple.JavaScriptCore 0x00007fff99cce25f WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_c.dylib 0x00007fff95bb97a2 _pthread_start + 327 6 libsystem_c.dylib 0x00007fff95ba61e1 thread_start + 13
Thread 8:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff91e0f0fa __psynch_cvwait + 10 1 libsystem_c.dylib 0x00007fff95bbdfe9 _pthread_cond_wait + 869 2 com.apple.JavaScriptCore 0x00007fff99c1b9d4 JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) + 212 3 com.apple.JavaScriptCore 0x00007fff99c1b8b6 JSC::MarkStackThreadSharedData::markingThreadMain() + 214 4 com.apple.JavaScriptCore 0x00007fff99cce25f WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_c.dylib 0x00007fff95bb97a2 _pthread_start + 327 6 libsystem_c.dylib 0x00007fff95ba61e1 thread_start + 13
Thread 9:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff91e0f0fa __psynch_cvwait + 10 1 libsystem_c.dylib 0x00007fff95bbdfe9 _pthread_cond_wait + 869 2 com.apple.JavaScriptCore 0x00007fff99c1b9d4 JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) + 212 3 com.apple.JavaScriptCore 0x00007fff99c1b8b6 JSC::MarkStackThreadSharedData::markingThreadMain() + 214 4 com.apple.JavaScriptCore 0x00007fff99cce25f WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_c.dylib 0x00007fff95bb97a2 _pthread_start + 327 6 libsystem_c.dylib 0x00007fff95ba61e1 thread_start + 13
Thread 10: 0 libsystem_kernel.dylib 0x00007fff91e0fd16 kevent + 10 1 com.blacktree.QSCore 0x0000000105ac9547 -[VDKQueue watcherThread:] + 148 2 com.apple.Foundation 0x00007fff8ee61562 NSThread__main + 1345 3 libsystem_c.dylib 0x00007fff95bb97a2 _pthread_start + 327 4 libsystem_c.dylib 0x00007fff95ba61e1 thread_start + 13
Thread 11: 0 libsystem_kernel.dylib 0x00007fff91e0f6d6 __workq_kernreturn + 10 1 libsystem_c.dylib 0x00007fff95bbbf4c _pthread_workq_return + 25 2 libsystem_c.dylib 0x00007fff95bbbd13 _pthread_wqthread + 412 3 libsystem_c.dylib 0x00007fff95ba61d1 start_wqthread + 13
Thread 12: 0 libsystem_kernel.dylib 0x00007fff91e0f6d6 __workq_kernreturn + 10 1 libsystem_c.dylib 0x00007fff95bbbf4c _pthread_workq_return + 25 2 libsystem_c.dylib 0x00007fff95bbbd13 _pthread_wqthread + 412 3 libsystem_c.dylib 0x00007fff95ba61d1 start_wqthread + 13
Thread 13: 0 libsystem_kernel.dylib 0x00007fff91e0f6d6 __workq_kernreturn + 10 1 libsystem_c.dylib 0x00007fff95bbbf4c _pthread_workq_return + 25 2 libsystem_c.dylib 0x00007fff95bbbd13 _pthread_wqthread + 412 3 libsystem_c.dylib 0x00007fff95ba61d1 start_wqthread + 13
Thread 14 Crashed:: Dispatch queue: com.apple.root.high-priority 0 libobjc.A.dylib 0x00007fff8f22c6d0 objc_msgSend_vtable12 + 16 1 com.apple.CoreFoundation 0x00007fff9968116e -[__NSDictionaryM objectForKey:] + 142 2 com.blacktree.QSCore 0x0000000105aa968c -[QSObject objectForType:] + 14 3 com.blacktree.QSCore 0x0000000105ab4396 -[QSURLObjectHandler loadIconForObject:] + 37 4 libdispatch.dylib 0x00007fff91d6ff01 _dispatch_call_block_and_release + 15 5 libdispatch.dylib 0x00007fff91d6c0b6 _dispatch_client_callout + 8 6 libdispatch.dylib 0x00007fff91d6d1fa _dispatch_worker_thread2 + 304 7 libsystem_c.dylib 0x00007fff95bbbd0b _pthread_wqthread + 404 8 libsystem_c.dylib 0x00007fff95ba61d1 start_wqthread + 13
Thread 15:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x00007fff91e0f322 select + 10 1 com.apple.CoreFoundation 0x00007fff995d3f46 CFSocketManager + 1302 2 libsystem_c.dylib 0x00007fff95bb97a2 _pthread_start + 327 3 libsystem_c.dylib 0x00007fff95ba61e1 thread_start + 13
Thread 14 crashed with X86 Thread State (64-bit): rax: 0x74e9000000000000 rbx: 0x0000000000000002 rcx: 0x0000000000000019 rdx: 0x0000000105b01b78 rdi: 0x0000000105b00002 rsi: 0x00007fff7f802630 rbp: 0x00000001133ede40 rsp: 0x00000001133eddf8 r8: 0x0000000000060032 r9: 0x0000000105ad8944 r10: 0x0000000105ad8944 r11: 0x0000000105ad8943 r12: 0x0000000000000003 r13: 0x0000000000000003 r14: 0x0000000000000000 r15: 0x0000000105b01b78 rip: 0x00007fff8f22c6d0 rfl: 0x0000000000010246 cr2: 0x0000000016108090 Logical CPU: 2
Binary Images:
0x1059b8000 - 0x1059e7ff7 +com.blacktree.Quicksilver (1.1.0 - 4003) <7DDF664F-7556-3B6C-9FA6-0044FBBFFE0C> /Applications/Quicksilver.app/Contents/MacOS/Quicksilver
0x105a06000 - 0x105a44ff7 +com.blacktree.QSFoundation (2.0) <2481DC98-BD37-3A84-B35A-05607AA2D54C> /Applications/Quicksilver.app/Contents/Frameworks/QSFoundation.framework/Versions/A/QSFoundation
0x105a78000 - 0x105a85ff7 +com.blacktree.QSEffects (2.0) <55F2672C-B305-3903-A1B9-C6EAF693699A> /Applications/Quicksilver.app/Contents/Frameworks/QSEffects.framework/Versions/A/QSEffects
0x105a95000 - 0x105ae7fff +com.blacktree.QSCore (2.0) <6794AD11-F58A-3584-81C3-27DFF655ACFA> /Applications/Quicksilver.app/Contents/Frameworks/QSCore.framework/Versions/A/QSCore
0x105b29000 - 0x105b5cff7 +com.blacktree.QSInterface (2.0) <52BF7B38-69C7-397D-9ED4-844B08D686B1> /Applications/Quicksilver.app/Contents/Frameworks/QSInterface.framework/Versions/A/QSInterface
0x105b8e000 - 0x105b90fff com.apple.ExceptionHandling (1.5 - 10) <47FF83ED-0C07-308C-A375-2A2189DB1056> /System/Library/Frameworks/ExceptionHandling.framework/Versions/A/ExceptionHandling
0x107b30000 - 0x107b31fff com.apple.AddressBook.LocalSourceBundle (2.1 - 1170)
External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 10 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 73321473 thread_create: 1 thread_set_state: 0
VM Region Summary: ReadOnly portion of Libraries: Total=207.5M resident=75.5M(36%) swapped_out_or_unallocated=132.0M(64%) Writable regions: Total=1.2G written=39.1M(3%) resident=152.9M(12%) swapped_out=1796K(0%) unallocated=1.1G(88%)
REGION TYPE VIRTUAL =========== ======= CG backing stores 516K CG image 4K CG raster data 116K CG shared images 1312K CoreServices 2372K JS JIT generated code 128.0M JS JIT generated code (reserved) 896.0M reserved VM address space (unallocated) JS VM register file (reserved) 4096K reserved VM address space (unallocated) JS garbage collector 128K MALLOC 202.4M MALLOC guard page 48K Memory tag=240 4K Memory tag=242 12K Memory tag=249 156K Memory tag=250 20.0M Memory tag=251 52K SQLite page cache 480K STACK GUARD 56.1M Stack 15.2M VM_ALLOCATE 16.2M DATA 19.7M IMAGE 528K LINKEDIT 53.2M TEXT 154.3M __UNICODE 544K mapped file 42.9M shared memory 308K =========== ======= TOTAL 1.6G TOTAL, minus reserved VM space 714.5M
Moved the Quicksilver folder out of /Application Support, relaunched, crashes stopped. Moved the Quicksilver folder back, relaunched, more stable, but typing 'cur' into pane 1 and browsing the list seems to make QS crash.
Is it something to do with proxies? The 'Current Document' proxy makes a horrible noise when it can't be resolved (like QS is trying to resolve it 100 times in 1 second). No logs for this behaviour.
First crash is an exception in the iTunes plugin (because it fails to get the location of the track it's trying to access).
Second one is an exception while cleaning the object dictionary cache, it inserts a null object, which is totally weird.
Third one is a hard crash while trying to load an object's icon (I think the startup scan is still in progress, those crashes again :-S). Have you tried to clear the caches for the 3rd one ?
Thanks Etienne, no I haven't – it seems to have stabilised now. Typing 'cur' doesn't crash QS (although the 'Current Document' weirdness still occurs). I reinstalled the iTunes plugin as well, and no adverse effects so far. I haven't tried grabbing any tracks yet. :)
I can see how the first problem could happen. I filter out any track that doesn't have a location
when adding to the catalog to avoid problems like that, but grabbing the selection does an end-run around the catalog. Were these iTunes Match tracks or something?
Thanks Rob, no they're on my hard drive. My iTunes library is in a custom location (Dropbox).
OK. I can't explain how that code was reached, but I need to test for the location
property before trying to grab it in any case.
I just released a new version that hopefully fixes this. Please close the issue if it does, or let me know ASAP if not. Thanks.
Grabbing tracks is working so far, but 'Play' doesn't work. The rest of the actions are ok – Reveal, Enable/Disable etc. If I browse into iTunes, Play doesn't work there either.
Well, I suppose that's true. Play depends entirely on location
. I've kept it from crashing when location
is missing, but the resulting tracks might be somewhat useless.
Have you looked at these tracks in the XML version of the library? It seems odd that there's no location if they're locally installed.
Sorry, busy recently. :)
Is the path: …/iTunes/itunes library.xml ?
A random track's location data is:
Thanks a lot for the ⌘⎋ feature, it's very useful for moving iTunes tracks around.
It was always available via the Current iTunes Selection proxy, but I'm glad I finally figured out the correct way to support “Current Selection” in plug-ins, too.
Let me know if the problem resurfaces.
I installed iTunes plugin 2.4.0, and I was trying to grab tracks and albums using ⌘⎋. It wasn't really working well, tracks would appear, but I couldn't play them. Later, tracks wouldn't even be grabbed, where ⌘⎋ still worked in other apps.
I thought I'd look at 'Current Selection' to see what it was, and that's when the crashes started.
Here was a typical entry in Console:
Deleting caches didn't help, so I deleted the iTunes plugin. QS still crashes a lot, at first if I got near the 'Current Selection' proxy in pane 1, now when I type almost anything. Here's a more recent crash in Console:
QS still very unstable atm.