TotalSpaces 2.6.21 - Crash when moving Chrome Windows between spaces on El Capitan

bug

#1

I just installed TotalSpaces 2.6.21 on El Capitan 10.11.6 (15G18013) and it crashes when you move Google Chrome windows from one space to another. This does not reproduce when I downgrade to 2.5.4:

12/16/17 2:58:42.309 PM Dock[726]: [TotalSpaces] *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil
12/16/17 2:58:42.309 PM Dock[726]: [TotalSpaces] (null)
12/16/17 2:58:42.309 PM Dock[726]: [TotalSpaces] (
	0   CoreFoundation                      0x00007fff8bb2b452 __exceptionPreprocess + 178
	1   libobjc.A.dylib                     0x00007fff8cb5273c objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff8ba41a90 checkForCloseTag + 0
	3   FastSwitch2                         0x0000000111d4cff1 -[WVExposeFacade moveWindows:toSpace:] + 315
	4   FastSwitch2                         0x0000000111d6740f -[GridView(Dragging) moveWindows:toGvSpaceIndex:] + 676
	5   FastSwitch2                         0x0000000111d684c4 -[GridView(Dragging) dropInNewGvSpaceIndex:wids:oldLayer:revertBlock:] + 824
	6   FastSwitch2                         0x0000000111d68de1 -[GridView(Dragging) dropWindowOrRevertWithOldPos:revertBlock:] + 1131
	7   FastSwitch2                         0x0000000111d69439 -[GridView(Dragging) draggedAction] + 711
	8   FastSwitch2                         0x0000000111d54405 -[GridView(Events) leftMouseUp:] + 877
	9   Dock                                0x000000010ac76741 Dock + 3225409
	10  Dock                                0x000000010a9b9340 Dock + 353088
	11  Dock                                0x000000010a9b7e56 Dock + 347734
	12  Dock                                0x000000010a9dac38 Dock + 490552
	13  HIServices                          0x00007fff9730b99f mshPerform + 11
	14  CoreFoundation                      0x00007fff8baa7f69 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
	15  CoreFoundation                      0x00007fff8baa7ed9 __CFRunLoopDoSource1 + 473
	16  CoreFoundation                      0x00007fff8ba9f90b __CFRunLoopRun + 2171
	17  CoreFoundation                      0x00007fff8ba9ee28 CFRunLoopRunSpecific + 296
	18  Dock                                0x000000010a9e9046 Dock + 548934
	19  Dock                                0x000000010ae2d97a Dock + 5024122
	20  Dock                                0x000000010a9e9046 Dock + 548934
	21  Dock                                0x000000010a9683c8 Dock + 21448
	22  libdyld.dylib                       0x00007fff9e0915ad start + 1
	23  ???                                 0x0000000000000001 0x0 + 1
)
12/16/17 2:58:42.310 PM Dock[726]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff8bb2b452 __exceptionPreprocess + 178
	1   libobjc.A.dylib                     0x00007fff8cb5273c objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff8ba41a90 checkForCloseTag + 0
	3   FastSwitch2                         0x0000000111d4cff1 -[WVExposeFacade moveWindows:toSpace:] + 315
	4   FastSwitch2                         0x0000000111d6740f -[GridView(Dragging) moveWindows:toGvSpaceIndex:] + 676
	5   FastSwitch2                         0x0000000111d684c4 -[GridView(Dragging) dropInNewGvSpaceIndex:wids:oldLayer:revertBlock:] + 824
	6   FastSwitch2                         0x0000000111d68de1 -[GridView(Dragging) dropWindowOrRevertWithOldPos:revertBlock:] + 1131
	7   FastSwitch2                         0x0000000111d69439 -[GridView(Dragging) draggedAction] + 711
	8   FastSwitch2                         0x0000000111d54405 -[GridView(Events) leftMouseUp:] + 877
	9   Dock                                0x000000010ac76741 Dock + 3225409
	10  Dock                                0x000000010a9b9340 Dock + 353088
	11  Dock                                0x000000010a9b7e56 Dock + 347734
	12  Dock                                0x000000010a9dac38 Dock + 490552
	13  HIServices                          0x00007fff9730b99f mshPerform + 11
	14  CoreFoundation                      0x00007fff8baa7f69 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
	15  CoreFoundation                      0x00007fff8baa7ed9 __CFRunLoopDoSource1 + 473
	16  CoreFoundation                      0x00007fff8ba9f90b __CFRunLoopRun + 2171
	17  CoreFoundation                      0x00007fff8ba9ee28 CFRunLoopRunSpecific + 296
	18  Dock                                0x000000010a9e9046 Dock + 548934
	19  Dock                                0x000000010ae2d97a Dock + 5024122
	20  Dock                                0x000000010a9e9046 Dock + 548934
	21  Dock                                0x000000010a9683c8 Dock + 21448
	22  libdyld.dylib                       0x00007fff9e0915ad start + 1
	23  ???                                 0x0000000000000001 0x0 + 1
)

I do have to say that I absolutely love TotalSpaces; I cannot use macOS without it and am so thankful that it was created. :slight_smile: I hope that you guys are able to resolve this bug; please let me know if you require any additional information!


#2

Thanks for the report. I’ll boot up El Cap and should be able to resolve it soon.


#3

I’ve been looking at this. It looks exactly like some reports we got for TotalSpaces 2.6.15, but this was actually fixed in 2.6.21.

Please check you really installed 2.6.21 (turn on pre-releases in General preferences in TotalSpaces2 to be offered this version - I didn’t put 2.6.21 on then general update channel yet.)


#4

I just turned on pre-releases and updated to 2.6.21; I must’ve updated to 2.6.15 and not realized that that wasn’t the latest version, as it seems to be fixed!

Thanks for taking a look and continuing to work on this awesome software! :smiley: