SourceTree for OS X crashing
Asked by veksler:

Crash report below.

I've had to stop using the current SourceTree for Windows 2 days ago because it crashes on open.

Now SourceTree for OS X is crashing too. Version 2.6.3 is also very slow, with frequent hangs detected by OS X when I merge or switch large branches. Git doesn't have this problem. (2016 MacBook, 3.1 GHz Intel Core i5, 16GB)

**Atlassian, you need a real QA team!**

Process: Sourcetree \[34066\]  
Path: /Users/USER/\*/SourceTree.app/Contents/MacOS/Sourcetree  
Identifier: com.torusknot.SourceTreeNotMAS  
Version: 2.6.3 (134)  
Code Type: X86-64 (Native)  
Parent Process: ??? \[1\]  
Responsible: Sourcetree \[34066\]  
User ID: 501

Date/Time: 2017-09-27 01:51:49.705 -0400  
OS Version: Mac OS X 10.13 (17A365)  
Report Version: 12  
Bridge OS Version: 3.0 (14Y661)  
Anonymous UUID: F93C6F1C-E4E9-2EE2-AF57-6E5621DCE3E0

Sleep/Wake UUID: C35078BD-3FB9-49C7-A616-6EF653CCA1A7

Time Awake Since Boot: 43000 seconds  
Time Since Wake: 5800 seconds

System Integrity Protection: enabled

Crashed Thread: 2 com.twitter.crashlytics.mac.MachExceptionServer

Exception Type: EXC_BAD_ACCESS (SIGSEGV)  
Exception Codes: EXC_I386_GPFLT  
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11  
Termination Reason: Namespace SIGNAL, Code 0xb  
Terminating Process: exc handler \[0\]

Thread 0:: Dispatch queue: com.apple.main-thread  
0 libsystem_kernel.dylib 0x00007fff6d0b7e76 mach_msg_trap + 10  
1 libsystem_kernel.dylib 0x00007fff6d0b7390 mach_msg + 60  
2 com.apple.CoreFoundation 0x00007fff45a0f475 __CFRunLoopServiceMachPort + 341  
3 com.apple.CoreFoundation 0x00007fff45a0e7c7 __CFRunLoopRun + 1783  
4 com.apple.CoreFoundation 0x00007fff45a0de43 CFRunLoopRunSpecific + 483  
5 com.apple.HIToolbox 0x00007fff44d2d866 RunCurrentEventLoopInMode + 286  
6 com.apple.HIToolbox 0x00007fff44d2d5d6 ReceiveNextEventCommon + 613  
7 com.apple.HIToolbox 0x00007fff44d2d354 _BlockUntilNextEventMatchingListInModeWithFilter + 64  
8 com.apple.AppKit 0x00007fff4302b44f _DPSNextEvent + 2085  
9 com.apple.AppKit 0x00007fff437c0508 -\[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:\] + 3044  
10 com.apple.AppKit 0x00007fff4302025d -\[NSApplication run\] + 764  
11 com.apple.AppKit 0x00007fff42fef3fe NSApplicationMain + 804  
12 libdyld.dylib 0x00007fff6cf71145 start + 1

Thread 1:  
0 libsystem_kernel.dylib 0x00007fff6d0c0e7e __psynch_cvwait + 10  
1 libsystem_pthread.dylib 0x00007fff6d1fc662 _pthread_cond_wait + 732  
2 libc++.1.dylib 0x00007fff6afb0cb0 std::__1::condition_variable::wait(std::__1::unique_lock\<std::__1::mutex\>\&) + 18  
3 com.apple.JavaScriptCore 0x00007fff494c3ac6 void std::__1::condition_variable_any::wait\<std::__1::unique_lock\<bmalloc::Mutex\> \>(std::__1::unique_lock\<bmalloc::Mutex\>\&) + 86  
4 com.apple.JavaScriptCore 0x00007fff494c39fb bmalloc::AsyncTask\<bmalloc::Heap, void (bmalloc::Heap::\*)()\>::threadRunLoop() + 139  
5 com.apple.JavaScriptCore 0x00007fff494c3d28 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::AsyncTask\<bmalloc::Heap, void (bmalloc::Heap::\*)()\>\*), bmalloc::AsyncTask\<bmalloc::Heap, void (bmalloc::Heap::\*)()\>\*\> \>(void\*) + 40  
6 libsystem_pthread.dylib 0x00007fff6d1fb6c1 _pthread_body + 340  
7 libsystem_pthread.dylib 0x00007fff6d1fb56d _pthread_start + 377  
8 libsystem_pthread.dylib 0x00007fff6d1fac5d thread_start + 13

Thread 2 Crashed:: com.twitter.crashlytics.mac.MachExceptionServer  
0 libsystem_pthread.dylib 0x00007fff6d1fe32f pthread_from_mach_thread_np + 58  
1 com.torusknot.SourceTreeNotMAS 0x0000000103fb539d 0x103cff000 + 2843549  
2 com.torusknot.SourceTreeNotMAS 0x0000000103fa54ae 0x103cff000 + 2778286  
3 com.torusknot.SourceTreeNotMAS 0x0000000103fa096d 0x103cff000 + 2759021  
4 libsystem_pthread.dylib 0x00007fff6d1fb6c1 _pthread_body + 340  
5 libsystem_pthread.dylib 0x00007fff6d1fb56d _pthread_start + 377  
6 libsystem_pthread.dylib 0x00007fff6d1fac5d thread_start + 13

Thread 3:: com.apple.NSURLConnectionLoader  
0 libsystem_kernel.dylib 0x00007fff6d0b7e76 mach_msg_trap + 10  
1 libsystem_kernel.dylib 0x00007fff6d0b7390 mach_msg + 60  
2 com.apple.CoreFoundation 0x00007fff45a0f475 __CFRunLoopServiceMachPort + 341  
3 com.apple.CoreFoundation 0x00007fff45a0e7c7 __CFRunLoopRun + 1783  
4 com.apple.CoreFoundation 0x00007fff45a0de43 CFRunLoopRunSpecific + 483  
5 com.apple.CFNetwork 0x00007fff44987432 +\[NSURLConnection(Loader) _resourceLoadLoop:\] + 357  
6 com.apple.Foundation 0x00007fff47ac86d8 __NSThread__start__ + 1197  
7 libsystem_pthread.dylib 0x00007fff6d1fb6c1 _pthread_body + 340  
8 libsystem_pthread.dylib 0x00007fff6d1fb56d _pthread_start + 377  
9 libsystem_pthread.dylib 0x00007fff6d1fac5d thread_start + 13

Thread 4:: com.apple.NSEventThread  
0 libsystem_kernel.dylib 0x00007fff6d0b7e76 mach_msg_trap + 10  
1 libsystem_kernel.dylib 0x00007fff6d0b7390 mach_msg + 60  
2 com.apple.CoreFoundation 0x00007fff45a0f475 __CFRunLoopServiceMachPort + 341  
3 com.apple.CoreFoundation 0x00007fff45a0e7c7 __CFRunLoopRun + 1783  
4 com.apple.CoreFoundation 0x00007fff45a0de43 CFRunLoopRunSpecific + 483  
5 com.apple.AppKit 0x00007fff43168c49 _NSEventThread + 184  
6 libsystem_pthread.dylib 0x00007fff6d1fb6c1 _pthread_body + 340  
7 libsystem_pthread.dylib 0x00007fff6d1fb56d _pthread_start + 377  
8 libsystem_pthread.dylib 0x00007fff6d1fac5d thread_start + 13

Thread 5:: Dispatch queue: com.apple.main-thread  
0 libsystem_kernel.dylib 0x00007fff6d0c16da __workq_kernreturn + 10  
1 ??? 0x0000600007e5e840 0 + 105553248774208  
2 ??? 0x0000600007e5d580 0 + 105553248769408

Thread 6:: Dispatch queue: com.atlassian.AnalyticsQueue  
0 libsystem_platform.dylib 0x00007fff6d1f4f49 _platform_memmove$VARIANT$Haswell + 41  
1 com.apple.CoreFoundation 0x00007fff459c9c47 -\[__NSArrayI getObjects:range:\] + 183  
2 com.apple.Foundation 0x00007fff47acec23 NSKeyValueWillChange + 124  
3 com.apple.Foundation 0x00007fff47c11115 -\[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:usingBlock:\] + 529  
4 com.apple.Foundation 0x00007fff47c10c0b -\[NSObject(NSKeyValueObservingPrivate) _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:\] + 699  
5 com.apple.CoreFoundation 0x00007fff45b0693b forEachObserver + 219  
6 com.apple.CoreFoundation 0x00007fff45b06b78 -\[CFPrefsSource _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:\] + 72  
7 com.apple.CoreFoundation 0x00007fff45b49b52 __78-\[CFPrefsSearchListSource deferredNotifyOfChangesFromDictionary:toDictionary:\]_block_invoke + 34  
8 com.apple.CoreFoundation 0x00007fff45b6cce1 _CFPrefsDeliverPendingKVONotifications + 97  
9 com.apple.CoreFoundation 0x00007fff45b4a7ab __108-\[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:\]_block_invoke + 315  
10 com.apple.CoreFoundation 0x00007fff45b4a605 -\[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:\] + 341  
11 com.apple.CoreFoundation 0x00007fff45b6fc50 -\[_CFXPreferences setValue:forKey:appIdentifier:container:configurationURL:\] + 96  
12 com.apple.CoreFoundation 0x00007fff45a1ac35 _CFPreferencesSetAppValueWithContainer + 117  
13 com.apple.Foundation 0x00007fff47acbc42 -\[NSUserDefaults(NSUserDefaults) setObject:forKey:\] + 55  
14 com.torusknot.SourceTreeNotMAS 0x0000000103f83c7a 0x103cff000 + 2641018  
15 com.torusknot.SourceTreeNotMAS 0x0000000103f83ac5 0x103cff000 + 2640581  
16 libdispatch.dylib 0x00007fff6cf3f7a2 _dispatch_call_block_and_release + 12  
17 libdispatch.dylib 0x00007fff6cf37f64 _dispatch_client_callout + 8  
18 libdispatch.dylib 0x00007fff6cf4c42b _dispatch_queue_serial_drain + 635  
19 libdispatch.dylib 0x00007fff6cf3f30e _dispatch_queue_invoke + 373  
20 libdispatch.dylib 0x00007fff6cf4d117 _dispatch_root_queue_drain_deferred_wlh + 332  
21 libdispatch.dylib 0x00007fff6cf50ef0 _dispatch_workloop_worker_thread + 880  
22 libsystem_pthread.dylib 0x00007fff6d1fb033 _pthread_wqthread + 980  
23 libsystem_pthread.dylib 0x00007fff6d1fac4d start_wqthread + 13

Thread 7:  
0 libsystem_pthread.dylib 0x00007fff6d1fac40 start_wqthread + 0  
1 ??? 0x0000000700009000 0 + 30064807936

Thread 8:  
0 libsystem_pthread.dylib 0x00007fff6d1fac40 start_wqthread + 0  
1 ??? 0x00007fffa664d260 OBJC_METACLASS_$_OS_xpc_endpoint + 40

Thread 2 crashed with X86 Thread State (64-bit):  
rax: 0x0000000000000000 rbx: 0x00bdffffa052a591 rcx: 0x0000000000000000 rdx: 0x000000010d35fc78  
rdi: 0x00000000000100ff rsi: 0x000000010d35fcd0 rbp: 0x000000010d35fd30 rsp: 0x000000010d35fd20  
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x000000010bb1e048 r11: 0x0000000000000206  
r12: 0x0000000000000005 r13: 0x0000000000000008 r14: 0x00000000000100ff r15: 0x000000010d35fd40  
rip: 0x00007fff6d1fe32f rfl: 0x0000000000010202 cr2: 0x000070000e1eb180  

Logical CPU: 0  
Error Code: 0x00000000  
Trap Number: 13

<br />

....

External Modification Summary:  
Calls made by other processes targeting this process:  
task_for_pid: 29  
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: 37945  
thread_create: 0  
thread_set_state: 0

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

VIRTUAL REGION  
REGION TYPE SIZE COUNT (non-coalesced)  
=========== ======= =======  
Accelerate framework 640K 6  
Activity Tracing 256K 2  
CG backing stores 6912K 10  
CG image 1892K 258  
CoreAnimation 1.0G 1701  
CoreGraphics 8K 2  
CoreImage 228K 47  
CoreUI image data 5356K 54  
CoreUI image file 376K 10  
Foundation 148K 4  
Image IO 6972K 308  
JS JIT generated code 128.0M 4  
JS JIT generated code (reserved) 896.0M 2 reserved VM address space (unallocated)  
Kernel Alloc Once 28K 3  
MALLOC 986.0M 194  
MALLOC guard page 112K 28  
Mach message 4K 2  
Memory Tag 242 12K 2  
Memory Tag 251 56K 4  
SQLite page cache 64K 2  
STACK GUARD 56.0M 8  
Stack 11.6M 10  
Stack Guard 4K 2  
VM_ALLOCATE 888K 66  
WebKit Malloc 8224K 7  
__DATA 36.1M 338  
__FONT_DATA 4K 2  
__GLSLBUILTINS 2588K 2  
__LINKEDIT 190.3M 8  
__TEXT 251.5M 342  
__UNICODE 556K 2  
libnetwork 128K 2  
mapped file 189.4M 344  
shared memory 1700K 17  
=========== ======= =======  
TOTAL 3.8G 3759  
TOTAL, minus reserved VM space 2.9G 3759

<br />

System Profile:  
Network Service: Wi-Fi, AirPort, en0  
Boot Volume File System Type: apfs  
Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320  
Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320  
USB Device: USB 3.0 Bus  
USB Device: USB2.0 Hub  
USB Device: TYPE-C BRIDGB R10  
USB Device: iBridge  
USB Device: USB3.0 Hub  
USB Device: BA-09USE  
Thunderbolt Bus: MacBook Pro, Apple Inc., 22.2  
Thunderbolt Bus: MacBook Pro, Apple Inc., 22.2  
Model: MacBookPro13,2, BootROM MBP132.0233.B00, 2 processors, Intel Core i5, 3.1 GHz, 16 GB, SMC 2.37f20  
Graphics: Intel Iris Graphics 550, Intel Iris Graphics 550, Built-In  
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x157), Broadcom BCM43xx 1.0 (7.77.37.0.1a1)  
Bluetooth: Version 6.0.0f7, 3 services, 27 devices, 1 incoming serial ports

System Profile:  
Network Service: Wi-Fi, AirPort, en0  
Boot Volume File System Type: apfs  
Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320  
Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320  
USB Device: USB 3.0 Bus  
USB Device: USB2.0 Hub  
USB Device: TYPE-C BRIDGB R10  
USB Device: iBridge  
USB Device: USB3.0 Hub  
USB Device: BA-09USE  
Thunderbolt Bus: MacBook Pro, Apple Inc., 22.2  
Thunderbolt Bus: MacBook Pro, Apple Inc., 22.2  
Model: MacBookPro13,2, BootROM MBP132.0233.B00, 2 processors, Intel Core i5, 3.1 GHz, 16 GB, SMC 2.37f20  
Graphics: Intel Iris Graphics 550, Intel Iris Graphics 550, Built-In  
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x157), Broadcom BCM43xx 1.0 (7.77.37.0.1a1)  
Bluetooth: Version 6.0.0f7, 3 services, 27 devices, 1 incoming serial ports


Answers:
author: Ana Retamal
body: Hi David, the development team isn't aware of any crashes when launching. Sourcetree hasn't been officially updated for High Sierra compatibility yet, although that's on their roadmap. Please file a ticket at [https://jira.atlassian.com/browse/SRCTREE](https://jira.atlassian.com/browse/SRCTREE "https://jira.atlassian.com/browse/SRCTREE") for them to review.

Regards,

Ana  


Tags: mac