Dock keeps crashing

Ok. We don’t have that particular hardware here. So with the fresh install, it’s seems it’s got to be something related to that particular hardware or GPU that is causing the instability.

Would you once more paste me the 1st page of the dock crash report? Many thanks.

You’re welcome. I’m happy if I can somehow be a help.

The strange thing is, that the crash doesn’t come every time I’m using Grid View.

Process: Dock [1995]
Path: /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock
Identifier: com.apple.dock
Version: 1.8 (1314)
Build Info: Dock-1314000000000000~2
Code Type: X86-64 (Native)
Parent Process: launchd [166]
Responsible: Dock [1995]
User ID: 501

Date/Time: 2013-10-14 20:12:13.790 +0200
OS Version: Mac OS X 10.9 (13A598)
Report Version: 11
Anonymous UUID: B2CC4247-1FB6-2410-17A1-EA9DB025FA86

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
*** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: '-[__NSCFType symbolicTraits]: unrecognized selector sent to instance 0x7faf59c7a2a0’
abort() called
terminating with uncaught exception of type NSException

Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff8fa9241c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff89ad8e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8fa952ed -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00007fff8f9f05b2 forwarding + 1010
4 CoreFoundation 0x00007fff8f9f0138 _CF_forwarding_prep_0 + 120
5 AppKit 0x00007fff8d8f766f -[__NSFontTypefaceInfo _postscriptName] + 337
6 AppKit 0x00007fff8d8f70d1 +[__NSFontTypefaceInfo typefaceInfoForPostscriptName:] + 817
7 AppKit 0x00007fff8d8f6754 __NSGetMetaFontInstance + 570
8 AppKit 0x00007fff8d8f64be -[NSCell _convertToText:] + 165
9 AppKit 0x00007fff8d8f6319 -[NSButtonCell _convertToText:] + 94
10 AppKit 0x00007fff8d8f5f97 -[NSButtonCell initTextCell:] + 73
11 AppKit 0x00007fff8d8f5f27 -[_NSThemeWidgetCell initTextCell:] + 40
12 AppKit 0x00007fff8d8f5ed4 -[NSButtonCell init] + 34
13 AppKit 0x00007fff8d8f5d46 -[NSControl initWithFrame:] + 111
14 AppKit 0x00007fff8d8f5c4c -[NSButton initWithFrame:] + 82
15 AppKit 0x00007fff8d8f59d4 -[_NSThemeWidget initWithButtonID:] + 243
16 AppKit 0x00007fff8d8f5884 +[_NSThemeCloseWidget closeWidgetInView:withButtonID:action:] + 63
17 AppKit 0x00007fff8d8f556e +[NSWindow standardWindowButton:forStyleMask:] + 1257
18 AppKit 0x00007fff8d8f5043 -[NSThemeFrame newCloseButton] + 81
19 AppKit 0x00007fff8d8f42cc -[NSThemeFrame _updateButtons] + 395
20 AppKit 0x00007fff8d8f2e77 -[NSThemeFrame initWithFrame:styleMask:owner:] + 144
21 AppKit 0x00007fff8d8f1345 -[NSWindow _commonInitFrame:styleMask:backing:defer:] + 631
22 AppKit 0x00007fff8d8f08c2 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1054
23 AppKit 0x00007fff8db79460 -[NSPanel _initContent:styleMask:backing:defer:contentView:] + 51
24 AppKit 0x00007fff8d8f0498 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45
25 AppKit 0x00007fff8db79413 -[NSPanel initWithContentRect:styleMask:backing:defer:] + 78
26 AppKit 0x00007fff8dea56b7 -[NSPanel init] + 98
27 StandardAdditions 0x000000010cffdf19 AEVTsysodisA + 7714
28 StandardAdditions 0x000000010cfff105 AEVTsysodlog + 199
29 OpenScripting 0x00007fff87a51ad8 _ZL17EventHandlerThunkPK6AEDescPS_Pv + 107
30 AE 0x00007fff8e7c8e1f _Z20aeDispatchAppleEventPK6AEDescPS_jPh + 381
31 AE 0x00007fff8e7c8c32 ZL25dispatchEventAndSendReplyPK6AEDescPS + 31
32 AE 0x00007fff8e7c8285 _ZL22aeProcessIncomingEventP6AEDesc + 2073
33 AE 0x00007fff8e7c14ca AEProcessMessage + 237
34 HIServices 0x00007fff8fcca410 mshPerform + 11
35 CoreFoundation 0x00007fff8f9c3b69 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 41
36 CoreFoundation 0x00007fff8f9c3ade __CFRunLoopDoSource1 + 478
37 CoreFoundation 0x00007fff8f9b4bd6 __CFRunLoopRun + 1830
38 CoreFoundation 0x00007fff8f9b4275 CFRunLoopRunSpecific + 309
39 Dock 0x000000010c3d7d73 Dock + 23923
40 libdyld.dylib 0x00007fff8c42a5fd start + 1

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff930fa866 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff909d735c pthread_kill + 92
2 libsystem_c.dylib 0x00007fff8cfbdbba abort + 125
3 libc++abi.dylib 0x00007fff86e4a141 abort_message + 257
4 libc++abi.dylib 0x00007fff86e6fabc default_terminate_handler() + 264
5 libobjc.A.dylib 0x00007fff89ad930d _objc_terminate() + 103
6 libc++abi.dylib 0x00007fff86e6d3e1 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fff86e6d08b __cxa_rethrow + 109
8 libobjc.A.dylib 0x00007fff89ad9049 objc_exception_rethrow + 40
9 com.apple.CoreFoundation 0x00007fff8f9b4308 CFRunLoopRunSpecific + 456
10 com.apple.dock 0x000000010c3d7d73 0x10c3d2000 + 23923
11 libdyld.dylib 0x00007fff8c42a5fd start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff930fb662 kevent64 + 10
1 libdispatch.dylib 0x00007fff8705143d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff87051152 _dispatch_mgr_thread + 52

Thread 2:
0 libsystem_kernel.dylib 0x00007fff930fae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff909d7f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff909dafb9 start_wqthread + 13

Thread 3:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff930f6a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff930f5d18 mach_msg + 64
2 com.apple.LaunchServices 0x00007fff890cc004 _LSPluginClient_RegisterItemInfo + 260
3 com.apple.LaunchServices 0x00007fff89114c16 _LSRegisterItemInfo + 306
4 com.apple.LaunchServices 0x00007fff8911959b _LSDispatchRegistration(LSContext*, char const*, LSRegistrationInfo*, __CFData const*, __CFData const*, unsigned char const*, unsigned int, unsigned int*) + 105
5 com.apple.LaunchServices 0x00007fff8911849f _LSRegisterBundleNode(LSContext*, unsigned int, FSNode*, FSNode*, unsigned int, unsigned int*) + 2512
6 com.apple.LaunchServices 0x00007fff890a16ad _LSFindOrRegisterBundleNode + 825
7 com.apple.LaunchServices 0x00007fff890a5b82 _LSCopyItemAttributeForRefInfoWithOptions + 210
8 com.apple.LaunchServices 0x00007fff890a5a19 prepareAttributeValueForKey(__CFURL const*, __FileCache*, __CFString const*, void const**, __CFError**) + 183
9 com.apple.LaunchServices 0x00007fff890a9ec9 prepareDistinctLocalizedNameValue(__CFURL const*, __FileCache*, __CFError**) + 91
10 com.apple.LaunchServices 0x00007fff890a9e69 prepareLocalizedNameValue(__CFURL const*, __FileCache*, __CFError**) + 9
11 com.apple.LaunchServices 0x00007fff8909f098 LSPropertyProviderPrepareValues(__CFURL const*, __FileCache*, __CFString const* const*, void const**, long, void const*, __CFError**) + 53
12 com.apple.CoreServicesInternal 0x00007fff90df117f prepareValuesForBitmap(__CFURL const*, __FileCache*, _FilePropertyBitmap*, __CFError**) + 227
13 com.apple.CoreServicesInternal 0x00007fff90df259a _FSURLCacheResourcePropertiesForKeys + 133
14 com.apple.CoreServicesInternal 0x00007fff90dfe959 _GetDirectoryURLs(_CFURLEnumerator*) + 829
15 com.apple.CoreServicesInternal 0x00007fff90dfdaa0 _URLEnumeratorGetNextURL + 157
16 com.apple.Foundation 0x00007fff8986451a -[NSURLDirectoryEnumerator nextObject] + 68
17 com.apple.CoreFoundation 0x00007fff8f9a760a -[NSEnumerator countByEnumeratingWithState:objects:count:] + 58
18 com.apple.dock 0x000000010c3ffac8 0x10c3d2000 + 187080
19 com.apple.dock 0x000000010c3ff3d0 0x10c3d2000 + 185296
20 com.apple.dock 0x000000010c3fedfd 0x10c3d2000 + 183805
21 libdispatch.dylib 0x00007fff870521d7 _dispatch_call_block_and_release + 12
22 libdispatch.dylib 0x00007fff8704f2ad _dispatch_client_callout + 8
23 libdispatch.dylib 0x00007fff8705109e _dispatch_root_queue_drain + 326
24 libdispatch.dylib 0x00007fff87052193 _dispatch_worker_thread2 + 40
25 libsystem_pthread.dylib 0x00007fff909d7ef8 _pthread_wqthread + 314
26 libsystem_pthread.dylib 0x00007fff909dafb9 start_wqthread + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff930fae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff909d7f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff909dafb9 start_wqthread + 13

Thread 5:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff930f6a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff930f5d18 mach_msg + 64
2 libxpc.dylib 0x00007fff92ecca0c xpc_pipe_routine + 234
3 libxpc.dylib 0x00007fff92ed2c6f _xpc_domain_extension_request + 316
4 libdispatch.dylib 0x00007fff8704f2ad _dispatch_client_callout + 8
5 libdispatch.dylib 0x00007fff8705109e _dispatch_root_queue_drain + 326
6 libdispatch.dylib 0x00007fff87052193 _dispatch_worker_thread2 + 40
7 libsystem_pthread.dylib 0x00007fff909d7ef8 _pthread_wqthread + 314
8 libsystem_pthread.dylib 0x00007fff909dafb9 start_wqthread + 13

Thread 6:
0 libsystem_kernel.dylib 0x00007fff930fae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff909d7f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff909dafb9 start_wqthread + 13

Thread 7:
0 libsystem_kernel.dylib 0x00007fff930fa716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff909d8c3b _pthread_cond_wait + 727
2 com.apple.dock 0x000000010c402a9b 0x10c3d2000 + 199323
3 libsystem_pthread.dylib 0x00007fff909d6899 _pthread_body + 138
4 libsystem_pthread.dylib 0x00007fff909d672a _pthread_start + 137
5 libsystem_pthread.dylib 0x00007fff909dafc9 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fff77c91310 rcx: 0x00007fff5382d678 rdx: 0x0000000000000000
rdi: 0x0000000000000f07 rsi: 0x0000000000000006 rbp: 0x00007fff5382d6a0 rsp: 0x00007fff5382d678
r8: 0x00007fff86e70ab4 r9: 0x00007fff8cfe5900 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x00007fff5382d800 r13: 0x00007fff7722deb0 r14: 0x0000000000000006 r15: 0x00007fff5382d6e0
rip: 0x00007fff930fa866 rfl: 0x0000000000000206 cr2: 0x00007faf5aa2bffe

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133

That’s a very strange crash - on the face of it nothing relates to totalspaces at all. Are other crashes since you reinstalled (and installed 0.9.12) different, or the same as this one? (I mean the specific information - “Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: '- selector sent to instance” for instance.)

The randomness of this crash strongly suggests that there is a memory bug - either TotalSpaces is writing somewhere it shouldn’t, or using something after it was freed. I may need to put a call out locally to see if I can find some similar hardware to test on before this can be solved.

FYI: I have two 4GB RAM modules installed and indeed, one of them was damaged. A memory test could not be completed due some minor errors. So I removed the damaged one. Currently I’m working with one 4GB module which is free from any errors, and guess what: TotalSpaces crashes the dock again when using Grid View!..

Maybe I am really the only one with that particular problem.

Process: Dock [586]
Path: /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock
Identifier: com.apple.dock
Version: 1.8 (1314)
Build Info: Dock-1314000000000000~2
Code Type: X86-64 (Native)
Parent Process: launchd [162]
Responsible: Dock [586]
User ID: 501

PlugIn Path: /Library/ScriptingAdditions/TotalSpaces.osax/Contents/Resources/TotalSpaces.bundle/Contents/MacOS/FastSwitch2
PlugIn Identifier: com.binaryage.FastSwitch2
PlugIn Version: 0.9.12 (0.9.12)

Date/Time: 2013-10-16 01:19:32.673 +0200
OS Version: Mac OS X 10.9 (13A598)
Report Version: 11
Anonymous UUID: B2CC4247-1FB6-2410-17A1-EA9DB025FA86

Crashed Thread: 3

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called
terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument

Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff92f86a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92f85d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff94c08315 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff94c07939 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff94c07275 CFRunLoopRunSpecific + 309
5 com.apple.dock 0x0000000107175d73 0x107170000 + 23923
6 libdyld.dylib 0x00007fff8ee6b5fd start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff92f8b662 kevent64 + 10
1 libdispatch.dylib 0x00007fff8c38643d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff8c386152 _dispatch_mgr_thread + 52

Thread 2:
0 libsystem_kernel.dylib 0x00007fff92f8a716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff929cac3b _pthread_cond_wait + 727
2 com.apple.dock 0x00000001071a0a9b 0x107170000 + 199323
3 libsystem_pthread.dylib 0x00007fff929c8899 _pthread_body + 138
4 libsystem_pthread.dylib 0x00007fff929c872a _pthread_start + 137
5 libsystem_pthread.dylib 0x00007fff929ccfc9 thread_start + 13

Thread 3 Crashed:
0 libsystem_kernel.dylib 0x00007fff92f8a866 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff929c935c pthread_kill + 92
2 libsystem_c.dylib 0x00007fff93457bba abort + 125
3 libc++abi.dylib 0x00007fff8ecbd141 abort_message + 257
4 libc++abi.dylib 0x00007fff8ece2aa4 default_terminate_handler() + 240
5 libobjc.A.dylib 0x00007fff913ce322 _objc_terminate() + 124
6 libc++abi.dylib 0x00007fff8ece03e1 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fff8ece008b __cxa_rethrow + 109
8 libobjc.A.dylib 0x00007fff913ce049 objc_exception_rethrow + 40
9 com.apple.CoreFoundation 0x00007fff94c07308 CFRunLoopRunSpecific + 456
10 com.apple.Foundation 0x00007fff8e0d2a7c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 253
11 com.apple.Foundation 0x00007fff8e11b02b -[NSRunLoop(NSRunLoop) runUntilDate:] + 78
12 com.binaryage.FastSwitch2 0x000000010b784316 -[FastSwitch(DO) runConnection] + 221
13 com.apple.Foundation 0x00007fff8e0d070b NSThread__main + 1318
14 libsystem_pthread.dylib 0x00007fff929c8899 _pthread_body + 138
15 libsystem_pthread.dylib 0x00007fff929c872a _pthread_start + 137
16 libsystem_pthread.dylib 0x00007fff929ccfc9 thread_start + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff92f8ae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff929c9f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff929ccfb9 start_wqthread + 13

Thread 5:
0 libsystem_pthread.dylib 0x00007fff929ccfac start_wqthread + 0

Thread 6:
0 libsystem_pthread.dylib 0x00007fff929ccfac start_wqthread + 0

Thread 7:: Dispatch queue: com.apple.root.high-priority
0 libsystem_kernel.dylib 0x00007fff92f86a56 semaphore_wait_trap + 10
1 libdispatch.dylib 0x00007fff8c388a15 _dispatch_semaphore_wait_slow + 206
2 libxpc.dylib 0x00007fff8bbc1733 xpc_connection_send_message_with_reply_sync + 195
3 com.apple.CoreFoundation 0x00007fff94ba7588 _CFXNotificationPost + 1144
4 com.apple.Foundation 0x00007fff8e1087b4 -[NSDistributedNotificationCenter postNotificationName:object:userInfo:options:] + 73
5 com.binaryage.FastSwitch2 0x000000010b78d23b -[OverviewGrid unshow] + 432
6 com.binaryage.FastSwitch2 0x000000010b78ae6d BaSwizzleReplacement_WVSpaceSwitcher_369 + 110
7 com.apple.dock 0x0000000107390fa1 0x107170000 + 2232225
8 libdispatch.dylib 0x00007fff8c3842ad _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff8c3868a1 _dispatch_source_invoke + 413
10 libdispatch.dylib 0x00007fff8c385fa3 _dispatch_root_queue_drain + 75
11 libdispatch.dylib 0x00007fff8c387193 _dispatch_worker_thread2 + 40
12 libsystem_pthread.dylib 0x00007fff929c9ef8 _pthread_wqthread + 314
13 libsystem_pthread.dylib 0x00007fff929ccfb9 start_wqthread + 13

Thread 3 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000000010b977000 rcx: 0x000000010b976548 rdx: 0x0000000000000000
rdi: 0x0000000000010817 rsi: 0x0000000000000006 rbp: 0x000000010b976570 rsp: 0x000000010b976548
r8: 0x00007fff8ece3a87 r9: 0x00007fff9347f900 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x000000010b9766d0 r13: 0x00007fff798c6eb0 r14: 0x0000000000000006 r15: 0x000000010b9765b0
rip: 0x00007fff92f8a866 rfl: 0x0000000000000206 cr2: 0x0000000107a28000

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133

Ok, so now we’re back to the original crash. I thought that other crash was a bit random. But this one seems repeatable.

As far as I know it’s just your machine, but it may well be that I don’t have any other beta testers with the same hardware as you. I asked round the local community here, and found a similar aged machine - but 15" not 17". I shall try with that machine asap, and let you know if I discover anything.

Also I will study the code a bit more, and see if I can find any reason for this - it may be that it’s only happening on this hardware, but clearly TS is triggering it, so there must be a good reason for that.

I might also, if I may, send you a new version with some new changes, I just had a couple of ideas when looking through the crash report once more.

This application is heavily integrated into my daily workflow and means a lot to me. So I am always ready to help in any way I can. :blush:

OK, would you mind trying this version:

http://downloads.binaryage.com/TotalSpaces2-0.9.13.zip

It contains modifications to the way things are done when changing space from the grid (so affecting the code that seems to be causing the crash).

Fingers crossed that this has some effect.

I cannot believe… the crash is GONE!!!

A few minutes ago I was using the 12th version and could reproduce the crash. After installing the 13th version, dock didn’t crash one time! When I install the 12th version again, I can reproduce the crash. Many, many thanks for this long path. :blush:

There is just one line in the Console related to the Dock, maybe it’s a help. But the crash did not appear so far.

Ah, wow!

Thanks for your help with this!

It’s so wonderful to have someone willing to post crash logs and so on - remote debugging is never easy.

Let me know if any instability comes back.

I confess I don’t know what that message means, it is quite possibly nothing to do with TotalSpaces.

FYI: the 14th beta crashed the dock again. A reinstall of the 13th version + rebooting the machine fixed that issue.

Greetings

Oh no, and that’s odd - there was only one unrelated change in that code since 0.9.13.

Can you dig out the crash report for me? (the 1st page should be enough).

No single crash with 0.9.12 so far.

Hereby the log:

Process: Dock [78159]
Path: /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock
Identifier: com.apple.dock
Version: 1.8 (1314)
Build Info: Dock-1314000000000000~2
Code Type: X86-64 (Native)
Parent Process: launchd [162]
Responsible: Dock [78159]
User ID: 501

PlugIn Path: /Library/ScriptingAdditions/TotalSpaces.osax/Contents/Resources/TotalSpaces.bundle/Contents/MacOS/FastSwitch2
PlugIn Identifier: com.binaryage.FastSwitch2
PlugIn Version: 0.9.12 (0.9.12)

Date/Time: 2013-10-20 23:09:48.003 +0200
OS Version: Mac OS X 10.9 (13A598)
Report Version: 11
Anonymous UUID: B2CC4247-1FB6-2410-17A1-EA9DB025FA86

Sleep/Wake UUID: ED0E4D43-80C3-4601-8CC7-61A6048110AA

Crashed Thread: 6

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called
terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument

Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff92f86a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92f85d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff94c08315 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff94c07939 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff94c07275 CFRunLoopRunSpecific + 309
5 com.apple.dock 0x000000010f8a9d73 0x10f8a4000 + 23923
6 libdyld.dylib 0x00007fff8ee6b5fd start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff92f8b662 kevent64 + 10
1 libdispatch.dylib 0x00007fff8c38643d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff8c386152 _dispatch_mgr_thread + 52

Thread 2:: Dispatch queue: com.apple.root.high-priority
0 libsystem_kernel.dylib 0x00007fff92f86a56 semaphore_wait_trap + 10
1 libdispatch.dylib 0x00007fff8c388a15 _dispatch_semaphore_wait_slow + 206
2 libxpc.dylib 0x00007fff8bbc1733 xpc_connection_send_message_with_reply_sync + 195
3 com.apple.CoreFoundation 0x00007fff94ba7588 _CFXNotificationPost + 1144
4 com.apple.Foundation 0x00007fff8e1087b4 -[NSDistributedNotificationCenter postNotificationName:object:userInfo:options:] + 73
5 com.binaryage.FastSwitch2 0x000000011415223b -[OverviewGrid unshow] + 432
6 com.binaryage.FastSwitch2 0x000000011414fe6d BaSwizzleReplacement_WVSpaceSwitcher_369 + 110
7 com.apple.dock 0x000000010fac4fa1 0x10f8a4000 + 2232225
8 libdispatch.dylib 0x00007fff8c3842ad _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff8c3868a1 _dispatch_source_invoke + 413
10 libdispatch.dylib 0x00007fff8c385fa3 _dispatch_root_queue_drain + 75
11 libdispatch.dylib 0x00007fff8c387193 _dispatch_worker_thread2 + 40
12 libsystem_pthread.dylib 0x00007fff929c9ef8 _pthread_wqthread + 314
13 libsystem_pthread.dylib 0x00007fff929ccfb9 start_wqthread + 13

Thread 3:
0 libsystem_kernel.dylib 0x00007fff92f8ae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff929c9f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff929ccfb9 start_wqthread + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff92f8ae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff929c9f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff929ccfb9 start_wqthread + 13

Thread 5:
0 libsystem_kernel.dylib 0x00007fff92f8a716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff929cac3b _pthread_cond_wait + 727
2 com.apple.dock 0x000000010f8d4a9b 0x10f8a4000 + 199323
3 libsystem_pthread.dylib 0x00007fff929c8899 _pthread_body + 138
4 libsystem_pthread.dylib 0x00007fff929c872a _pthread_start + 137
5 libsystem_pthread.dylib 0x00007fff929ccfc9 thread_start + 13

Thread 6 Crashed:
0 libsystem_kernel.dylib 0x00007fff92f8a866 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff929c935c pthread_kill + 92
2 libsystem_c.dylib 0x00007fff93457bba abort + 125
3 libc++abi.dylib 0x00007fff8ecbd141 abort_message + 257
4 libc++abi.dylib 0x00007fff8ece2aa4 default_terminate_handler() + 240
5 libobjc.A.dylib 0x00007fff913ce322 _objc_terminate() + 124
6 libc++abi.dylib 0x00007fff8ece03e1 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fff8ece008b __cxa_rethrow + 109
8 libobjc.A.dylib 0x00007fff913ce049 objc_exception_rethrow + 40
9 com.apple.CoreFoundation 0x00007fff94c07308 CFRunLoopRunSpecific + 456
10 com.apple.Foundation 0x00007fff8e0d2a7c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 253
11 com.apple.Foundation 0x00007fff8e11b02b -[NSRunLoop(NSRunLoop) runUntilDate:] + 78
12 com.binaryage.FastSwitch2 0x0000000114149316 -[FastSwitch(DO) runConnection] + 221
13 com.apple.Foundation 0x00007fff8e0d070b NSThread__main + 1318
14 libsystem_pthread.dylib 0x00007fff929c8899 _pthread_body + 138
15 libsystem_pthread.dylib 0x00007fff929c872a _pthread_start + 137
16 libsystem_pthread.dylib 0x00007fff929ccfc9 thread_start + 13

Thread 7:
0 libsystem_kernel.dylib 0x00007fff92f8ae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff929c9f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff929ccfb9 start_wqthread + 13

Thread 6 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000000011433c000 rcx: 0x000000011433b548 rdx: 0x0000000000000000
rdi: 0x000000000001120b rsi: 0x0000000000000006 rbp: 0x000000011433b570 rsp: 0x000000011433b548
r8: 0x00007fff8ece3a87 r9: 0x00007fff9347f900 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x000000011433b6d0 r13: 0x00007fff798c6eb0 r14: 0x0000000000000006 r15: 0x000000011433b5b0
rip: 0x00007fff92f8a866 rfl: 0x0000000000000206 cr2: 0x00000001105c8000

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133

I’m a bit confused - this is a crash from 0.9.12.

Did 0.9.14 install properly?

Oh, sorry. That was the wrong file. After installing .14, dock crashed very often. Then I installed .12 again but it also crashed. After a reboot, no crash happened again.

Here is the log of the latest .14-crash.

Process: Dock [77975]
Path: /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock
Identifier: com.apple.dock
Version: 1.8 (1314)
Build Info: Dock-1314000000000000~2
Code Type: X86-64 (Native)
Parent Process: launchd [162]
Responsible: Dock [77975]
User ID: 501

PlugIn Path: /Library/ScriptingAdditions/TotalSpaces.osax/Contents/Resources/TotalSpaces.bundle/Contents/MacOS/FastSwitch2
PlugIn Identifier: com.binaryage.FastSwitch2
PlugIn Version: 0.9.14 (0.9.14)

Date/Time: 2013-10-20 23:07:00.937 +0200
OS Version: Mac OS X 10.9 (13A598)
Report Version: 11
Anonymous UUID: B2CC4247-1FB6-2410-17A1-EA9DB025FA86

Sleep/Wake UUID: ED0E4D43-80C3-4601-8CC7-61A6048110AA

Crashed Thread: 3

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called
terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument

Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff92f86a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92f85d18 mach_msg + 64
2 com.apple.CoreGraphics 0x00007fff941bea7b _CGSOrderWindow + 97
3 com.apple.CoreGraphics 0x00007fff941b37c9 CGSOrderWindowList + 124
4 com.apple.CoreGraphics 0x00007fff941d11d0 CGSOrderWindow + 40
5 com.binaryage.FastSwitch2 0x000000010bce2f3e -[GridView completeUnshow] + 78
6 com.binaryage.FastSwitch2 0x000000010bce3345 -[GridView callUnshowAnimation] + 423
7 com.binaryage.FastSwitch2 0x000000010bce30a5 -[GridView unshow] + 284
8 com.binaryage.FastSwitch2 0x000000010bccf13f -[OverviewGrid unshow] + 246
9 com.binaryage.FastSwitch2 0x000000010bccd233 __BaSwizzleReplacement_WVSpaceSwitcher_369_block_invoke + 95
10 libdispatch.dylib 0x00007fff8c3871d7 _dispatch_call_block_and_release + 12
11 libdispatch.dylib 0x00007fff8c3842ad _dispatch_client_callout + 8
12 libdispatch.dylib 0x00007fff8c38bf03 _dispatch_main_queue_callback_4CF + 333
13 com.apple.CoreFoundation 0x00007fff94c4c839 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
14 com.apple.CoreFoundation 0x00007fff94c07b14 __CFRunLoopRun + 1636
15 com.apple.CoreFoundation 0x00007fff94c07275 CFRunLoopRunSpecific + 309
16 com.apple.dock 0x0000000107207d73 0x107202000 + 23923
17 libdyld.dylib 0x00007fff8ee6b5fd start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff92f8b662 kevent64 + 10
1 libdispatch.dylib 0x00007fff8c38643d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff8c386152 _dispatch_mgr_thread + 52

Thread 2:
0 libsystem_kernel.dylib 0x00007fff92f8a716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff929cac3b _pthread_cond_wait + 727
2 com.apple.dock 0x0000000107232a9b 0x107202000 + 199323
3 libsystem_pthread.dylib 0x00007fff929c8899 _pthread_body + 138
4 libsystem_pthread.dylib 0x00007fff929c872a _pthread_start + 137
5 libsystem_pthread.dylib 0x00007fff929ccfc9 thread_start + 13

Thread 3 Crashed:
0 libsystem_kernel.dylib 0x00007fff92f8a866 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff929c935c pthread_kill + 92
2 libsystem_c.dylib 0x00007fff93457bba abort + 125
3 libc++abi.dylib 0x00007fff8ecbd141 abort_message + 257
4 libc++abi.dylib 0x00007fff8ece2aa4 default_terminate_handler() + 240
5 libobjc.A.dylib 0x00007fff913ce322 _objc_terminate() + 124
6 libc++abi.dylib 0x00007fff8ece03e1 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fff8ece008b __cxa_rethrow + 109
8 libobjc.A.dylib 0x00007fff913ce049 objc_exception_rethrow + 40
9 com.apple.CoreFoundation 0x00007fff94c07308 CFRunLoopRunSpecific + 456
10 com.apple.Foundation 0x00007fff8e0d2a7c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 253
11 com.apple.Foundation 0x00007fff8e11b02b -[NSRunLoop(NSRunLoop) runUntilDate:] + 78
12 com.binaryage.FastSwitch2 0x000000010bcc6256 -[FastSwitch(DO) runConnection] + 221
13 com.apple.Foundation 0x00007fff8e0d070b NSThread__main + 1318
14 libsystem_pthread.dylib 0x00007fff929c8899 _pthread_body + 138
15 libsystem_pthread.dylib 0x00007fff929c872a _pthread_start + 137
16 libsystem_pthread.dylib 0x00007fff929ccfc9 thread_start + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff92f8ae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff929c9f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff929ccfb9 start_wqthread + 13

Thread 5:
0 libsystem_kernel.dylib 0x00007fff92f8ae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff929c9f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff929ccfb9 start_wqthread + 13

Thread 6:
0 libsystem_kernel.dylib 0x00007fff92f8ae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff929c9f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff929ccfb9 start_wqthread + 13

Thread 3 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000000010beba000 rcx: 0x000000010beb9548 rdx: 0x0000000000000000
rdi: 0x0000000000011b0f rsi: 0x0000000000000006 rbp: 0x000000010beb9570 rsp: 0x000000010beb9548
r8: 0x00007fff8ece3a87 r9: 0x00007fff9347f900 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x000000010beb96d0 r13: 0x00007fff798c6eb0 r14: 0x0000000000000006 r15: 0x000000010beb95b0
rip: 0x00007fff92f8a866 rfl: 0x0000000000000206 cr2: 0x000000010bcf05f0

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133

But it was 0.9.13 that fixed the crash problem:

http://downloads.binaryage.com/TotalSpaces2-0.9.13.zip

But now I suspect it didn’t really fix it. 0.9.14 has the same code in that area. So maybe we just got lucky with something about the exact compilation of 0.9.13.

I will investigate this crash report.

Hi, one more to try:

http://downloads.binaryage.com/TotalSpaces2-0.9.15.zip

Thank you!

I think this is the most weird error ever I’ve had with an app as a mac user… It’s just weird.

Installed v14: dock crashed about every 6-7th time I entered GridView.
Installed v15: dock crashed just one time out of 100-150 GridViews.

I will look, what happens tomorrow.

Log v15:

Process: Dock [17893]
Path: /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock
Identifier: com.apple.dock
Version: 1.8 (1314)
Build Info: Dock-1314000000000000~2
Code Type: X86-64 (Native)
Parent Process: launchd [202]
Responsible: Dock [17893]
User ID: 501

PlugIn Path: /Library/ScriptingAdditions/TotalSpaces.osax/Contents/Resources/TotalSpaces.bundle/Contents/MacOS/FastSwitch2
PlugIn Identifier: com.binaryage.FastSwitch2
PlugIn Version: 0.9.15 (0.9.15)

Date/Time: 2013-10-21 22:53:25.899 +0200
OS Version: Mac OS X 10.9 (13A598)
Report Version: 11
Anonymous UUID: B2CC4247-1FB6-2410-17A1-EA9DB025FA86

Sleep/Wake UUID: 14C36438-9D2F-48EB-8C36-F00524DC63A8

Crashed Thread: 3

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called
terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument

Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff98e58a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff98e57d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff9aada315 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff9aad9939 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff9aad9275 CFRunLoopRunSpecific + 309
5 com.apple.dock 0x000000010699ad73 0x106995000 + 23923
6 libdyld.dylib 0x00007fff94d3d5fd start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff98e5d662 kevent64 + 10
1 libdispatch.dylib 0x00007fff9225843d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff92258152 _dispatch_mgr_thread + 52

Thread 2:
0 libsystem_kernel.dylib 0x00007fff98e5c716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9889cc3b _pthread_cond_wait + 727
2 com.apple.dock 0x00000001069c5a9b 0x106995000 + 199323
3 libsystem_pthread.dylib 0x00007fff9889a899 _pthread_body + 138
4 libsystem_pthread.dylib 0x00007fff9889a72a _pthread_start + 137
5 libsystem_pthread.dylib 0x00007fff9889efc9 thread_start + 13

Thread 3 Crashed:
0 libsystem_kernel.dylib 0x00007fff98e5c866 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff9889b35c pthread_kill + 92
2 libsystem_c.dylib 0x00007fff99329bba abort + 125
3 libc++abi.dylib 0x00007fff94b8f141 abort_message + 257
4 libc++abi.dylib 0x00007fff94bb4aa4 default_terminate_handler() + 240
5 libobjc.A.dylib 0x00007fff972a0322 _objc_terminate() + 124
6 libc++abi.dylib 0x00007fff94bb23e1 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fff94bb208b __cxa_rethrow + 109
8 libobjc.A.dylib 0x00007fff972a0049 objc_exception_rethrow + 40
9 com.apple.CoreFoundation 0x00007fff9aad9308 CFRunLoopRunSpecific + 456
10 com.apple.Foundation 0x00007fff93fa4a7c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 253
11 com.apple.Foundation 0x00007fff93fed02b -[NSRunLoop(NSRunLoop) runUntilDate:] + 78
12 com.binaryage.FastSwitch2 0x0000000107625226 -[FastSwitch(DO) runConnection] + 221
13 com.apple.Foundation 0x00007fff93fa270b NSThread__main + 1318
14 libsystem_pthread.dylib 0x00007fff9889a899 _pthread_body + 138
15 libsystem_pthread.dylib 0x00007fff9889a72a _pthread_start + 137
16 libsystem_pthread.dylib 0x00007fff9889efc9 thread_start + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff98e5ce6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9889bf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff9889efb9 start_wqthread + 13

Thread 5:
0 libsystem_pthread.dylib 0x00007fff9889efac start_wqthread + 0

Thread 6:
0 libsystem_kernel.dylib 0x00007fff98e5ce6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9889bf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff9889efb9 start_wqthread + 13

Thread 3 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000107819000 rcx: 0x0000000107818548 rdx: 0x0000000000000000
rdi: 0x000000000001190f rsi: 0x0000000000000006 rbp: 0x0000000107818570 rsp: 0x0000000107818548
r8: 0x00007fff94bb5a87 r9: 0x00007fff99351900 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x00000001078186d0 r13: 0x00007fff7f798eb0 r14: 0x0000000000000006 r15: 0x00000001078185b0
rip: 0x00007fff98e5c866 rfl: 0x0000000000000206 cr2: 0x000000010764f5f0

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133

Thanks. Yep, it’s weird indeed. Proving very hard to debug. But if .15 crashes much fewer, then I know exactly what I did (which was to adjust the timing of the unshow mechanism).

So in theory I can adjust it a little more. Let me know if you get any more crashes in the mean time. Thanks!

Why oh why did I upgraded TS to 2.0.10… :frowning:

Process: Dock [71875]
Path: /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock
Identifier: com.apple.dock
Version: 1.8 (1314)
Build Info: Dock-1314000000000000~2
Code Type: X86-64 (Native)
Parent Process: launchd [180]
Responsible: Dock [71875]
User ID: 501

Date/Time: 2013-11-19 10:08:12.861 +0100
OS Version: Mac OS X 10.9 (13A603)
Report Version: 11
Anonymous UUID: B2CC4247-1FB6-2410-17A1-EA9DB025FA86

Sleep/Wake UUID: A66A8CDA-0BBC-41EE-81B0-306276816CB9

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called
terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff9339f866 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff9208e35c pthread_kill + 92
2 libsystem_c.dylib 0x00007fff8fc4abba abort + 125
3 libc++abi.dylib 0x00007fff8c5af141 abort_message + 257
4 libc++abi.dylib 0x00007fff8c5d4aa4 default_terminate_handler() + 240
5 libobjc.A.dylib 0x00007fff898db322 _objc_terminate() + 124
6 libc++abi.dylib 0x00007fff8c5d23e1 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fff8c5d208b __cxa_rethrow + 109
8 libobjc.A.dylib 0x00007fff898db049 objc_exception_rethrow + 40
9 com.apple.CoreFoundation 0x00007fff91987308 CFRunLoopRunSpecific + 456
10 com.apple.dock 0x000000010e460d73 0x10e45b000 + 23923
11 libdyld.dylib 0x00007fff943f95fd start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff933a0662 kevent64 + 10
1 libdispatch.dylib 0x00007fff8c66543d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff8c665152 _dispatch_mgr_thread + 52

Thread 2:
0 libsystem_kernel.dylib 0x00007fff9339f716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9208fc3b _pthread_cond_wait + 727
2 com.apple.dock 0x000000010e48ba9b 0x10e45b000 + 199323
3 libsystem_pthread.dylib 0x00007fff9208d899 _pthread_body + 138
4 libsystem_pthread.dylib 0x00007fff9208d72a _pthread_start + 137
5 libsystem_pthread.dylib 0x00007fff92091fc9 thread_start + 13

Thread 3:
0 libsystem_kernel.dylib 0x00007fff9339ba1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff9339ad18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff91988315 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff91987939 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff91987275 CFRunLoopRunSpecific + 309
5 com.apple.Foundation 0x00007fff896a3889 -[NSConnection run] + 127
6 com.apple.Foundation 0x00007fff8962a70b NSThread__main + 1318
7 libsystem_pthread.dylib 0x00007fff9208d899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff9208d72a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff92091fc9 thread_start + 13

Thread 4:: Dispatch queue: com.apple.root.high-priority
0 libsystem_kernel.dylib 0x00007fff9339ba1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff9339ad18 mach_msg + 64
2 com.apple.CoreGraphics 0x00007fff9069da7b _CGSOrderWindow + 97
3 com.apple.CoreGraphics 0x00007fff906927c9 CGSOrderWindowList + 124
4 com.apple.CoreGraphics 0x00007fff906b01d0 CGSOrderWindow + 40
5 com.binaryage.FastSwitch2 0x000000010f277dd1 -[GridView completeUnshow] + 78
6 com.binaryage.FastSwitch2 0x000000010f2781f0 -[GridView callUnshowAnimation] + 423
7 com.binaryage.FastSwitch2 0x000000010f277f50 -[GridView unshow] + 284
8 com.binaryage.FastSwitch2 0x000000010f263c0a -[OverviewGrid unshow] + 246
9 com.binaryage.FastSwitch2 0x000000010f2616fe BaSwizzleReplacement_WVSpaceSwitcher_374 + 123
10 com.apple.dock 0x000000010e67bfa1 0x10e45b000 + 2232225
11 libdispatch.dylib 0x00007fff8c6632ad _dispatch_client_callout + 8
12 libdispatch.dylib 0x00007fff8c6658a1 _dispatch_source_invoke + 413
13 libdispatch.dylib 0x00007fff8c664fa3 _dispatch_root_queue_drain + 75
14 libdispatch.dylib 0x00007fff8c666193 _dispatch_worker_thread2 + 40
15 libsystem_pthread.dylib 0x00007fff9208eef8 _pthread_wqthread + 314
16 libsystem_pthread.dylib 0x00007fff92091fb9 start_wqthread + 13

Thread 5:
0 libsystem_kernel.dylib 0x00007fff9339fe6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9208ef08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff92091fb9 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fff79737310 rcx: 0x00007fff517a4648 rdx: 0x0000000000000000
rdi: 0x0000000000000f07 rsi: 0x0000000000000006 rbp: 0x00007fff517a4670 rsp: 0x00007fff517a4648
r8: 0x00007fff8c5d5a87 r9: 0x00007fff8fc72900 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x00007fff517a47d0 r13: 0x00007fff79661eb0 r14: 0x0000000000000006 r15: 0x00007fff517a46b0
rip: 0x00007fff9339f866 rfl: 0x0000000000000206 cr2: 0x000000010e6cb000

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133