After upgrade Sourcetree 4.1.3 Mac crashes when you interact with it
Asked by David at David Simpson Apps:

Sourcetree/Mac was working just fine until it asked to be updated. Like a fool, I thought nothing of it and updated. Now I have this version:![Screenshot 2021-08-19 at 11.55.19.png](/t5/image/serverpage/image-id/156720iEACE54AFC565E69E/image-dimensions/485x269?v=v2 "Screenshot 2021-08-19 at 11.55.19.png")  

When I try to open a repository, or select a file to do a commit on an already open repo, it crashes:

![Screenshot 2021-08-19 at 11.54.54.png](/t5/image/serverpage/image-id/156731iC3DDCA6EAE5A1E2E/image-size/large?v=v2&px=999 "Screenshot 2021-08-19 at 11.54.54.png")

<br />

The error I see is:

```
Process: Sourcetree [89885]
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 [89885]
...

Date/Time: 2021-08-19 12:07:51.363 +0100
OS Version: Mac OS X 10.15.7 (19H1217)
Report Version: 12
...

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 [89885]

Application Specific Information:
Crashing on exception: Couldn't posix_spawn: error 9

Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff31347627 __exceptionPreprocess + 250
1 libobjc.A.dylib 0x00007fff6a2275bf objc_exception_throw + 48
2 Foundation 0x00007fff33a0a971 -[NSConcreteTask launchWithDictionary:error:] + 4993
3 Sourcetree 0x0000000106cb4002 Sourcetree + 860162
4 Sourcetree 0x0000000106cb1875 Sourcetree + 850037
5 Sourcetree 0x0000000106cd5b88 Sourcetree + 998280
6 AppKit 0x00007fff2e7351de -[NSWindowController _windowDidLoad] + 624
7 AppKit 0x00007fff2e730f94 -[NSWindowController window] + 110
8 AppKit 0x00007fff2e7b3a62 -[NSWindowController showWindow:] + 36
9 Sourcetree 0x0000000106cd5b54 Sourcetree + 998228
10 Sourcetree 0x0000000106d0230a Sourcetree + 1180426
11 Sourcetree 0x0000000106c10506 Sourcetree + 189702
12 Sourcetree 0x0000000106c10681 Sourcetree + 190081
13 Sourcetree 0x0000000106c1080c Sourcetree + 190476
14 Sourcetree 0x0000000106c109cf Sourcetree + 190927
15 Sourcetree 0x0000000106db3a24 Sourcetree + 1907236
16 Sourcetree 0x0000000106db3aea Sourcetree + 1907434
17 AppKit 0x00007fff2e77e7a7 -[NSApplication(NSResponder) sendAction:to:from:] + 299
18 AppKit 0x00007fff2e77e642 -[NSControl sendAction:to:] + 86
19 AppKit 0x00007fff2e8decd6 -[NSTableView _sendAction:to:row:column:] + 114
20 AppKit 0x00007fff2e8dd266 -[NSTableView mouseDown:] + 6785
21 AppKit 0x00007fff2e8db5f5 -[NSOutlineView mouseDown:] + 73
22 AppKit 0x00007fff2e7775f0 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 4914
23 AppKit 0x00007fff2e6e1e21 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2612
24 AppKit 0x00007fff2e6e11c9 -[NSWindow(NSEventRouting) sendEvent:] + 349
25 AppKit 0x00007fff2e6df554 -[NSApplication(NSEvent) sendEvent:] + 352
26 AppKit 0x00007fff2e52c5bf -[NSApplication run] + 707
27 AppKit 0x00007fff2e4fe396 NSApplicationMain + 777
28 libdyld.dylib 0x00007fff6b3cfcc9 start + 1
29 ??? 0x0000000000000001 0x0 + 1

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.AppKit 0x00007fff2e91e373 -[NSApplication _crashOnException:] + 106
1 com.apple.AppKit 0x00007fff2e91e256 -[NSApplication reportException:] + 901
2 com.apple.AppKit 0x00007fff2e52c640 -[NSApplication run] + 836
3 com.apple.AppKit 0x00007fff2e4fe396 NSApplicationMain + 777
4 libdyld.dylib 0x00007fff6b3cfcc9 start + 1

Thread 1:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff6b510dfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6b511170 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff312cb985 __CFRunLoopServiceMachPort + 247
3 com.apple.CoreFoundation 0x00007fff312ca452 __CFRunLoopRun + 1319
4 com.apple.CoreFoundation 0x00007fff312c98ce CFRunLoopRunSpecific + 462
5 com.apple.AppKit 0x00007fff2e6dd954 _NSEventThread + 132
6 libsystem_pthread.dylib 0x00007fff6b5d4109 _pthread_start + 148
7 libsystem_pthread.dylib 0x00007fff6b5cfb8b thread_start + 15

Thread 2:
0 libsystem_pthread.dylib 0x00007fff6b5cfb68 start_wqthread + 0

Thread 3:: Dispatch queue: com.apple.root.user-initiated-qos
0 libsystem_kernel.dylib 0x00007fff6b51181e read + 10
1 com.apple.Foundation 0x00007fff33931b9e _NSReadFromFileDescriptorWithProgress + 232
2 com.apple.Foundation 0x00007fff33951da9 -[NSConcreteFileHandle readDataOfLength:] + 404
3 com.torusknot.SourceTreeNotMAS 0x0000000106c2a252 0x106be2000 + 295506
4 com.torusknot.SourceTreeNotMAS 0x0000000106c2b989 0x106be2000 + 301449
5 com.torusknot.SourceTreeNotMAS 0x0000000106c2a113 0x106be2000 + 295187
6 com.torusknot.SourceTreeNotMAS 0x0000000106d04dea 0x106be2000 + 1191402
7 com.torusknot.SourceTreeNotMAS 0x0000000106ceb503 0x106be2000 + 1086723
8 libdispatch.dylib 0x00007fff6b3756c4 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x00007fff6b376658 _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff6b384bfc _dispatch_root_queue_drain + 1003
11 libdispatch.dylib 0x00007fff6b385097 _dispatch_worker_thread2 + 92
12 libsystem_pthread.dylib 0x00007fff6b5d09f7 _pthread_wqthread + 220
13 libsystem_pthread.dylib 0x00007fff6b5cfb77 start_wqthread + 15

Thread 4:: Dispatch queue: com.apple.root.default-qos
0 libsystem_kernel.dylib 0x00007fff6b51255e __ulock_wait + 10
1 libdispatch.dylib 0x00007fff6b376e29 _dlock_wait + 44
2 libdispatch.dylib 0x00007fff6b3770b7 _dispatch_group_wait_slow + 43
3 com.torusknot.SourceTreeNotMAS 0x0000000106cea3a2 0x106be2000 + 1082274
4 com.torusknot.SourceTreeNotMAS 0x0000000106cec2ac 0x106be2000 + 1090220
5 libdispatch.dylib 0x00007fff6b3756c4 _dispatch_call_block_and_release + 12
6 libdispatch.dylib 0x00007fff6b376658 _dispatch_client_callout + 8
7 libdispatch.dylib 0x00007fff6b3784b0 _dispatch_queue_override_invoke + 763
8 libdispatch.dylib 0x00007fff6b384957 _dispatch_root_queue_drain + 326
9 libdispatch.dylib 0x00007fff6b385097 _dispatch_worker_thread2 + 92
10 libsystem_pthread.dylib 0x00007fff6b5d09f7 _pthread_wqthread + 220
11 libsystem_pthread.dylib 0x00007fff6b5cfb77 start_wqthread + 15

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

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

Thread 7:: Dispatch queue: com.apple.root.default-qos
0 libsystem_kernel.dylib 0x00007fff6b51255e __ulock_wait + 10
1 libdispatch.dylib 0x00007fff6b376e29 _dlock_wait + 44
2 libdispatch.dylib 0x00007fff6b3770b7 _dispatch_group_wait_slow + 43
3 com.torusknot.SourceTreeNotMAS 0x0000000106cc7b78 0x106be2000 + 940920
4 libdispatch.dylib 0x00007fff6b3756c4 _dispatch_call_block_and_release + 12
5 libdispatch.dylib 0x00007fff6b376658 _dispatch_client_callout + 8
6 libdispatch.dylib 0x00007fff6b3784b0 _dispatch_queue_override_invoke + 763
7 libdispatch.dylib 0x00007fff6b384957 _dispatch_root_queue_drain + 326
8 libdispatch.dylib 0x00007fff6b385097 _dispatch_worker_thread2 + 92
9 libsystem_pthread.dylib 0x00007fff6b5d09f7 _pthread_wqthread + 220
10 libsystem_pthread.dylib 0x00007fff6b5cfb77 start_wqthread + 15

Thread 8:: Dispatch queue: com.apple.root.default-qos
0 libsystem_kernel.dylib 0x00007fff6b510dfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6b511170 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff312cb985 __CFRunLoopServiceMachPort + 247
3 com.apple.CoreFoundation 0x00007fff312ca452 __CFRunLoopRun + 1319
4 com.apple.CoreFoundation 0x00007fff312c98ce CFRunLoopRunSpecific + 462
5 com.apple.Foundation 0x00007fff33a19200 -[NSConcreteTask waitUntilExit] + 325
6 com.torusknot.SourceTreeNotMAS 0x0000000106c2b9b0 0x106be2000 + 301488
7 com.torusknot.SourceTreeNotMAS 0x0000000106c2a113 0x106be2000 + 295187
8 com.torusknot.SourceTreeNotMAS 0x0000000106d15e18 0x106be2000 + 1261080
9 com.torusknot.SourceTreeNotMAS 0x0000000106cc7dc0 0x106be2000 + 941504
10 libdispatch.dylib 0x00007fff6b3756c4 _dispatch_call_block_and_release + 12
11 libdispatch.dylib 0x00007fff6b376658 _dispatch_client_callout + 8
12 libdispatch.dylib 0x00007fff6b3785b0 _dispatch_queue_override_invoke + 1019
13 libdispatch.dylib 0x00007fff6b384957 _dispatch_root_queue_drain + 326
14 libdispatch.dylib 0x00007fff6b385097 _dispatch_worker_thread2 + 92
15 libsystem_pthread.dylib 0x00007fff6b5d09f7 _pthread_wqthread + 220
16 libsystem_pthread.dylib 0x00007fff6b5cfb77 start_wqthread + 15

Thread 9:
0 libsystem_pthread.dylib 0x00007fff6b5cfb68 start_wqthread + 0

Thread 10:
0 libsystem_pthread.dylib 0x00007fff6b5cfb68 start_wqthread + 0

Thread 11:: JavaScriptCore bmalloc scavenger
0 libsystem_kernel.dylib 0x00007fff6b513882 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff6b5d4425 _pthread_cond_wait + 698
2 libc++.1.dylib 0x00007fff686a2623 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 93
3 com.apple.JavaScriptCore 0x00007fff35acdc35 bmalloc::Scavenger::threadRunLoop() + 741
4 com.apple.JavaScriptCore 0x00007fff35acd649 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 9
5 com.apple.JavaScriptCore 0x00007fff35acfd27 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) + 39
6 libsystem_pthread.dylib 0x00007fff6b5d4109 _pthread_start + 148
7 libsystem_pthread.dylib 0x00007fff6b5cfb8b thread_start + 15

Thread 12:: com.apple.coreanimation.render-server
0 libsystem_kernel.dylib 0x00007fff6b510dfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6b511170 mach_msg + 60
2 com.apple.QuartzCore 0x00007fff3ce00c8e CA::Render::Server::server_thread(void*) + 496
3 com.apple.QuartzCore 0x00007fff3ce00a97 thread_fun(void*) + 25
4 libsystem_pthread.dylib 0x00007fff6b5d4109 _pthread_start + 148
5 libsystem_pthread.dylib 0x00007fff6b5cfb8b thread_start + 15

Thread 13:
0 libsystem_pthread.dylib 0x00007fff6b5cfb68 start_wqthread + 0

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00007f940d945c00 rbx: 0x00006000039d81e0 rcx: 0x944ab4e545030082 rdx: 0x0000000000000001
rdi: 0x00007ffee901d510 rsi: 0x0000000000000a9d rbp: 0x00007ffee901d980 rsp: 0x00007ffee901d970
r8: 0x0000000000000a00 r9: 0x00007f940d94669d r10: 0x000000000000009d r11: 0x00007ffee901d14a
r12: 0x00006000039d81e0 r13: 0x00007fff6a21a800 r14: 0x00007fff6a21a800 r15: 0x0000600000150000
rip: 0x00007fff2e91e373 rfl: 0x0000000000010202 cr2: 0x00007fa077088b78

Logical CPU: 4
Error Code: 0x00000000
Trap Number: 6
...


External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 1
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 1431209
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=777.5M resident=0K(0%) swapped_out_or_unallocated=777.5M(100%)
Writable regions: Total=692.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=692.8M(100%)

...

Model: MacBookPro11,3, BootROM 431.0.0.0.0, 4 processors, Quad-Core Intel Core i7, 2.3 GHz, 16 GB, SMC 2.19f12
...
```

<br />

I uninstalled and reinstalled, but the behaviour continues.


Answers:
author: David at David Simpson Apps
body: OK, thanks to [@Miro XY](https://community.atlassian.com/t5/user/viewprofilepage/user-id/4478373) for [this answer](https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-Crashes-when-Cloning-a-Repository/qaq-p/1750018#M39062), I also have solved it...

Steps are:

1. Uninstall Sourcetree
2. Delete **\~/Library/Application\\ Support/Sourcetree**
3. Reinstall Sourcetree

Maybe you can just get away with closing Sourcetree and deleting it's application support directory ?

comments: author: Sofia Lu
body: works for me


author: Mathias Tunared
body: Crashes for in version 4.1.9. Please fix it.

Going to use command line until next update...


author: Chris Blouch
body: I had the same thing happen today. Did the automatic update and after that the app crashed every time I launched it on MacOS 12.4. Noticed that the app still said it was version 4.1.8 so I think the updater might have changed the config files but the app update itself failed. I trashed the app and downloaded a fresh 4.1.9 and that seemed to make everything happy again.


author: Chris Blouch
body: I should qualify "everything happy" from my previous comment. There were a few repos that, when opened in Sourcetree, would also cause it to crash. As they were just used for testing and had no uncommitted changes, I deleted them and checked them out again. Out of the 45 repos I have in SourceTree I think I had to do this with three. Maybe those delete and re-add steps also refreshed some config file that made things stable again.


author: Arian Cabezas Regal
body: This solution also worked for me.   
Thanks y'all!


author: TheKingArthas
body: Seems to work. Thanks!


author: Markus Stoll
body: I finally solved this issue by moving to another git client.

comments: author: Hesham Pasha
body: hahahah


author: darkice-matt-crombie
body: Deleting all configuration is not a very good solution solution. Very **very**poor delivery of an update from a software company dedicated to software developers.

Going back to 4.1.2 from <https://www.sourcetreeapp.com/download-archives> out of a lack of trust in the lack of testing in 4.1.3.

Also for other users you can get *most* config back if you you copy then delete **\~/Library/Application\\ Support/Sourcetree**then replace as many files as possible to get Sourcetree opening again.

Note: **don't**replace browser.plist as this needs regenerating from what I've observed.

From there you need to open your local repos (this could take quite a while with nothing more than a spinner on screen and Sourcetree not responding - I have 60 - 70 projects in main project folder and took around 20mins on a very decent machine, waiting it out won in the end), re-signin to all of your repos, devops etc accounts and re-signin to Atlassian.

To cap off if the above doesn't work then after all that a good old fashioned restart of machine seems to fix it after all of those steps.

Won't be doing an update for a long time now after this.

Hope you take the feedback on board @\[deleted\] , whilst I appreciate it's free software it's a very poor result and will be forced to consider alternatives in the future if this sort of thing keeps happening.


author: Dominique Pijnenburg
body: Removing the Application Support folder (only keeping the browser.plist file) doesn't solve this for me. Reverting to version 4.1.2 for now.

comments: author: Dominique Pijnenburg
body: Still experiencing this problem with SourceTree 4.1.8.


author: woodj80
body: I am running MacOS 10.14.6. I tried deleting the Application Support directory after updating, it did not fix the problem. I tried reinstalling the newest SourceTree entirely, it did not fix the problem. I had to revert to SourceTree 4.1.6 with my TimeMachine backups. That fixed my problems. I will have to be a lot more careful updating SourceTree in the future it looks like.


author: Steve Swinsburg
body: I've been getting random lockups for a few months if I stage a file for commit then click another one 'too fast', but now constant crashing on opening. I am on 4.1.8.


author: ????????? ?? HACK
body: **ContextData.x**


author: Bean
body: Same problem here. After updating from 4.1.3 to 4.1.4(240).

```
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process: Sourcetree [57742]
Path: /Applications/Sourcetree.app/Contents/MacOS/Sourcetree
Identifier: com.torusknot.SourceTreeNotMAS
Version: 4.1.4 (240)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2021-11-25 09:55:44.3400 +0800
OS Version: macOS 12.0.1 (21A559)
Report Version: 12
Bridge OS Version: 6.0 (19P548)
Anonymous UUID: BC3EB5C9-A1EE-0C91-70EA-6D97C29E51EF

Sleep/Wake UUID: 3D2793D1-53CE-4193-8756-7B4E0C6802F3

Time Awake Since Boot: 290000 seconds
Time Since Wake: 1245 seconds

System Integrity Protection: enabled

Crashed Thread: 10 Dispatch queue: com.apple.root.default-qos

Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process: exc handler [57742]

Application Specific Backtrace 0:
0 CoreFoundation 0x00007ff80239be5b __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff8020fcb9d objc_exception_throw + 48
2 CoreFoundation 0x00007ff8022cd0f2 -[__NSArrayM copyWithZone:] + 0
3 Sourcetree 0x00000001039fa3b4 Sourcetree + 1557428
4 Sourcetree 0x00000001039fa225 Sourcetree + 1557029
5 Sourcetree 0x00000001039fac04 Sourcetree + 1559556
6 Sourcetree 0x00000001039fa44a Sourcetree + 1557578
7 Sourcetree 0x0000000103aa9721 Sourcetree + 2275105
8 Sourcetree 0x0000000103aa932d Sourcetree + 2274093
9 Sourcetree 0x0000000103aa91b7 Sourcetree + 2273719
10 Sourcetree 0x0000000103aa9106 Sourcetree + 2273542
11 Sourcetree 0x0000000103aa8f0b Sourcetree + 2273035
12 libdispatch.dylib 0x00007ff8020a2cc9 _dispatch_client_callout + 8
13 libdispatch.dylib 0x00007ff8020a5746 _dispatch_continuation_pop + 460
14 libdispatch.dylib 0x00007ff8020b6a5a _dispatch_source_invoke + 2150
15 libdispatch.dylib 0x00007ff8020b23ba _dispatch_root_queue_drain + 343
16 libdispatch.dylib 0x00007ff8020b2b5a _dispatch_worker_thread2 + 160
17 libsystem_pthread.dylib 0x00007ff802256049 _pthread_wqthread + 256
18 libsystem_pthread.dylib 0x00007ff80225501b start_wqthread + 15


Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x7ff80221caba mach_msg_trap + 10
1 libsystem_kernel.dylib 0x7ff80221ce2b mach_msg + 59
2 CoreFoundation 0x7ff802320a42 __CFRunLoopServiceMachPort + 319
3 CoreFoundation 0x7ff80231f11b __CFRunLoopRun + 1325
4 CoreFoundation 0x7ff80231e52d CFRunLoopRunSpecific + 563
5 HIToolbox 0x7ff80af3c3e1 RunCurrentEventLoopInMode + 292
6 HIToolbox 0x7ff80af3c137 ReceiveNextEventCommon + 587
7 HIToolbox 0x7ff80af3bed5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
8 AppKit 0x7ff804d498f0 _DPSNextEvent + 886
9 AppKit 0x7ff804d47f5c -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1411
10 AppKit 0x7ff804d3a359 -[NSApplication run] + 586
11 AppKit 0x7ff804d0e1f8 NSApplicationMain + 816
12 dyld 0x110e9c4fe start + 462

Thread 1:
0 libsystem_pthread.dylib 0x7ff80225500c start_wqthread + 0

Thread 2:
0 libsystem_pthread.dylib 0x7ff80225500c start_wqthread + 0

Thread 3:
0 libsystem_pthread.dylib 0x7ff80225500c start_wqthread + 0

Thread 4:
0 libsystem_pthread.dylib 0x7ff80225500c start_wqthread + 0

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

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

Thread 7:
0 libsystem_pthread.dylib 0x7ff80225500c start_wqthread + 0

Thread 8:
0 libsystem_pthread.dylib 0x7ff80225500c start_wqthread + 0

Thread 9:
0 libsystem_pthread.dylib 0x7ff80225500c start_wqthread + 0

Thread 10 Crashed:: Dispatch queue: com.apple.root.default-qos
0 AppKit 0x7ff8050c818e -[NSApplication _crashOnException:] + 313
1 AppKit 0x7ff8050c7ebf -[NSApplication reportException:] + 731
2 AppKit 0x7ff8051719ab uncaughtErrorProc + 145
3 CoreFoundation 0x7ff80241a50e __handleUncaughtException + 716
4 libobjc.A.dylib 0x7ff802104503 _objc_terminate() + 90
5 libc++abi.dylib 0x7ff8022154d7 std::__terminate(void (*)()) + 8
6 libc++abi.dylib 0x7ff802215488 std::terminate() + 56
7 libdispatch.dylib 0x7ff8020a2cdd _dispatch_client_callout + 28
8 libdispatch.dylib 0x7ff8020a5746 _dispatch_continuation_pop + 460
9 libdispatch.dylib 0x7ff8020b6a5a _dispatch_source_invoke + 2150
10 libdispatch.dylib 0x7ff8020b23ba _dispatch_root_queue_drain + 343
11 libdispatch.dylib 0x7ff8020b2b5a _dispatch_worker_thread2 + 160
12 libsystem_pthread.dylib 0x7ff802256049 _pthread_wqthread + 256
13 libsystem_pthread.dylib 0x7ff80225501b start_wqthread + 15

Thread 11:
0 libsystem_pthread.dylib 0x7ff80225500c start_wqthread + 0

Thread 12:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x7ff80221caba mach_msg_trap + 10
1 libsystem_kernel.dylib 0x7ff80221ce2b mach_msg + 59
2 CoreFoundation 0x7ff802320a42 __CFRunLoopServiceMachPort + 319
3 CoreFoundation 0x7ff80231f11b __CFRunLoopRun + 1325
4 CoreFoundation 0x7ff80231e52d CFRunLoopRunSpecific + 563
5 AppKit 0x7ff804eb7cec _NSEventThread + 132
6 libsystem_pthread.dylib 0x7ff802259514 _pthread_start + 125
7 libsystem_pthread.dylib 0x7ff80225502f thread_start + 15


Thread 10 crashed with X86 Thread State (64-bit):
rax: 0x00007fd6fa139400 rbx: 0x00007ff8020ed040 rcx: 0x89e536272ab8009f rdx: 0x0000000000000601
rdi: 0x0000700009aff6b0 rsi: 0x000000000000063c rbp: 0x0000700009affb40 rsp: 0x0000700009affb10
r8: 0x000000000000003c r9: 0x0000700009aff0f0 r10: 0x000000000000003c r11: 0x00007fd6fa139a3c
r12: 0x00007fd6f7305120 r13: 0x0000600001edccc0 r14: 0x0000600003574060 r15: 0x00007ff81c9b5381
rip: 0x00007ff8050c818e rfl: 0x0000000000010202 cr2: 0x00007ff843baa488

Logical CPU: 2
Error Code: 0x00000000 
Trap Number: 6

Thread 10 instruction stream:
00 e8 00 d0 7c 00 48 8b-35 7d 33 a8 3e 48 8b 1d ....|.H.5}3.>H..
f6 30 09 3d 4c 89 f7 ff-d3 48 8d 3d aa 53 0c 3d .0.=L....H.=.S.=
48 89 c6 31 c0 e8 2b 4c-e3 ff 4c 89 f7 4c 89 fe H..1..+L..L..L..
ff d3 48 8b 35 19 75 a8-3e 48 8d 15 6a 43 0c 3d ..H.5.u.>H..jC.=
48 89 c7 ff 15 c1 30 09-3d 48 8b 35 7a 2d a8 3e H.....0.=H.5z-.>
48 89 c7 ff 15 b1 30 09-3d 48 89 05 fa 22 ae 3e H.....0.=H...".>
[0f]0b 48 8d 3d f1 f9 7e-3e 48 8d 35 2a 38 0b 3d ..H.=..~>H.5*8.= <==
e8 23 d1 7c 00 e9 cb fe-ff ff 48 8d 3d d9 f9 7e .#.|......H.=..~
3e 48 8d 35 12 38 0b 3d-e8 0b d1 7c 00 e9 19 ff >H.5.8.=...|....
ff ff 48 89 c7 e8 d6 d4-7c 00 31 ff 31 f6 31 c0 ..H.....|.1.1.1.
e8 b0 4b e3 ff e8 f6 d4-7c 00 0f 0b 48 89 c3 e8 ..K.....|...H...
e0 d4 7c 00 48 89 df e8-30 ce 7c 00 e8 cf d5 7c ..|.H...0.|....|

Binary Images:
0x7ff80221c000 - 0x7ff802252fff libsystem_kernel.dylib (*) <12bd6f13-c452-35ee-9069-51befef29f1a> /usr/lib/system/libsystem_kernel.dylib
0x7ff8022a0000 - 0x7ff8027a2fff com.apple.CoreFoundation (6.9) <3002b545-6841-3fc8-91a2-bcfbe5872465> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7ff80af0d000 - 0x7ff80b204fff com.apple.HIToolbox (2.1.1) <4163a93f-bf71-3219-80ed-6f65e9266b81> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x7ff804d0b000 - 0x7ff805b97fff com.apple.AppKit (6.9) <dd0028a3-78e3-3a8a-a51b-ddd68123adef> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x110e97000 - 0x110f02fff dyld (*) <1a6ae033-9438-33c0-8077-988fd885250a> /usr/lib/dyld
0x7ff802253000 - 0x7ff80225efff libsystem_pthread.dylib (*) <29a2750e-f31b-3630-8761-242a6bc3e99e> /usr/lib/system/libsystem_pthread.dylib
0x7ff8020e7000 - 0x7ff802120fff libobjc.A.dylib (*) <7cfcdc89-2bee-3784-b7af-c676f60fe211> /usr/lib/libobjc.A.dylib
0x7ff802206000 - 0x7ff80221bfff libc++abi.dylib (*) <a851e310-475a-3c94-b547-8eb5ae90191a> /usr/lib/libc++abi.dylib
0x7ff8020a0000 - 0x7ff8020e6fff libdispatch.dylib (*) <be53a13c-8ce1-3e40-b9bc-98473d3eed3e> /usr/lib/system/libdispatch.dylib
0x10387e000 - 0x103b7dfff com.torusknot.SourceTreeNotMAS (4.1.4) <f4528dd3-88a6-3c0b-a05b-77a75346b2ce> /Applications/Sourcetree.app/Contents/MacOS/Sourcetree

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)
Writable regions: Total=652.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=652.9M(100%)

VIRTUAL REGION 
REGION TYPE SIZE COUNT (non-coalesced) 
=========== ======= ======= 
Accelerate framework 640K 5 
Activity Tracing 256K 1 
CG backing stores 5760K 12 
CG image 124K 8 
ColorSync 236K 28 
CoreAnimation 21.6M 116 
CoreGraphics 20K 4 
CoreServices 136K 1 
CoreUI image data 1072K 9 
Foundation 52K 2 
Image IO 3584K 14 
Kernel Alloc Once 8K 1 
MALLOC 226.3M 71 
MALLOC guard page 32K 8 
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
SQLite page cache 64K 1 
STACK GUARD 56.0M 13 
Stack 14.1M 13 
VM_ALLOCATE 128K 30 
__DATA 29.0M 507 
__DATA_CONST 28.8M 333 
__DATA_DIRTY 1597K 211 
__FONT_DATA 4K 1 
__LINKEDIT 636.5M 15 
__OBJC_RO 81.5M 1 
__OBJC_RW 3120K 2 
__TEXT 471.9M 522 
__UNICODE 588K 1 
dyld private memory 1024K 1 
mapped file 245.2M 37 
shared memory 780K 17 
=========== ======= ======= 
TOTAL 2.2G 1986 
TOTAL, minus reserved VM space 1.8G 1986

?

-----------
Full Report
-----------

{"app_name":"Sourcetree","timestamp":"2021-11-25 09:55:44.00 +0800","app_version":"4.1.4","slice_uuid":"f4528dd3-88a6-3c0b-a05b-77a75346b2ce","build_version":"240","platform":1,"bundleID":"com.torusknot.SourceTreeNotMAS","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.0.1 (21A559)","incident_id":"3103F402-94E4-4949-B245-D4819BA7E3F6","name":"Sourcetree"}
{
"uptime" : 290000,
"procLaunch" : "2021-11-25 09:55:39.6900 +0800",
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro16,2",
"procStartAbsTime" : 291154232351532,
"coalitionID" : 39264,
"osVersion" : {
"train" : "macOS 12.0.1",
"build" : "21A559",
"releaseType" : "User"
},
"captureTime" : "2021-11-25 09:55:44.3400 +0800",
"incident" : "3103F402-94E4-4949-B245-D4819BA7E3F6",
"bug_type" : "309",
"pid" : 57742,
"procExitAbsTime" : 291158872437105,
"cpuType" : "X86-64",
"procName" : "Sourcetree",
"procPath" : "\/Applications\/Sourcetree.app\/Contents\/MacOS\/Sourcetree",
"bundleInfo" : {"CFBundleShortVersionString":"4.1.4","CFBundleVersion":"240","CFBundleIdentifier":"com.torusknot.SourceTreeNotMAS"},
"storeInfo" : {"deviceIdentifierForVendor":"9612508C-A67B-55A9-891A-1D8090156A33","thirdParty":true},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.torusknot.SourceTreeNotMAS",
"crashReporterKey" : "BC3EB5C9-A1EE-0C91-70EA-6D97C29E51EF",
"wakeTime" : 1245,
"bridgeVersion" : {"build":"19P548","train":"6.0"},
"sleepWakeUUID" : "3D2793D1-53CE-4193-8756-7B4E0C6802F3",
"sip" : "enabled",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_INSTRUCTION","signal":"SIGILL"},
"termination" : {"flags":0,"code":4,"namespace":"SIGNAL","indicator":"Illegal instruction: 4","byProc":"exc handler","byPid":57742},
"asiBacktraces" : ["0 CoreFoundation 0x00007ff80239be5b __exceptionPreprocess + 242\n1 libobjc.A.dylib 0x00007ff8020fcb9d objc_exception_throw + 48\n2 CoreFoundation 0x00007ff8022cd0f2 -[__NSArrayM copyWithZone:] + 0\n3 Sourcetree 0x00000001039fa3b4 Sourcetree + 1557428\n4 Sourcetree 0x00000001039fa225 Sourcetree + 1557029\n5 Sourcetree 0x00000001039fac04 Sourcetree + 1559556\n6 Sourcetree 0x00000001039fa44a Sourcetree + 1557578\n7 Sourcetree 0x0000000103aa9721 Sourcetree + 2275105\n8 Sourcetree 0x0000000103aa932d Sourcetree + 2274093\n9 Sourcetree 0x0000000103aa91b7 Sourcetree + 2273719\n10 Sourcetree 0x0000000103aa9106 Sourcetree + 2273542\n11 Sourcetree 0x0000000103aa8f0b Sourcetree + 2273035\n12 libdispatch.dylib 0x00007ff8020a2cc9 _dispatch_client_callout + 8\n13 libdispatch.dylib 0x00007ff8020a5746 _dispatch_continuation_pop + 460\n14 libdispatch.dylib 0x00007ff8020b6a5a _dispatch_source_invoke + 2150\n15 libdispatch.dylib 0x00007ff8020b23ba _dispatch_root_queue_drain + 343\n16 libdispatch.dylib 0x00007ff8020b2b5a _dispatch_worker_thread2 + 160\n17 libsystem_pthread.dylib 0x00007ff802256049 _pthread_wqthread + 256\n18 libsystem_pthread.dylib 0x00007ff80225501b start_wqthread + 15"],
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"lastExceptionBacktrace" : [{"imageOffset":1031755,"symbol":"__exceptionPreprocess","symbolLocation":226,"imageIndex":1},{"imageOffset":88989,"symbol":"objc_exception_throw","symbolLocation":48,"imageIndex":6},{"imageOffset":184562,"symbol":"-[__NSArrayM copyWithZone:]","symbolLocation":0,"imageIndex":1},{"imageOffset":1557428,"imageIndex":9},{"imageOffset":1557029,"imageIndex":9},{"imageOffset":1559556,"imageIndex":9},{"imageOffset":1557578,"imageIndex":9},{"imageOffset":2275105,"imageIndex":9},{"imageOffset":2274093,"imageIndex":9},{"imageOffset":2273719,"imageIndex":9},{"imageOffset":2273542,"imageIndex":9},{"imageOffset":2273035,"imageIndex":9},{"imageOffset":11465,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":8},{"imageOffset":22342,"symbol":"_dispatch_continuation_pop","symbolLocation":460,"imageIndex":8},{"imageOffset":92762,"symbol":"_dispatch_source_invoke","symbolLocation":2150,"imageIndex":8},{"imageOffset":74682,"symbol":"_dispatch_root_queue_drain","symbolLocation":343,"imageIndex":8},{"imageOffset":76634,"symbol":"_dispatch_worker_thread2","symbolLocation":160,"imageIndex":8},{"imageOffset":12361,"symbol":"_pthread_wqthread","symbolLocation":256,"imageIndex":5},{"imageOffset":8219,"symbol":"start_wqthread","symbolLocation":15,"imageIndex":5}],
"faultingThread" : 10,
"threads" : [{"id":9632820,"queue":"com.apple.main-thread","frames":[{"imageOffset":2746,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":3627,"symbol":"mach_msg","symbolLocation":59,"imageIndex":0},{"imageOffset":526914,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":1},{"imageOffset":520475,"symbol":"__CFRunLoopRun","symbolLocation":1325,"imageIndex":1},{"imageOffset":517421,"symbol":"CFRunLoopRunSpecific","symbolLocation":563,"imageIndex":1},{"imageOffset":193505,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":2},{"imageOffset":192823,"symbol":"ReceiveNextEventCommon","symbolLocation":587,"imageIndex":2},{"imageOffset":192213,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":70,"imageIndex":2},{"imageOffset":256240,"symbol":"_DPSNextEvent","symbolLocation":886,"imageIndex":3},{"imageOffset":249692,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1411,"imageIndex":3},{"imageOffset":193369,"symbol":"-[NSApplication run]","symbolLocation":586,"imageIndex":3},{"imageOffset":12792,"symbol":"NSApplicationMain","symbolLocation":816,"imageIndex":3},{"imageOffset":21758,"symbol":"start","symbolLocation":462,"imageIndex":4}]},{"id":9632855,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":9632856,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":9632870,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":9632958,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":9632964,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":9632965,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":9632968,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":9632969,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":9632970,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"triggered":true,"id":9632971,"instructionState":{"instructionStream":{"bytes":[0,232,0,208,124,0,72,139,53,125,51,168,62,72,139,29,246,48,9,61,76,137,247,255,211,72,141,61,170,83,12,61,72,137,198,49,192,232,43,76,227,255,76,137,247,76,137,254,255,211,72,139,53,25,117,168,62,72,141,21,106,67,12,61,72,137,199,255,21,193,48,9,61,72,139,53,122,45,168,62,72,137,199,255,21,177,48,9,61,72,137,5,250,34,174,62,15,11,72,141,61,241,249,126,62,72,141,53,42,56,11,61,232,35,209,124,0,233,203,254,255,255,72,141,61,217,249,126,62,72,141,53,18,56,11,61,232,11,209,124,0,233,25,255,255,255,72,137,199,232,214,212,124,0,49,255,49,246,49,192,232,176,75,227,255,232,246,212,124,0,15,11,72,137,195,232,224,212,124,0,72,137,223,232,48,206,124,0,232,207,213,124],"offset":96}},"threadState":{"r13":{"value":105553148628160},"rax":{"value":140561295315968},"rflags":{"value":66050},"cpu":{"value":2},"r14":{"value":105553172316256},"rsi":{"value":1596},"r8":{"value":60},"cr2":{"value":140704264922248},"rdx":{"value":1537},"r10":{"value":60},"r9":{"value":123145464836336},"r15":{"value":140703608558465,"objc-selector":"callStackSymbols"},"rbx":{"value":140703163142208,"symbolLocation":0,"symbol":"objc_msgSend"},"trap":{"value":6},"err":{"value":0},"r11":{"value":140561295317564},"rip":{"value":140703213322638,"matchesCrashFrame":1},"rbp":{"value":123145464838976},"rsp":{"value":123145464838928},"r12":{"value":140561246867744},"rcx":{"value":9936407694711193759},"flavor":"x86_THREAD_STATE","rdi":{"value":123145464837808}},"queue":"com.apple.root.default-qos","frames":[{"imageOffset":3920270,"symbol":"-[NSApplication _crashOnException:]","symbolLocation":313,"imageIndex":3},{"imageOffset":3919551,"symbol":"-[NSApplication reportException:]","symbolLocation":731,"imageIndex":3},{"imageOffset":4614571,"symbol":"uncaughtErrorProc","symbolLocation":145,"imageIndex":3},{"imageOffset":1549582,"symbol":"__handleUncaughtException","symbolLocation":716,"imageIndex":1},{"imageOffset":120067,"symbol":"_objc_terminate()","symbolLocation":90,"imageIndex":6},{"imageOffset":62679,"symbol":"std::__terminate(void (*)())","symbolLocation":8,"imageIndex":7},{"imageOffset":62600,"symbol":"std::terminate()","symbolLocation":56,"imageIndex":7},{"imageOffset":11485,"symbol":"_dispatch_client_callout","symbolLocation":28,"imageIndex":8},{"imageOffset":22342,"symbol":"_dispatch_continuation_pop","symbolLocation":460,"imageIndex":8},{"imageOffset":92762,"symbol":"_dispatch_source_invoke","symbolLocation":2150,"imageIndex":8},{"imageOffset":74682,"symbol":"_dispatch_root_queue_drain","symbolLocation":343,"imageIndex":8},{"imageOffset":76634,"symbol":"_dispatch_worker_thread2","symbolLocation":160,"imageIndex":8},{"imageOffset":12361,"symbol":"_pthread_wqthread","symbolLocation":256,"imageIndex":5},{"imageOffset":8219,"symbol":"start_wqthread","symbolLocation":15,"imageIndex":5}]},{"id":9632972,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":9633064,"name":"com.apple.NSEventThread","frames":[{"imageOffset":2746,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":3627,"symbol":"mach_msg","symbolLocation":59,"imageIndex":0},{"imageOffset":526914,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":1},{"imageOffset":520475,"symbol":"__CFRunLoopRun","symbolLocation":1325,"imageIndex":1},{"imageOffset":517421,"symbol":"CFRunLoopRunSpecific","symbolLocation":563,"imageIndex":1},{"imageOffset":1756396,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":3},{"imageOffset":25876,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":5},{"imageOffset":8239,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703164383232,
"size" : 225280,
"uuid" : "12bd6f13-c452-35ee-9069-51befef29f1a",
"path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "x86_64h",
"base" : 140703164923904,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.CoreFoundation",
"size" : 5255168,
"uuid" : "3002b545-6841-3fc8-91a2-bcfbe5872465",
"path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
"name" : "CoreFoundation",
"CFBundleVersion" : "1855.105"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703312171008,
"CFBundleShortVersionString" : "2.1.1",
"CFBundleIdentifier" : "com.apple.HIToolbox",
"size" : 3112960,
"uuid" : "4163a93f-bf71-3219-80ed-6f65e9266b81",
"path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
"name" : "HIToolbox"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703209402368,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.AppKit",
"size" : 15257600,
"uuid" : "dd0028a3-78e3-3a8a-a51b-ddd68123adef",
"path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
"name" : "AppKit",
"CFBundleVersion" : "2113"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4578701312,
"size" : 442368,
"uuid" : "1a6ae033-9438-33c0-8077-988fd885250a",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703164608512,
"size" : 49152,
"uuid" : "29a2750e-f31b-3630-8761-242a6bc3e99e",
"path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "x86_64h",
"base" : 140703163117568,
"size" : 237568,
"uuid" : "7cfcdc89-2bee-3784-b7af-c676f60fe211",
"path" : "\/usr\/lib\/libobjc.A.dylib",
"name" : "libobjc.A.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703164293120,
"size" : 90112,
"uuid" : "a851e310-475a-3c94-b547-8eb5ae90191a",
"path" : "\/usr\/lib\/libc++abi.dylib",
"name" : "libc++abi.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703162826752,
"size" : 290816,
"uuid" : "be53a13c-8ce1-3e40-b9bc-98473d3eed3e",
"path" : "\/usr\/lib\/system\/libdispatch.dylib",
"name" : "libdispatch.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4354203648,
"CFBundleShortVersionString" : "4.1.4",
"CFBundleIdentifier" : "com.torusknot.SourceTreeNotMAS",
"size" : 3145728,
"uuid" : "f4528dd3-88a6-3c0b-a05b-77a75346b2ce",
"path" : "\/Applications\/Sourcetree.app\/Contents\/MacOS\/Sourcetree",
"name" : "Sourcetree",
"CFBundleVersion" : "240"
}
],
"sharedCache" : {
"base" : 140703161380864,
"size" : 15213641728,
"uuid" : "3d05845f-3f65-358f-9ebf-2236e772ac01"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)\nWritable regions: Total=652.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=652.9M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 640K 5 \nActivity Tracing 256K 1 \nCG backing stores 5760K 12 \nCG image 124K 8 \nColorSync 236K 28 \nCoreAnimation 21.6M 116 \nCoreGraphics 20K 4 \nCoreServices 136K 1 \nCoreUI image data 1072K 9 \nFoundation 52K 2 \nImage IO 3584K 14 \nKernel Alloc Once 8K 1 \nMALLOC 226.3M 71 \nMALLOC guard page 32K 8 \nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSQLite page cache 64K 1 \nSTACK GUARD 56.0M 13 \nStack 14.1M 13 \nVM_ALLOCATE 128K 30 \n__DATA 29.0M 507 \n__DATA_CONST 28.8M 333 \n__DATA_DIRTY 1597K 211 \n__FONT_DATA 4K 1 \n__LINKEDIT 636.5M 15 \n__OBJC_RO 81.5M 1 \n__OBJC_RW 3120K 2 \n__TEXT 471.9M 522 \n__UNICODE 588K 1 \ndyld private memory 1024K 1 \nmapped file 245.2M 37 \nshared memory 780K 17 \n=========== ======= ======= \nTOTAL 2.2G 1986 \nTOTAL, minus reserved VM space 1.8G 1986 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.apple.root.default-qos"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "60da5e84ab0ca017dace9abf",
"factorPackIds" : {

},
"deploymentId" : 240000008
},
{
"rolloutId" : "607844aa04477260f58a8077",
"factorPackIds" : {
"SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
},
"deploymentId" : 240000066
},
{
"rolloutId" : "5ffde50ce2aacd000d47a95f",
"factorPackIds" : {

},
"deploymentId" : 240000076
},
{
"rolloutId" : "5fc94383418129005b4e9ae0",
"factorPackIds" : {

},
"deploymentId" : 240000162
},
{
"rolloutId" : "601d9415f79519000ccd4b69",
"factorPackIds" : {
"SIRI_TEXT_TO_SPEECH" : "6194416dea7ed64a7812a429"
},
"deploymentId" : 240000322
},
{
"rolloutId" : "602ad4dac86151000cf27e46",
"factorPackIds" : {
"SIRI_DICTATION_ASSETS" : "614a34c5eae97a2111628dc5"
},
"deploymentId" : 240000271
}
],
"experiments" : [

]
}
}

```

comments: author: Bean
body: Rollback to v4.1.2 is OK.


author: dougxc
body: I'm seeing the same crash as well.


author: Joe Page
body: Here's a crash log from mac's Console.app:

\`\`\`

Process: Sourcetree \[659\]  
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 \[659\]  
User ID: 502

Date/Time: 2021-11-08 10:07:44.428 -0500  
OS Version: macOS 11.4 (20F71)  
Report Version: 12  
Bridge OS Version: 5.4 (18P4663)  
Anonymous UUID: 036A09EB-FCE9-5BF4-4D44-D15E4D2F750C

<br />

Time Awake Since Boot: 2300 seconds

System Integrity Protection: disabled

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 \[659\]

Application Specific Information:  
Crashing on exception: \*\*\* -\[__NSPlaceholderDictionary initWithObjects:forKeys:count:\]: attempt to insert nil object from objects\[0\]

Application Specific Backtrace 1:  
0 CoreFoundation 0x00007fff2072e87b __exceptionPreprocess + 242  
1 libobjc.A.dylib 0x00007fff20466d92 objc_exception_throw + 48  
2 CoreFoundation 0x00007fff207e42ea _CFThrowFormattedException + 202  
3 CoreFoundation 0x00007fff207efdd1 -\[__NSPlaceholderDictionary initWithCapacity:\].cold.1 + 0  
4 CoreFoundation 0x00007fff2063decd -\[__NSPlaceholderDictionary initWithObjects:forKeys:count:\] + 251  
5 CoreFoundation 0x00007fff2063ddb8 +\[NSDictionary dictionaryWithObjects:forKeys:count:\] + 49  
6 Sourcetree 0x0000000104f397c0 Sourcetree + 1091520  
7 Sourcetree 0x0000000104f3d155 Sourcetree + 1106261  
8 CoreFoundation 0x00007fff206aa10d __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12  
9 CoreFoundation 0x00007fff20745b6c ___CFXRegistrationPost_block_invoke + 49  
10 CoreFoundation 0x00007fff20745aea _CFXRegistrationPost + 454  
11 CoreFoundation 0x00007fff2067b38e _CFXNotificationPost + 736  
12 Foundation 0x00007fff213e9dc8 -\[NSNotificationCenter postNotificationName:object:userInfo:\] + 59  
13 AppKit 0x00007fff22fed240 -\[NSTableView _sendSelectionChangedNotificationForRows:columns:\] + 220  
14 AppKit 0x00007fff22fec9d7 -\[NSTableView _doSelectIndexes:byExtendingSelection:indexType:funnelThroughSingleIndexVersion:\] + 2603  
15 AppKit 0x00007fff22febf9a -\[NSTableView selectRowIndexes:byExtendingSelection:\] + 116  
16 AppKit 0x00007fff231173a8 -\[NSTableBinder _updateSelectionIndexes:\] + 140  
17 AppKit 0x00007fff2308caf2 -\[NSTableBinder _handleContentChange:\] + 174  
18 AppKit 0x00007fff2308c8b5 -\[NSTableBinder observeValueForKeyPath:ofObject:change:context:\] + 56  
19 Foundation 0x00007fff21414f7c NSKeyValueNotifyObserver + 327  
20 Foundation 0x00007fff2140f53f -\[NSObject(NSKeyValueObservingPrivate) _notifyObserversForKeyPath:change:\] + 930  
21 AppKit 0x00007fff22e91526 -\[NSController _notifyObserversForKeyPath:change:\] + 188  
22 AppKit 0x00007fff22f36f02 -\[NSArrayController didChangeValuesForArrangedKeys:objectKeys:indexKeys:\] + 53  
23 AppKit 0x00007fff22f35b31 -\[NSArrayController setContent:\] + 682  
24 AppKit 0x00007fff23117d8f -\[NSArrayDetailBinder _refreshDetailContentInBackground:\] + 1202  
25 Foundation 0x00007fff21414f7c NSKeyValueNotifyObserver + 327  
26 Foundation 0x00007fff214dbe10 NSKeyValueDidChange + 431  
27 Foundation 0x00007fff21407ba1 -\[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:\] + 745  
28 Foundation 0x00007fff21432b06 -\[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:\] + 68  
29 Foundation 0x00007fff2144fe3b _NSSetObjectValueAndNotify + 269  
30 Sourcetree 0x0000000104f3ad87 Sourcetree + 1097095  
31 Sourcetree 0x0000000104f3bb82 Sourcetree + 1100674  
32 libdispatch.dylib 0x00007fff20410623 _dispatch_call_block_and_release + 12  
33 libdispatch.dylib 0x00007fff20411806 _dispatch_client_callout + 8  
34 libdispatch.dylib 0x00007fff2041db4f _dispatch_main_queue_callback_4CF + 940  
35 CoreFoundation 0x00007fff206f15e8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9  
36 CoreFoundation 0x00007fff206b37d2 __CFRunLoopRun + 2755  
37 CoreFoundation 0x00007fff206b264c CFRunLoopRunSpecific + 563  
38 Foundation 0x00007fff214d01ff -\[NSConcreteTask waitUntilExit\] + 324  
39 Sourcetree 0x0000000104e77124 Sourcetree + 295204  
40 Sourcetree 0x0000000104f511cf Sourcetree + 1188303  
41 Sourcetree 0x0000000104f6cb2d Sourcetree + 1301293  
42 Sourcetree 0x0000000104e6c719 Sourcetree + 251673  
43 Sourcetree 0x0000000104ec2afa Sourcetree + 604922  
44 Sourcetree 0x0000000104eb1f28 Sourcetree + 536360  
45 AppKit 0x00007fff2376d64f NSWindowEndWindowModalSession + 388  
46 Sourcetree 0x0000000104eb29ac Sourcetree + 539052  
47 Sourcetree 0x0000000104eb1260 Sourcetree + 533088  
48 Sourcetree 0x0000000104eb181c Sourcetree + 534556  
49 CoreFoundation 0x00007fff206aa10d __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12  
50 CoreFoundation 0x00007fff20745b6c ___CFXRegistrationPost_block_invoke + 49  
51 CoreFoundation 0x00007fff20745aea _CFXRegistrationPost + 454  
52 CoreFoundation 0x00007fff2067b38e _CFXNotificationPost + 736  
53 Foundation 0x00007fff213e9dc8 -\[NSNotificationCenter postNotificationName:object:userInfo:\] + 59  
54 Sourcetree 0x0000000104e77f77 Sourcetree + 298871  
55 CoreFoundation 0x00007fff206aa10d __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12  
56 CoreFoundation 0x00007fff20745b6c ___CFXRegistrationPost_block_invoke + 49  
57 CoreFoundation 0x00007fff20745aea _CFXRegistrationPost + 454  
58 CoreFoundation 0x00007fff2067b38e _CFXNotificationPost + 736  
59 Foundation 0x00007fff213e9dc8 -\[NSNotificationCenter postNotificationName:object:userInfo:\] + 59  
60 CoreFoundation 0x00007fff206b4512 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12  
61 CoreFoundation 0x00007fff206b43c3 __CFRunLoopDoBlocks + 440  
62 CoreFoundation 0x00007fff206b309d __CFRunLoopRun + 910  
63 CoreFoundation 0x00007fff206b264c CFRunLoopRunSpecific + 563  
64 HIToolbox 0x00007fff288f0ab3 RunCurrentEventLoopInMode + 292  
65 HIToolbox 0x00007fff288f0815 ReceiveNextEventCommon + 587  
66 HIToolbox 0x00007fff288f05b3 _BlockUntilNextEventMatchingListInModeWithFilter + 70  
67 AppKit 0x00007fff22eb36f2 _DPSNextEvent + 864  
68 AppKit 0x00007fff22eb1ec5 -\[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:\] + 1364  
69 AppKit 0x00007fff22ea4239 -\[NSApplication run\] + 586  
70 AppKit 0x00007fff22e7847c NSApplicationMain + 816  
71 libdyld.dylib 0x00007fff205d6f5d start + 1

\`\`\`


author: pixelmachine
body: Same here, constant crashes. Reverted to 4.1.2


author: nevay
body: Mine crashes constantly. 4.1.3 on Mac OS 11.6. It takes two crashes before it will stay open every time. The signature is that it says "Git Repository" at the top of the open git repository window being viewed instead of the actual repository name. If I go to the repository viewer it will then crash as soon as I try to open any other repository. I must repeat this twice before it'll work.

Separately, it seems to regularly get stuck and not update reflecting changes in the git repository, ie done in the terminal. It crashed a few times when clicking on the commit button.

The age-old problem of the history view randomly jumping back to the top still persists after years of complaints.


author: Garrett Hughes
body: Very frustrating. Mine is always just crashing. Uninstalled. removed the support sourcetree dir. Nothing seems to work.


author: Markus Stoll
body: Same crashes for me. The proposed solution did not help.

I had to revert to version 4.1.2 to be able to work with SourceTree