alexcrichton/hermes — Issue #20: Crash skipping track
Author: blalor
Created: 2011-11-22 14:54:13+00:00
State: open

Got a crash when skipping a track, using the button in the toolbar.

[Crash reporter log](https://gist.github.com/583234116f7991e9bfe2)

`syslog` output:

Tue Nov 22 09:49:52 BOS75ML-4U0AAGU Hermes[16923] : *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Unlocking Focus on wrong view (), expected '\n*** Call stack at first throw:\n(\n\t0 CoreFoundation 0x00007fff83a43784 __exceptionPreprocess + 180\n\t1 libobjc.A.dylib 0x00007fff8828df03 objc_exception_throw + 45\n\t2 CoreFoundation 0x00007fff83a435a7 +\[NSException raise:format:arguments:\] + 103\n\t3 CoreFoundation 0x00007fff83a43534 +\[NSException raise:format:\] + 148\n\t4 AppKit 0x00007fff841c13b9 -\[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:topView:\] + 2465\n\t5 AppKit 0x00007fff842abc2e -\[NSView(NSLayerKitGlue) drawLayer:inContext:\] + 1230\n\t6 QuartzCore 0x00007fff812e1910 CABackingStoreUpdate + 2427\n\t7 QuartzCore 0x00007fff812e0baf -\[CALayer _display\] + 837\n\t8 AppKit 0x00007fff8429d3bd -\[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded\] + 139\n\t9 AppKit 0x00007fff8429d4ae -\[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded\] + 380\n\t10 AppKit 0x00007fff8429d4ae -\[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded\] + 380\n\t11 AppKit 0x00007fff8429d0f1 -\[NSView(NSLayerKitGlue) _drawRectAsLayerTree:\] + 154\n\t12 AppKit 0x00007fff8413801f -\[NSView _drawRect:clip:\] + 152\n\t13 AppKit 0x00007fff84723b8f -\[_NSViewDrawOperation main\] + 271\n\t14 Foundation 0x00007fff84e8fdd0 -\[__NSOperationInternal start\] + 681\n\t15 Foundation 0x00007fff84f6dbd5 ____NSOQSchedule_block_invoke_2 + 129\n\t16 libSystem.B.dylib 0x00007fff85467d64 _dispatch_call_block_and_release + 15\n\t17 libSystem.B.dylib 0x00007fff854462d1 _dispatch_worker_thread2 + 239\n\t18 libSystem.B.dylib 0x00007fff85445c08 _pthread_wqthread + 353\n\t19 libSystem.B.dylib 0x00007fff85445aa5 start_wqthread + 13\n)
Tue Nov 22 09:49:52 BOS75ML-4U0AAGU \[0x0-0x2da0d9e\].com.alexcrichton.Hermes[16923] : terminate called after throwing an instance of 'NSException'
Tue Nov 22 09:49:55 BOS75ML-4U0AAGU com.apple.launchd.peruser.1030503679[1375] (\[0x0-0x2da0d9e\].com.alexcrichton.Hermes[16923]) : Job appears to have crashed: Abort trap