eczarny/spectacle — Issue #27: System Preferences crashes when attempting to draw the toggle switch
Author: eczarny
Created: 2011-11-18 17:02:00+00:00
State: open
Labels: crash

11/18/11 11:54:15.963 AM System Preferences: -[__NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: NSFont)
11/18/11 11:54:15.965 AM System Preferences: (
0 CoreFoundation 0x00007fff977e5286 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8e299d5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff977e50ba +[NSException raise:format:arguments:] + 106
3 CoreFoundation 0x00007fff977e5044 +[NSException raise:format:] + 116
4 CoreFoundation 0x00007fff977a229b -[__NSCFDictionary setObject:forKey:] + 219
5 Spectacle 0x000000010fb53a73 -[SpectacleToggleSwitchCell(SpectacleToggleSwitchCellPrivate) drawString:withForegroundColor:inRect:] + 165
6 Spectacle 0x000000010fb538de -[SpectacleToggleSwitchCell(SpectacleToggleSwitchCellPrivate) drawLabelsInRect:withSliderSize:andHorizontalAdjustment:] + 248
7 Spectacle 0x000000010fb53373 -[SpectacleToggleSwitchCell drawWithFrame:inView:] + 629
8 AppKit 0x00007fff92f6aa32 -[NSControl drawRect:] + 398
9 AppKit 0x00007fff92f35fdf -[NSView _drawRect:clip:] + 3758
10 AppKit 0x00007fff92f638c4 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1583
11 AppKit 0x00007fff92f63cf0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
12 AppKit 0x00007fff92f63cf0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
13 AppKit 0x00007fff92f63cf0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
14 AppKit 0x00007fff92f335ba -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 1032
15 AppKit 0x00007fff92f32ab3 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 270
16 AppKit 0x00007fff92f2dec9 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4755
17 AppKit 0x00007fff92f2693e -[NSView displayIfNeeded] + 1676
18 AppKit 0x00007fff930822c1 -[NSWindow display] + 110
19 PreferencePanes 0x00007fff8d41459e +[NSPrefAnimatedView createCGImageOfView:rect:superview:] + 914
20 System Preferences 0x000000010b58d554 System Preferences + 38228
21 System Preferences 0x000000010b58bfbe System Preferences + 32702
22 Foundation 0x00007fff91a0d25a __NSFireDelayedPerform + 392
23 CoreFoundation 0x00007fff97799f84 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
24 CoreFoundation 0x00007fff97799ad6 __CFRunLoopDoTimer + 534
25 CoreFoundation 0x00007fff9777a471 __CFRunLoopRun + 1617
26 CoreFoundation 0x00007fff97779ae6 CFRunLoopRunSpecific + 230
27 HIToolbox 0x00007fff97f293d3 RunCurrentEventLoopInMode + 277
28 HIToolbox 0x00007fff97f3058f ReceiveNextEventCommon + 181
29 HIToolbox 0x00007fff97f304ca BlockUntilNextEventMatchingListInMode + 62
30 AppKit 0x00007fff92eea3f1 _DPSNextEvent + 659
31 AppKit 0x00007fff92ee9cf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
32 AppKit 0x00007fff92ee662d -[NSApplication run] + 470
33 AppKit 0x00007fff9316580c NSApplicationMain + 867
34 System Preferences 0x000000010b585dbc System Preferences + 7612
35 ??? 0x0000000000000002 0x0 + 2
)