TotalTerminal Crash OS X 10.8.4

In the past two days, TotalTerminal has stopped working and crashes the Terminal when opened. I’ve tried installing an older version of TotalTerminal to see if that changed things, and a warning came up that TotalTerminal was not tested against the current version of Terminal (I believe it said it was tested up to 304, and Terminal is at ~340). Would downgrading Terminal address this issue?

Here is a log I was able to grab from the Console:

8/21/13 8:07:32.079 AM	Terminal[907]	[<SRRecorderControl 0x7fa63714fc70> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key shortcut.
8/21/13 8:07:32.080 AM	Terminal[907]	(
	0   CoreFoundation                      0x00007fff8a2e8b06 __exceptionPreprocess + 198
	1   libobjc.A.dylib                     0x00007fff837b73f0 objc_exception_throw + 43
	2   CoreFoundation                      0x00007fff8a37cf49 -[NSException raise] + 9
	3   Foundation                          0x00007fff85753165 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 408
	4   Foundation                          0x00007fff857b695f -[NSObject(NSKeyValueCoding) setValue:forKeyPath:] + 350
	5   AppKit                              0x00007fff881d27ca -[NSView setValue:forKeyPath:] + 392
	6   AppKit                              0x00007fff881720c9 -[NSIBUserDefinedRuntimeAttributesConnector establishConnection] + 332
	7   AppKit                              0x00007fff8821709a -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1012
	8   AppKit                              0x00007fff881f611d loadNib + 317
	9   AppKit                              0x00007fff881f5649 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 219
	10  AppKit                              0x00007fff881f547e -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 200
	11  AppKit                              0x00007fff881f525e +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 360
	12  TotalTerminal                       0x0000000110799e67 -[TotalTerminal init] + 549
	13  TotalTerminal                       0x00000001107999de +[TotalTerminal sharedInstance] + 52
	14  TotalTerminal                       0x00000001107aeafd -[NSWindow(TotalTerminal) TotalTerminal_Visor_TTWindow_canBecomeKeyWindow] + 37
	15  AppKit                              0x00007fff8833a99f -[NSWindow sendEvent:] + 3926
	16  Terminal                            0x000000010cdb177a Terminal + 173946
	17  AppKit                              0x00007fff88337644 -[NSApplication sendEvent:] + 5761
	18  Terminal                            0x000000010cdb0aa1 Terminal + 170657
	19  TotalTerminal                       0x00000001107b3ea4 -[NSApplication(TotalTerminal) TotalTerminal_AutoSlide_TTApplication_sendEvent:] + 509
	20  AppKit                              0x00007fff8824d21a -[NSApplication run] + 636
	21  AppKit                              0x00007fff881f1bd6 NSApplicationMain + 869
	22  libdyld.dylib                       0x00007fff8cd537e1 start + 0
)
8/21/13 8:07:32.153 AM	Terminal[907]	[<SRRecorderControl 0x7fa63718d7d0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key shortcut.
8/21/13 8:07:32.154 AM	Terminal[907]	(
	0   CoreFoundation                      0x00007fff8a2e8b06 __exceptionPreprocess + 198
	1   libobjc.A.dylib                     0x00007fff837b73f0 objc_exception_throw + 43
	2   CoreFoundation                      0x00007fff8a37cf49 -[NSException raise] + 9
	3   Foundation                          0x00007fff85753165 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 408
	4   Foundation                          0x00007fff857b695f -[NSObject(NSKeyValueCoding) setValue:forKeyPath:] + 350
	5   AppKit                              0x00007fff881d27ca -[NSView setValue:forKeyPath:] + 392
	6   AppKit                              0x00007fff881720c9 -[NSIBUserDefinedRuntimeAttributesConnector establishConnection] + 332
	7   AppKit                              0x00007fff8821709a -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1012
	8   AppKit                              0x00007fff881f611d loadNib + 317
	9   AppKit                              0x00007fff881f5649 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 219
	10  AppKit                              0x00007fff881f547e -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 200
	11  AppKit                              0x00007fff881f525e +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 360
	12  TotalTerminal                       0x0000000110799e67 -[TotalTerminal init] + 549
	13  TotalTerminal                       0x00000001107999de +[TotalTerminal sharedInstance] + 52
	14  TotalTerminal                       0x00000001107aeafd -[NSWindow(TotalTerminal) TotalTerminal_Visor_TTWindow_canBecomeKeyWindow] + 37
	15  AppKit                              0x00007fff88327ab5 -[NSApplication(NSWindowCache) _invalidateWindowListForCycleIfNeededForWindow:] + 89
	16  AppKit                              0x00007fff883437e6 _NXDoDeferredWindowOrdering + 101
	17  AppKit                              0x00007fff8834639e _NXDoMouseUpWindowOrdering + 328
	18  AppKit                              0x00007fff88255f28 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 438
	19  AppKit                              0x00007fff8824d1a3 -[NSApplication run] + 517
	20  AppKit                              0x00007fff881f1bd6 NSApplicationMain + 869
	21  libdyld.dylib                       0x00007fff8cd537e1 start + 0
)
8/21/13 8:07:32.712 AM	Terminal[907]	[<SRRecorderControl 0x7fa636e7ddf0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key shortcut.
8/21/13 8:07:32.713 AM	Terminal[907]	(
	0   CoreFoundation                      0x00007fff8a2e8b06 __exceptionPreprocess + 198
	1   libobjc.A.dylib                     0x00007fff837b73f0 objc_exception_throw + 43
	2   CoreFoundation                      0x00007fff8a37cf49 -[NSException raise] + 9
	3   Foundation                          0x00007fff85753165 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 408
	4   Foundation                          0x00007fff857b695f -[NSObject(NSKeyValueCoding) setValue:forKeyPath:] + 350
	5   AppKit                              0x00007fff881d27ca -[NSView setValue:forKeyPath:] + 392
	6   AppKit                              0x00007fff881720c9 -[NSIBUserDefinedRuntimeAttributesConnector establishConnection] + 332
	7   AppKit                              0x00007fff8821709a -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1012
	8   AppKit                              0x00007fff881f611d loadNib + 317
	9   AppKit                              0x00007fff881f5649 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 219
	10  AppKit                              0x00007fff881f547e -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 200
	11  AppKit                              0x00007fff881f525e +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 360
	12  TotalTerminal                       0x0000000110799e67 -[TotalTerminal init] + 549
	13  TotalTerminal                       0x00000001107999de +[TotalTerminal sharedInstance] + 52
	14  TotalTerminal                       0x00000001107aeafd -[NSWindow(TotalTerminal) TotalTerminal_Visor_TTWindow_canBecomeKeyWindow] + 37
	15  AppKit                              0x00007fff8833a99f -[NSWindow sendEvent:] + 3926
	16  Terminal                            0x000000010cdb177a Terminal + 173946
	17  AppKit                              0x00007fff88337644 -[NSApplication sendEvent:] + 5761
	18  Terminal                            0x000000010cdb0aa1 Terminal + 170657
	19  TotalTerminal                       0x00000001107b3ea4 -[NSApplication(TotalTerminal) TotalTerminal_AutoSlide_TTApplication_sendEvent:] + 509
	20  AppKit                              0x00007fff8824d21a -[NSApplication run] + 636
	21  AppKit                              0x00007fff881f1bd6 NSApplicationMain + 869
	22  libdyld.dylib                       0x00007fff8cd537e1 start + 0
)
8/21/13 8:07:32.829 AM	Terminal[907]	[<SRRecorderControl 0x7fa6370d7260> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key shortcut.
8/21/13 8:07:32.831 AM	Terminal[907]	(
	0   CoreFoundation                      0x00007fff8a2e8b06 __exceptionPreprocess + 198
	1   libobjc.A.dylib                     0x00007fff837b73f0 objc_exception_throw + 43
	2   CoreFoundation                      0x00007fff8a37cf49 -[NSException raise] + 9
	3   Foundation                          0x00007fff85753165 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 408
	4   Foundation                          0x00007fff857b695f -[NSObject(NSKeyValueCoding) setValue:forKeyPath:] + 350
	5   AppKit                              0x00007fff881d27ca -[NSView setValue:forKeyPath:] + 392
	6   AppKit                              0x00007fff881720c9 -[NSIBUserDefinedRuntimeAttributesConnector establishConnection] + 332
	7   AppKit                              0x00007fff8821709a -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1012
	8   AppKit                              0x00007fff881f611d loadNib + 317
	9   AppKit                              0x00007fff881f5649 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 219
	10  AppKit                              0x00007fff881f547e -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 200
	11  AppKit                              0x00007fff881f525e +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 360
	12  TotalTerminal                       0x0000000110799e67 -[TotalTerminal init] + 549
	13  TotalTerminal                       0x00000001107999de +[TotalTerminal sharedInstance] + 52
	14  TotalTerminal                       0x00000001107aeafd -[NSWindow(TotalTerminal) TotalTerminal_Visor_TTWindow_canBecomeKeyWindow] + 37
	15  AppKit                              0x00007fff88327ab5 -[NSApplication(NSWindowCache) _invalidateWindowListForCycleIfNeededForWindow:] + 89
	16  AppKit                              0x00007fff883437e6 _NXDoDeferredWindowOrdering + 101
	17  AppKit                              0x00007fff8834639e _NXDoMouseUpWindowOrdering + 328
	18  AppKit                              0x00007fff88255f28 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 438
	19  AppKit                              0x00007fff8824d1a3 -[NSApplication run] + 517
	20  AppKit                              0x00007fff881f1bd6 NSApplicationMain + 869
	21  libdyld.dylib                       0x00007fff8cd537e1 start + 0
)

Hmm, are you using Mavericks? Terminal.app on my Mountain Lion machine with latest patches is v309.

I would try to backup ~/Library/Preferences/com.apple.finder.plist and trash it while Terminal.app is not running. This way you should get back to factory defaults. From the log I see there is some problem instantiating ShortcutRecorder controls when loading nib in the beginning.

That seemed to fix it. Thanks!

Issue seems to have popped up again. Same symptoms, but the log looks slightly.

Log should be uploading to https://dl.dropboxusercontent.com/u/7714069/Hosting/total_terminal_osx10.8.4.log within the next few minutes.

It looks like TotalTerminal conflicts with /Library/Application Support/SIMBL/Plugins/MenuAndDockless.bundle on your machine.

From the log I can see that we both use same shortcut recorder component. Maybe they bring in different version and we conflict.

This should be resolved in the next version of TotalTerminal. We have adopted a safer way how to name our classes.

Great, thanks for the quick response! I can’t develop without my visor :slight_smile: I removed the MenuAndDockless plugin for now, and look forward to the update.