It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Frequent crash on macOS High Sierra (v. 10.13.3)

Sourcetree keeps on crashing due to a memory leak. It's also using up a ridiculous amount of CPU at times (makes my fans spin a lot while running in the background, is it doing some kind of indexing?)

The crashes are really driving me crazy right now. They occur up to 8 times a day. Think that's a bit much.

Here's a relevant crash report:

======== BEGIN

Process: Sourcetree [9030]
Path: /Applications/Sourcetree.app/Contents/MacOS/Sourcetree
Identifier: com.torusknot.SourceTreeNotMAS
Version: 2.7 (152)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Sourcetree [9030]
User ID: 501

Date/Time: 2018-02-12 23:16:35.259 +0100
OS Version: Mac OS X 10.13.3 (17D47)
Report Version: 12
Anonymous UUID: 1528298E-BCA7-BA15-5915-4C2EB1A9FA8F

Sleep/Wake UUID: 0BC19B2B-6CE1-46E6-B799-BC14B3DC6FF3

Time Awake Since Boot: 310000 seconds
Time Since Wake: 190000 seconds

System Integrity Protection: enabled

Crashed Thread: 12 Dispatch queue: NSOperationQueue 0x60400003a300 (QOS: UNSPECIFIED)

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

Application Specific Information:
XPC API Misuse: Given object not of required type.

Application Specific Signatures:
API Misuse

Thread 0:: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x00007fff6882cea9 objc_msgSend + 41
1 com.apple.CoreFoundation 0x00007fff41bbb51e cow_cleanup + 126
2 com.apple.CoreFoundation 0x00007fff41bccfe5 _cow_release + 165
3 com.apple.CoreFoundation 0x00007fff41abade6 -[__NSArrayM dealloc] + 38
4 libobjc.A.dylib 0x00007fff68830087 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 817
5 com.apple.CoreFoundation 0x00007fff41ad27f6 _CFAutoreleasePoolPop + 22
6 com.apple.CoreFoundation 0x00007fff41b1cdd4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
7 com.apple.CoreFoundation 0x00007fff41b1ca47 __CFRunLoopDoTimer + 1095
8 com.apple.CoreFoundation 0x00007fff41b1c54a __CFRunLoopDoTimers + 346
9 com.apple.CoreFoundation 0x00007fff41b13b4b __CFRunLoopRun + 2427
10 com.apple.CoreFoundation 0x00007fff41b12f43 CFRunLoopRunSpecific + 483
11 com.apple.Foundation 0x00007fff43c7f6d0 -[NSConcreteTask waitUntilExit] + 220
12 com.torusknot.SourceTreeNotMAS 0x000000010d6c720d 0x10d683000 + 279053
13 com.torusknot.SourceTreeNotMAS 0x000000010d7d4f9c 0x10d683000 + 1384348
14 com.torusknot.SourceTreeNotMAS 0x000000010d7d87c3 0x10d683000 + 1398723
15 com.torusknot.SourceTreeNotMAS 0x000000010d8697a8 0x10d683000 + 1992616
16 com.torusknot.SourceTreeNotMAS 0x000000010d86a149 0x10d683000 + 1995081
17 com.torusknot.SourceTreeNotMAS 0x000000010d86ab1d 0x10d683000 + 1997597
18 com.torusknot.SourceTreeNotMAS 0x000000010d86a6cc 0x10d683000 + 1996492
19 com.apple.Foundation 0x00007fff43c47445 __NSFireDelayedPerform + 409
20 com.apple.CoreFoundation 0x00007fff41b1cdd4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
21 com.apple.CoreFoundation 0x00007fff41b1ca47 __CFRunLoopDoTimer + 1095
22 com.apple.CoreFoundation 0x00007fff41b1c54a __CFRunLoopDoTimers + 346
23 com.apple.CoreFoundation 0x00007fff41b13b4b __CFRunLoopRun + 2427
24 com.apple.CoreFoundation 0x00007fff41b12f43 CFRunLoopRunSpecific + 483
25 com.apple.Foundation 0x00007fff43c7f6d0 -[NSConcreteTask waitUntilExit] + 220
26 com.torusknot.SourceTreeNotMAS 0x000000010d6c720d 0x10d683000 + 279053
27 com.torusknot.SourceTreeNotMAS 0x000000010d7d4f9c 0x10d683000 + 1384348
28 com.torusknot.SourceTreeNotMAS 0x000000010d7d87c3 0x10d683000 + 1398723
29 com.torusknot.SourceTreeNotMAS 0x000000010d8697a8 0x10d683000 + 1992616
30 com.torusknot.SourceTreeNotMAS 0x000000010d86a149 0x10d683000 + 1995081
31 com.torusknot.SourceTreeNotMAS 0x000000010d86ab1d 0x10d683000 + 1997597
32 com.torusknot.SourceTreeNotMAS 0x000000010d86a6cc 0x10d683000 + 1996492
33 com.apple.Foundation 0x00007fff43c47445 __NSFireDelayedPerform + 409
34 com.apple.CoreFoundation 0x00007fff41b1cdd4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
35 com.apple.CoreFoundation 0x00007fff41b1ca47 __CFRunLoopDoTimer + 1095
36 com.apple.CoreFoundation 0x00007fff41b1c54a __CFRunLoopDoTimers + 346
37 com.apple.CoreFoundation 0x00007fff41b13b4b __CFRunLoopRun + 2427
38 com.apple.CoreFoundation 0x00007fff41b12f43 CFRunLoopRunSpecific + 483
39 com.apple.HIToolbox 0x00007fff40e2ae26 RunCurrentEventLoopInMode + 286
40 com.apple.HIToolbox 0x00007fff40e2ab96 ReceiveNextEventCommon + 613
41 com.apple.HIToolbox 0x00007fff40e2a914 _BlockUntilNextEventMatchingListInModeWithFilter + 64
42 com.apple.AppKit 0x00007fff3f0f5f5f _DPSNextEvent + 2085
43 com.apple.AppKit 0x00007fff3f88bb4c -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
44 com.apple.AppKit 0x00007fff3f0ead6d -[NSApplication run] + 764
45 com.apple.AppKit 0x00007fff3f0b9f1a NSApplicationMain + 804
46 libdyld.dylib 0x00007fff6942a115 start + 1

Thread 1:: com.twitter.crashlytics.mac.MachExceptionServer
0 libsystem_kernel.dylib 0x00007fff6957b9d2 write + 10
1 com.torusknot.SourceTreeNotMAS 0x000000010d9429aa 0x10d683000 + 2881962
2 com.torusknot.SourceTreeNotMAS 0x000000010d93a484 0x10d683000 + 2847876
3 libsystem_pthread.dylib 0x00007fff696b56c1 _pthread_body + 340
4 libsystem_pthread.dylib 0x00007fff696b556d _pthread_start + 377
5 libsystem_pthread.dylib 0x00007fff696b4c5d thread_start + 13

Thread 2:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff695707c2 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6956fcdc mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff41b14575 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff41b138c7 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff41b12f43 CFRunLoopRunSpecific + 483
5 com.apple.AppKit 0x00007fff3f2333c8 _NSEventThread + 184
6 libsystem_pthread.dylib 0x00007fff696b56c1 _pthread_body + 340
7 libsystem_pthread.dylib 0x00007fff696b556d _pthread_start + 377
8 libsystem_pthread.dylib 0x00007fff696b4c5d thread_start + 13

Thread 3:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff695707c2 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6956fcdc mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff41b14575 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff41b138c7 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff41b12f43 CFRunLoopRunSpecific + 483
5 com.apple.CFNetwork 0x00007fff40c8bf84 -[__CoreSchedulingSetRunnable runForever] + 722
6 com.apple.Foundation 0x00007fff43bf2ee8 __NSThread__start__ + 1197
7 libsystem_pthread.dylib 0x00007fff696b56c1 _pthread_body + 340
8 libsystem_pthread.dylib 0x00007fff696b556d _pthread_start + 377
9 libsystem_pthread.dylib 0x00007fff696b4c5d thread_start + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff69579cee __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff696b6662 _pthread_cond_wait + 732
2 libc++.1.dylib 0x00007fff6745fcb0 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 com.apple.JavaScriptCore 0x00007fff45651b16 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 86
4 com.apple.JavaScriptCore 0x00007fff45651a4b bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::threadRunLoop() + 139
5 com.apple.JavaScriptCore 0x00007fff45651d78 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 0x00007fff696b56c1 _pthread_body + 340
7 libsystem_pthread.dylib 0x00007fff696b556d _pthread_start + 377
8 libsystem_pthread.dylib 0x00007fff696b4c5d thread_start + 13

Thread 5:
0 libsystem_kernel.dylib 0x00007fff6957a562 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff696b506a _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff696b4c4d start_wqthread + 13

Thread 6:: Dispatch queue: com.apple.hstsstorage
0 libsystem_kernel.dylib 0x00007fff6957aef2 kevent_id + 10
1 libdispatch.dylib 0x00007fff6940ea4c _dispatch_kq_poll + 197
2 libdispatch.dylib 0x00007fff6940e736 _dispatch_kq_drain + 119
3 libdispatch.dylib 0x00007fff6940db04 _dispatch_kq_unote_update + 257
4 libdispatch.dylib 0x00007fff693f6608 _dispatch_mach_reply_kevent_register + 472
5 libdispatch.dylib 0x00007fff693f54dc _dispatch_mach_msg_send + 1257
6 libdispatch.dylib 0x00007fff693f6237 _dispatch_mach_send_drain + 325
7 libdispatch.dylib 0x00007fff6940b65e _dispatch_mach_send_msg + 394
8 libdispatch.dylib 0x00007fff6940c06d dispatch_mach_send_with_result_and_async_reply_4libxpc + 102
9 libxpc.dylib 0x00007fff696f0108 _xpc_connection_enqueue + 121
10 libxpc.dylib 0x00007fff696efb60 xpc_connection_send_message_with_reply + 207
11 com.apple.CFNetwork 0x00007fff40a788d2 invocation function for block in ExternalHSTSStorage::fetchHSTSState(void () block_pointer) + 164
12 com.apple.CFNetwork 0x00007fff40a78817 ExternalHSTSStorage::fetchHSTSState(void () block_pointer) + 101
13 com.apple.CFNetwork 0x00007fff40c512b1 ExternalHSTSStorage::getHSTSInfoDictionaryEnqueued(__CFString const*, void (__CFDictionary const*, unsigned char) block_pointer) + 117
14 com.apple.CFNetwork 0x00007fff40b10400 invocation function for block in HSTSStorage::copyHSTSInfoDictionary(__CFString const*, unsigned char*) + 136
15 libdispatch.dylib 0x00007fff693f8591 _dispatch_call_block_and_release + 12
16 libdispatch.dylib 0x00007fff693f0d50 _dispatch_client_callout + 8
17 libdispatch.dylib 0x00007fff6940520c _dispatch_queue_serial_drain + 635
18 libdispatch.dylib 0x00007fff693f80fd _dispatch_queue_invoke + 373
19 libdispatch.dylib 0x00007fff69405f02 _dispatch_root_queue_drain_deferred_wlh + 332
20 libdispatch.dylib 0x00007fff69409d16 _dispatch_workloop_worker_thread + 880
21 libsystem_pthread.dylib 0x00007fff696b5033 _pthread_wqthread + 980
22 libsystem_pthread.dylib 0x00007fff696b4c4d start_wqthread + 13

Thread 7:: Dispatch queue: NSOperationQueue 0x60400003a300 (QOS: UNSPECIFIED)
0 libsystem_kernel.dylib 0x00007fff6957aef2 kevent_id + 10
1 libdispatch.dylib 0x00007fff6940ea4c _dispatch_kq_poll + 197
2 libdispatch.dylib 0x00007fff6940e218 _dispatch_event_loop_poke + 463
3 com.apple.CFNetwork 0x00007fff40a5cb05 -[__NSCFURLSessionTask resume] + 325
4 com.torusknot.SourceTreeNotMAS 0x000000010d75b50b 0x10d683000 + 886027
5 com.apple.CoreFoundation 0x00007fff41b109dc __invoking___ + 140
6 com.apple.CoreFoundation 0x00007fff41b108b0 -[NSInvocation invoke] + 320
7 com.torusknot.SourceTreeNotMAS 0x000000010d912904 0x10d683000 + 2685188
8 com.torusknot.SourceTreeNotMAS 0x000000010d9126ee 0x10d683000 + 2684654
9 com.torusknot.SourceTreeNotMAS 0x000000010d911cf1 0x10d683000 + 2682097
10 com.torusknot.SourceTreeNotMAS 0x000000010d75e14e 0x10d683000 + 897358
11 com.torusknot.SourceTreeNotMAS 0x000000010d75b149 0x10d683000 + 885065
12 com.torusknot.SourceTreeNotMAS 0x000000010d73df4d 0x10d683000 + 765773
13 com.apple.Foundation 0x00007fff43c002cf __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
14 com.apple.Foundation 0x00007fff43c00131 -[NSBlockOperation main] + 68
15 com.apple.Foundation 0x00007fff43bfe5de -[__NSOperationInternal _start:] + 778
16 libdispatch.dylib 0x00007fff693f0d50 _dispatch_client_callout + 8
17 libdispatch.dylib 0x00007fff69403333 _dispatch_block_invoke_direct + 317
18 libdispatch.dylib 0x00007fff693f0d50 _dispatch_client_callout + 8
19 libdispatch.dylib 0x00007fff69403333 _dispatch_block_invoke_direct + 317
20 libdispatch.dylib 0x00007fff694031d6 dispatch_block_perform + 109
21 com.apple.Foundation 0x00007fff43bfa5ec __NSOQSchedule_f + 342
22 libdispatch.dylib 0x00007fff693f0d50 _dispatch_client_callout + 8
23 libdispatch.dylib 0x00007fff69403e76 _dispatch_continuation_pop + 472
24 libdispatch.dylib 0x00007fff693fb6cb _dispatch_async_redirect_invoke + 703
25 libdispatch.dylib 0x00007fff693f2941 _dispatch_root_queue_drain + 515
26 libdispatch.dylib 0x00007fff693f26ed _dispatch_worker_thread3 + 101
27 libsystem_pthread.dylib 0x00007fff696b51ca _pthread_wqthread + 1387
28 libsystem_pthread.dylib 0x00007fff696b4c4d start_wqthread + 13

Thread 8:
0 libsystem_kernel.dylib 0x00007fff6957a562 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff696b506a _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff696b4c4d start_wqthread + 13

Thread 9:
0 libsystem_kernel.dylib 0x00007fff6957a562 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff696b506a _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff696b4c4d start_wqthread + 13

Thread 10:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff6957aef2 kevent_id + 10
1 libdispatch.dylib 0x00007fff6940ea4c _dispatch_kq_poll + 197
2 libdispatch.dylib 0x00007fff6940e218 _dispatch_event_loop_poke + 463
3 libdispatch.dylib 0x00007fff693f3a6a _dispatch_source_invoke + 3262
4 libdispatch.dylib 0x00007fff6940506f _dispatch_queue_serial_drain + 222
5 libdispatch.dylib 0x00007fff693f3f66 _dispatch_mgr_queue_drain + 122
6 libdispatch.dylib 0x00007fff6940978b _dispatch_kevent_worker_thread + 468
7 libsystem_pthread.dylib 0x00007fff696b5057 _pthread_wqthread + 1016
8 libsystem_pthread.dylib 0x00007fff696b4c4d start_wqthread + 13

 

...

Thread 20:
0 libsystem_pthread.dylib 0x00007fff696b4c40 start_wqthread + 0
1 ??? 0x0000000000000050 0 + 80

Thread 21:
0 libsystem_pthread.dylib 0x00007fff696b4c40 start_wqthread + 0

Thread 22:
0 libsystem_pthread.dylib 0x00007fff696b4c40 start_wqthread + 0

Thread 23:: Dispatch queue: com.apple.hstsstorage
0 libsystem_kernel.dylib 0x00007fff6957aef2 kevent_id + 10
1 libdispatch.dylib 0x00007fff6940ea4c _dispatch_kq_poll + 197
2 libdispatch.dylib 0x00007fff6940e736 _dispatch_kq_drain + 119
3 libdispatch.dylib 0x00007fff6940db04 _dispatch_kq_unote_update + 257
4 libdispatch.dylib 0x00007fff69408e34 _dispatch_source_refs_register + 140
5 libdispatch.dylib 0x00007fff6940c442 _dispatch_mach_install + 43
6 libdispatch.dylib 0x00007fff6940c410 _dispatch_mach_finalize_activation + 50
7 libdispatch.dylib 0x00007fff69401f4a _dispatch_queue_resume_finalize_activation + 42
8 libxpc.dylib 0x00007fff696ee2dd _xpc_connection_check_in + 292
9 libxpc.dylib 0x00007fff696ef788 _xpc_connection_init + 752
10 libxpc.dylib 0x00007fff696ef488 _xpc_connection_resume_init + 14
11 libdispatch.dylib 0x00007fff693f0d50 _dispatch_client_callout + 8
12 libdispatch.dylib 0x00007fff6940520c _dispatch_queue_serial_drain + 635
13 libdispatch.dylib 0x00007fff693f80fd _dispatch_queue_invoke + 373
14 libdispatch.dylib 0x00007fff69405f02 _dispatch_root_queue_drain_deferred_wlh + 332
15 libdispatch.dylib 0x00007fff69409d16 _dispatch_workloop_worker_thread + 880
16 libsystem_pthread.dylib 0x00007fff696b5033 _pthread_wqthread + 980
17 libsystem_pthread.dylib 0x00007fff696b4c4d start_wqthread + 13

Thread 12 crashed with X86 Thread State (64-bit):
rax: 0x00007fff6970c8f8 rbx: 0x000070000ccbc630 rcx: 0x4e26cf16f4eb005f rdx: 0x000070000ccbbfe0
rdi: 0x0000000000000000 rsi: 0x00007fff69709b63 rbp: 0x000070000ccbc6e0 rsp: 0x000070000ccbc630
r8: 0x000070000ccbc368 r9: 0x000070000ccbc600 r10: 0x000070000ccbc600 r11: 0x00007fff6970c8f7
r12: 0x0000600000078a40 r13: 0x00000000a7baadb1 r14: 0x00000000a5baadb9 r15: 0x00006000132f9528
rip: 0x00007fff69703907 rfl: 0x0000000000010202 cr2: 0x00007fff9b8c7990

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

...

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

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

VIRTUAL REGION 
REGION TYPE SIZE COUNT (non-coalesced) 
=========== ======= ======= 
Accelerate framework 768K 7 
Activity Tracing 256K 2 
CG backing stores 9020K 7 
CG image 2492K 54 
CoreAnimation 309.0M 285 
CoreGraphics 8K 2 
CoreImage 260K 22 
CoreServices 192K 2 
CoreUI image data 5892K 37 
CoreUI image file 192K 5 
Foundation 796K 4 
Image IO 752K 33 
JS JIT generated code 128.0M 4 
JS JIT generated code (reserved) 896.0M 2 reserved VM address space (unallocated)
Kernel Alloc Once 8K 2 
MALLOC 195.2G 249 
MALLOC guard page 112K 27 
Mach message 4K 2 
Memory Tag 242 12K 2 
Memory Tag 251 60K 3 
SQLite page cache 64K 2 
STACK GUARD 56.1M 24 
Stack 19.2M 25 
VM_ALLOCATE 26.8M 365 
WebKit Malloc 7200K 4 
__DATA 36.1M 336 
__FONT_DATA 4K 2 
__GLSLBUILTINS 2588K 2 
__LINKEDIT 190.6M 8 
__TEXT 244.3M 342 
__UNICODE 560K 2 
libnetwork 512K 11 
mapped file 79.5M 58 
shared memory 816K 15 
=========== ======= ======= 
TOTAL 197.2G 1913 
TOTAL, minus reserved VM space 196.3G 1913

Model: MacBookPro11,4, BootROM MBP114.0177.B00, 4 processors, Intel Core i7, 2.5 GHz, 16 GB, SMC 2.29f24
Graphics: Intel Iris Pro, Intel Iris Pro, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533642465238412D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533642465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x152), Broadcom BCM43xx 1.0 (7.77.37.5.1a3)
Bluetooth: Version 6.0.2f2, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0256G, 251 GB
USB Device: USB 3.0 Bus
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1

5 answers

Workaround:

  • delete /Users/<user>/Library/Application Support/Sourcetree/browser.plist
  • Relaunch the app and open repo
  • DO NOT create a new bookmark for the repo

 

see https://jira.atlassian.com/browse/SRCTREE-5769

Thanks! It works to me

Works for me as well!

same here, newest sourcetree 2.7.4, osx 10.13.5 - crashes on boot.

Oops! Me too.

Workaround: delete /Users/<user>/Library/Application Support/Sourcetree/browser.plist

then DO NOT create a new bookmark, and the app can be opened

 

see https://jira.atlassian.com/browse/SRCTREE-5769

Same issue of Dan Ziv

0 votes

Please update to 2.7.1 (157) and the known leak should be cleared up.

Hi Brian,

Not sure if you need the full backtrace, but I am running into a similar problem using OSX 10.13.5. SourceTree version 2.7.4. Although, symptoms are the same, not sure about the cause.

 

Process: Sourcetree [48303]
Path: /Applications/SourceTree.app/Contents/MacOS/Sourcetree
Identifier: Sourcetree
Version: 2.7.3 (169)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Sourcetree [48303]
User ID: 502

Date/Time: 2018-05-08 17:44:46.203 +0200
OS Version: Mac OS X 10.13.3 (17D47)
Report Version: 12
Anonymous UUID: 99C087BE-7F28-62A6-2B53-5A948F1C1B6F

Sleep/Wake UUID: 2DA4A3DC-BFD0-4040-860A-569544CEC5B7

Time Awake Since Boot: 630000 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 [0]

Application Specific Information:
Crashing on exception: *** -[NSConcreteTask terminationStatus]: task still running

 

-- backtrace --

 

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

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

VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 512K 5
Activity Tracing 256K 2
CG backing stores 9164K 10
CG image 1120K 61
CoreAnimation 61.9M 176
CoreGraphics 8K 2
CoreImage 208K 44
CoreUI image data 3168K 44
CoreUI image file 192K 5
Foundation 468K 4
IOKit 7940K 2
Image IO 836K 29
JS JIT generated code 256.0M 5
JS JIT generated code (reserved) 768.0M 2 reserved VM address space (unallocated)
Kernel Alloc Once 8K 2
MALLOC 327.4M 82
MALLOC guard page 112K 28
Mach message 8K 3
Memory Tag 242 12K 2
SQLite page cache 192K 4
STACK GUARD 56.0M 11
Stack 12.6M 12
Swift metadata 8K 3
VM_ALLOCATE 944K 67
WebKit Malloc 203.1M 22
__DATA 45.8M 359
__FONT_DATA 4K 2
__GLSLBUILTINS 2588K 2
__LINKEDIT 192.9M 20
__TEXT 265.4M 364
__UNICODE 560K 2
libnetwork 384K 7
mapped file 187.4M 75
shared memory 648K 18
=========== ======= =======
TOTAL 2.3G 1442
TOTAL, minus reserved VM space 1.6G 1442

I did the auto-update to 2.7.4 and now this is happening every time I launch SourceTree,  the list appears then vaporizes.

I tried to roll back to previous versions and it continues to happen.  Can no longer use the app at all.

Running Mac OSX High Sierra.

 

 

Process: Sourcetree [1473]
Path: /Applications/Sourcetree.app/Contents/MacOS/Sourcetree
Identifier: com.torusknot.SourceTreeNotMAS
Version: 2.7.4 (175)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Sourcetree [1473]
User ID: 504

Date/Time: 2018-06-06 09:33:10.673 -0400
OS Version: Mac OS X 10.13.4 (17E202)
Report Version: 12
Anonymous UUID: 8A86CA64-2BA0-FF14-6E67-8B066B747659


Time Awake Since Boot: 1000 seconds

System Integrity Protection: disabled

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

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

Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff54f4e32b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff7c5c4c76 objc_exception_throw + 48
2 CoreFoundation 0x00007fff54fdfdcd +[NSException raise:format:] + 205
3 Foundation 0x00007fff56fe3485 -[NSString(NSPathUtilities) stringByAppendingPathExtension:] + 113
4 Sourcetree 0x00000001005d18d9 Sourcetree + 641241
5 Sourcetree 0x00000001005d15dc Sourcetree + 640476
6 libdispatch.dylib 0x00007fff7d1ac64a _dispatch_call_block_and_release + 12
7 libdispatch.dylib 0x00007fff7d1a4e08 _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007fff7d1b1d15 _dispatch_queue_override_invoke + 880
9 libdispatch.dylib 0x00007fff7d1a69f9 _dispatch_root_queue_drain + 515
10 libdispatch.dylib 0x00007fff7d1a67a5 _dispatch_worker_thread3 + 101
11 libsystem_pthread.dylib 0x00007fff7d4f6169 _pthread_wqthread + 1387
12 libsystem_pthread.dylib 0x00007fff7d4f5be9 start_wqthread + 13

Same here, 2.7.4 on High Sierra. Repository list loads for a short time and then crashes every time. 

Process: Sourcetree [1179]
Path: /Applications/Sourcetree.app/Contents/MacOS/Sourcetree
Identifier: com.torusknot.SourceTreeNotMAS
Version: 2.7.4 (175)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Sourcetree [1179]
User ID: 502

Date/Time: 2018-06-06 16:42:39.723 +0100
OS Version: Mac OS X 10.13.5 (17F77)
Report Version: 12
Anonymous UUID: 359A125C-AD8B-4BD2-675E-6B101E26E909


Time Awake Since Boot: 600 seconds

System Integrity Protection: enabled

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

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

Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff3523132b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff5c387c76 objc_exception_throw + 48
2 CoreFoundation 0x00007fff352c2dcd +[NSException raise:format:] + 205
3 Foundation 0x00007fff372d3485 -[NSString(NSPathUtilities) stringByAppendingPathExtension:] + 113
4 Sourcetree 0x000000010b6e08d9 Sourcetree + 641241
5 Sourcetree 0x000000010b6e05dc Sourcetree + 640476
6 libdispatch.dylib 0x00007fff5cf6f5fa _dispatch_call_block_and_release + 12
7 libdispatch.dylib 0x00007fff5cf67db8 _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007fff5cf74cc5 _dispatch_queue_override_invoke + 880
9 libdispatch.dylib 0x00007fff5cf699a9 _dispatch_root_queue_drain + 515
10 libdispatch.dylib 0x00007fff5cf69755 _dispatch_worker_thread3 + 101
11 libsystem_pthread.dylib 0x00007fff5d2b9169 _pthread_wqthread + 1387
12 libsystem_pthread.dylib 0x00007fff5d2b8be9 start_wqthread + 13

 

For anybody facing this issue,

I cannot fully confirm this is a fix for everyone, but here is what worked form me. I have had a ssh-key problem before and ran into it again trying to push some files to master using the native source control in Visual studio. It just couldn't find my ssh key. Fixing this also fixed SourceTree.

On Mac you can find your Bitbucket key file through $ cd ~/.ssh, you then add your key through $ ssh-add <your-key-name>, you have to enter the ssh password you have set on your Bitbucket account. 

More detailed information

This fixed it for me without even the last update...

 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,917 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you