This is a bug report for "SourceTree 4.1.3 (239)"
Steps to reproduce:
- Checkout a local work branch (it has never been pushed since branched from baster; no remote branch tracked)
- Pull
- Select from master, rebase: YES.
The Git operation completed, the the UI crashed
Crash trace:
```
Process: Sourcetree [43249]
Path: /Applications/Sourcetree.app/Contents/MacOS/Sourcetree
Identifier: com.torusknot.SourceTreeNotMAS
Version: 4.1.3 (239)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Sourcetree [43249]
User ID: 501
Date/Time: 2021-09-16 12:24:31.406 +0100
OS Version: macOS 11.5.2 (20G95)
Report Version: 12
Bridge OS Version: 5.5 (18P4759a)
Anonymous UUID: 7A0DA7CE-5007-F358-A06B-76F502E19138
Sleep/Wake UUID: 63B9CFFE-87B5-47D2-A658-C7498B5CDD2A
Time Awake Since Boot: 130000 seconds
Time Since Wake: 11000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [43249]
Application Specific Information:
Crashing on exception: *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff2048783b __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff201bfd92 objc_exception_throw + 48
2 CoreFoundation 0x00007fff2053d2aa _CFThrowFormattedException + 202
3 CoreFoundation 0x00007fff20548d91 -[__NSPlaceholderDictionary initWithCapacity:].cold.1 + 0
4 CoreFoundation 0x00007fff20396e5d -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 251
5 CoreFoundation 0x00007fff20396d48 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49
6 Sourcetree 0x000000010be847c0 Sourcetree + 1091520
7 Sourcetree 0x000000010be88155 Sourcetree + 1106261
8 CoreFoundation 0x00007fff204030cd __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
9 CoreFoundation 0x00007fff2049eb1c ___CFXRegistrationPost_block_invoke + 49
10 CoreFoundation 0x00007fff2049ea9a _CFXRegistrationPost + 454
11 CoreFoundation 0x00007fff203d434e _CFXNotificationPost + 736
12 Foundation 0x00007fff21144bb8 -[NSNotificationCenter postNotificationName:object:userInfo:] + 59
13 AppKit 0x00007fff22d4ced0 -[NSTableView _sendSelectionChangedNotificationForRows:columns:] + 220
14 AppKit 0x00007fff22d4c667 -[NSTableView _doSelectIndexes:byExtendingSelection:indexType:funnelThroughSingleIndexVersion:] + 2603
15 AppKit 0x00007fff22d4bc2a -[NSTableView selectRowIndexes:byExtendingSelection:] + 116
16 AppKit 0x00007fff22e768e8 -[NSTableBinder _updateSelectionIndexes:] + 140
17 AppKit 0x00007fff22dec652 -[NSTableBinder _handleContentChange:] + 174
18 AppKit 0x00007fff22dec415 -[NSTableBinder observeValueForKeyPath:ofObject:change:context:] + 56
19 Foundation 0x00007fff2116fd6c NSKeyValueNotifyObserver + 327
20 Foundation 0x00007fff2116a32f -[NSObject(NSKeyValueObservingPrivate) _notifyObserversForKeyPath:change:] + 930
21 AppKit 0x00007fff22bf0f56 -[NSController _notifyObserversForKeyPath:change:] + 188
22 AppKit 0x00007fff22c96be2 -[NSArrayController didChangeValuesForArrangedKeys:objectKeys:indexKeys:] + 53
23 AppKit 0x00007fff22c95811 -[NSArrayController setContent:] + 682
24 AppKit 0x00007fff22e772cf -[NSArrayDetailBinder _refreshDetailContentInBackground:] + 1202
25 Foundation 0x00007fff2116fd6c NSKeyValueNotifyObserver + 327
26 Foundation 0x00007fff21236dd0 NSKeyValueDidChange + 431
27 Foundation 0x00007fff21162991 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 745
28 Foundation 0x00007fff2118dad6 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 68
29 Foundation 0x00007fff211aadfb _NSSetObjectValueAndNotify + 269
30 Sourcetree 0x000000010be85d87 Sourcetree + 1097095
31 Sourcetree 0x000000010be86b82 Sourcetree + 1100674
32 libdispatch.dylib 0x00007fff20169623 _dispatch_call_block_and_release + 12
33 libdispatch.dylib 0x00007fff2016a806 _dispatch_client_callout + 8
34 libdispatch.dylib 0x00007fff20176b4f _dispatch_main_queue_callback_4CF + 940
35 CoreFoundation 0x00007fff2044a5a8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
36 CoreFoundation 0x00007fff2040c7a2 __CFRunLoopRun + 2755
37 CoreFoundation 0x00007fff2040b61c CFRunLoopRunSpecific + 563
38 Foundation 0x00007fff2122b1bf -[NSConcreteTask waitUntilExit] + 324
39 Sourcetree 0x000000010bdc2124 Sourcetree + 295204
40 Sourcetree 0x000000010be976a1 Sourcetree + 1169057
41 Sourcetree 0x000000010beb7b48 Sourcetree + 1301320
42 Sourcetree 0x000000010bdb7719 Sourcetree + 251673
43 Sourcetree 0x000000010bedf261 Sourcetree + 1462881
44 Sourcetree 0x000000010bdfcf28 Sourcetree + 536360
45 AppKit 0x00007fff234cdb5f NSWindowEndWindowModalSession + 388
46 Sourcetree 0x000000010bdfd9ac Sourcetree + 539052
47 Sourcetree 0x000000010bdfc260 Sourcetree + 533088
48 Sourcetree 0x000000010bdfc81c Sourcetree + 534556
49 CoreFoundation 0x00007fff204030cd __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
50 CoreFoundation 0x00007fff2049eb1c ___CFXRegistrationPost_block_invoke + 49
51 CoreFoundation 0x00007fff2049ea9a _CFXRegistrationPost + 454
52 CoreFoundation 0x00007fff203d434e _CFXNotificationPost + 736
53 Foundation 0x00007fff21144bb8 -[NSNotificationCenter postNotificationName:object:userInfo:] + 59
54 Sourcetree 0x000000010bdc2f77 Sourcetree + 298871
55 CoreFoundation 0x00007fff204030cd __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
56 CoreFoundation 0x00007fff2049eb1c ___CFXRegistrationPost_block_invoke + 49
57 CoreFoundation 0x00007fff2049ea9a _CFXRegistrationPost + 454
58 CoreFoundation 0x00007fff203d434e _CFXNotificationPost + 736
59 Foundation 0x00007fff21144bb8 -[NSNotificationCenter postNotificationName:object:userInfo:] + 59
60 CoreFoundation 0x00007fff2040d4e2 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
61 CoreFoundation 0x00007fff2040d393 __CFRunLoopDoBlocks + 440
62 CoreFoundation 0x00007fff2040c6fc __CFRunLoopRun + 2589
63 CoreFoundation 0x00007fff2040b61c CFRunLoopRunSpecific + 563
64 HIToolbox 0x00007fff28651a83 RunCurrentEventLoopInMode + 292
65 HIToolbox 0x00007fff286517e5 ReceiveNextEventCommon + 587
66 HIToolbox 0x00007fff28651583 _BlockUntilNextEventMatchingListInModeWithFilter + 70
67 AppKit 0x00007fff22c13172 _DPSNextEvent + 864
68 AppKit 0x00007fff22c11945 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364
69 AppKit 0x00007fff22c03c69 -[NSApplication run] + 586
70 AppKit 0x00007fff22bd7e6c NSApplicationMain + 816
71 libdyld.dylib 0x00007fff2032ff3d start + 1
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.AppKit 0x00007fff22fbf2f8 -[NSApplication _crashOnException:] + 347
1 com.apple.AppKit 0x00007fff22fbf007 -[NSApplication reportException:] + 732
2 com.apple.AppKit 0x00007fff23072d20 uncaughtErrorProc + 145
3 com.apple.CoreFoundation 0x00007fff20503f42 __handleUncaughtException + 716
4 libobjc.A.dylib 0x00007fff201c2587 _objc_terminate() + 90
5 libc++abi.dylib 0x00007fff202d7307 std::__terminate(void (*)()) + 8
6 libc++abi.dylib 0x00007fff202d72a9 std::terminate() + 41
7 libdispatch.dylib 0x00007fff2016a81a _dispatch_client_callout + 28
8 libdispatch.dylib 0x00007fff20176b4f _dispatch_main_queue_callback_4CF + 940
9 com.apple.CoreFoundation 0x00007fff2044a5a8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
10 com.apple.CoreFoundation 0x00007fff2040c7a2 __CFRunLoopRun + 2755
11 com.apple.CoreFoundation 0x00007fff2040b61c CFRunLoopRunSpecific + 563
12 com.apple.Foundation 0x00007fff2122b1bf -[NSConcreteTask waitUntilExit] + 324
13 com.torusknot.SourceTreeNotMAS 0x000000010bdc2124 0x10bd7a000 + 295204
14 com.torusknot.SourceTreeNotMAS 0x000000010be976a1 0x10bd7a000 + 1169057
15 com.torusknot.SourceTreeNotMAS 0x000000010beb7b48 0x10bd7a000 + 1301320
16 com.torusknot.SourceTreeNotMAS 0x000000010bdb7719 0x10bd7a000 + 251673
17 com.torusknot.SourceTreeNotMAS 0x000000010bedf261 0x10bd7a000 + 1462881
18 com.torusknot.SourceTreeNotMAS 0x000000010bdfcf28 0x10bd7a000 + 536360
19 com.apple.AppKit 0x00007fff234cdb5f NSWindowEndWindowModalSession + 388
20 com.torusknot.SourceTreeNotMAS 0x000000010bdfd9ac 0x10bd7a000 + 539052
21 com.torusknot.SourceTreeNotMAS 0x000000010bdfc260 0x10bd7a000 + 533088
22 com.torusknot.SourceTreeNotMAS 0x000000010bdfc81c 0x10bd7a000 + 534556
23 com.apple.CoreFoundation 0x00007fff204030cd __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
24 com.apple.CoreFoundation 0x00007fff2049eb1c ___CFXRegistrationPost_block_invoke + 49
25 com.apple.CoreFoundation 0x00007fff2049ea9a _CFXRegistrationPost + 454
26 com.apple.CoreFoundation 0x00007fff203d434e _CFXNotificationPost + 736
27 com.apple.Foundation 0x00007fff21144bb8 -[NSNotificationCenter postNotificationName:object:userInfo:] + 59
28 com.torusknot.SourceTreeNotMAS 0x000000010bdc2f77 0x10bd7a000 + 298871
29 com.apple.CoreFoundation 0x00007fff204030cd __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
30 com.apple.CoreFoundation 0x00007fff2049eb1c ___CFXRegistrationPost_block_invoke + 49
31 com.apple.CoreFoundation 0x00007fff2049ea9a _CFXRegistrationPost + 454
32 com.apple.CoreFoundation 0x00007fff203d434e _CFXNotificationPost + 736
33 com.apple.Foundation 0x00007fff21144bb8 -[NSNotificationCenter postNotificationName:object:userInfo:] + 59
34 com.apple.CoreFoundation 0x00007fff2040d4e2 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
35 com.apple.CoreFoundation 0x00007fff2040d393 __CFRunLoopDoBlocks + 440
36 com.apple.CoreFoundation 0x00007fff2040c6fc __CFRunLoopRun + 2589
37 com.apple.CoreFoundation 0x00007fff2040b61c CFRunLoopRunSpecific + 563
38 com.apple.HIToolbox 0x00007fff28651a83 RunCurrentEventLoopInMode + 292
39 com.apple.HIToolbox 0x00007fff286517e5 ReceiveNextEventCommon + 587
40 com.apple.HIToolbox 0x00007fff28651583 _BlockUntilNextEventMatchingListInModeWithFilter + 70
41 com.apple.AppKit 0x00007fff22c13172 _DPSNextEvent + 864
42 com.apple.AppKit 0x00007fff22c11945 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364
43 com.apple.AppKit 0x00007fff22c03c69 -[NSApplication run] + 586
44 com.apple.AppKit 0x00007fff22bd7e6c NSApplicationMain + 816
45 libdyld.dylib 0x00007fff2032ff3d start + 1
```