Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Sourcetree (Mac) crashes each time, as soon as a window is opened

Please advise: Sourcetree keeps crashing a soon as a repo is opened, with the following report:

 

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

Date/Time: 2018-06-06 13:00:12.744 +0200
OS Version: Mac OS X 10.13.5 (17F77)
Report Version: 12
Anonymous UUID: E6867BA8-3BC0-2253-B75A-6F88F9FA4F0C

Sleep/Wake UUID: 0307D82A-2BDB-46F3-A4EF-138F18F01DA9

Time Awake Since Boot: 2400 seconds
Time Since Wake: 2100 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 0x00007fff3a04632b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff611b0c76 objc_exception_throw + 48
2 CoreFoundation 0x00007fff3a0d7dcd +[NSException raise:format:] + 205
3 Foundation 0x00007fff3c0e8485 -[NSString(NSPathUtilities) stringByAppendingPathExtension:] + 113
4 Sourcetree 0x000000010d037495 Sourcetree + 640149
5 Sourcetree 0x000000010d037198 Sourcetree + 639384
6 libdispatch.dylib 0x00007fff61d985fa _dispatch_call_block_and_release + 12
7 libdispatch.dylib 0x00007fff61d90db8 _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007fff61d9dcc5 _dispatch_queue_override_invoke + 880
9 libdispatch.dylib 0x00007fff61d929a9 _dispatch_root_queue_drain + 515
10 libdispatch.dylib 0x00007fff61d92755 _dispatch_worker_thread3 + 101
11 libsystem_pthread.dylib 0x00007fff620e2169 _pthread_wqthread + 1387
12 libsystem_pthread.dylib 0x00007fff620e1be9 start_wqthread + 13

Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff61f1120a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff61f10724 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff39fc17d5 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff39fc0b27 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff39fc01a3 CFRunLoopRunSpecific + 483
5 com.apple.HIToolbox 0x00007fff392a6d96 RunCurrentEventLoopInMode + 286
6 com.apple.HIToolbox 0x00007fff392a6b06 ReceiveNextEventCommon + 613
7 com.apple.HIToolbox 0x00007fff392a6884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
8 com.apple.AppKit 0x00007fff37558a73 _DPSNextEvent + 2085
9 com.apple.AppKit 0x00007fff37ceee34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
10 com.apple.AppKit 0x00007fff3754d885 -[NSApplication run] + 764
11 com.apple.AppKit 0x00007fff3751ca72 NSApplicationMain + 804
12 libdyld.dylib 0x00007fff61dca015 start + 1

Thread 1:: com.twitter.crashlytics.mac.MachExceptionServer
0 libsystem_kernel.dylib 0x00007fff61f1c702 write + 10
1 com.torusknot.SourceTreeNotMAS 0x000000010d279f4a 0x10cf9b000 + 3010378
2 com.torusknot.SourceTreeNotMAS 0x000000010d271984 0x10cf9b000 + 2976132
3 libsystem_pthread.dylib 0x00007fff620e2661 _pthread_body + 340
4 libsystem_pthread.dylib 0x00007fff620e250d _pthread_start + 377
5 libsystem_pthread.dylib 0x00007fff620e1bf9 thread_start + 13

Thread 2:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff61f1120a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff61f10724 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff39fc17d5 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff39fc0b27 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff39fc01a3 CFRunLoopRunSpecific + 483
5 com.apple.AppKit 0x00007fff37695fc4 _NSEventThread + 184
6 libsystem_pthread.dylib 0x00007fff620e2661 _pthread_body + 340
7 libsystem_pthread.dylib 0x00007fff620e250d _pthread_start + 377
8 libsystem_pthread.dylib 0x00007fff620e1bf9 thread_start + 13

Thread 3:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff61f1120a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff61f10724 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff39fc17d5 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff39fc0b27 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff39fc01a3 CFRunLoopRunSpecific + 483
5 com.apple.CFNetwork 0x00007fff39106e78 -[__CoreSchedulingSetRunnable runForever] + 722
6 com.apple.Foundation 0x00007fff3c0cb1f8 __NSThread__start__ + 1197
7 libsystem_pthread.dylib 0x00007fff620e2661 _pthread_body + 340
8 libsystem_pthread.dylib 0x00007fff620e250d _pthread_start + 377
9 libsystem_pthread.dylib 0x00007fff620e1bf9 thread_start + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff61f1aa1e __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff620e3589 _pthread_cond_wait + 732
2 libc++.1.dylib 0x00007fff5fd1fd43 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 0x00007fff3dc35ad5 std::__1::cv_status std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 117
4 com.apple.JavaScriptCore 0x00007fff3dc359c0 std::__1::cv_status std::__1::condition_variable_any::wait_until<std::__1::unique_lock<bmalloc::Mutex>, std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<bmalloc::Mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 96
5 com.apple.JavaScriptCore 0x00007fff3dc355e9 bmalloc::Scavenger::threadRunLoop() + 361
6 com.apple.JavaScriptCore 0x00007fff3dc35379 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 9
7 com.apple.JavaScriptCore 0x00007fff3dc356b8 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*) + 40
8 libsystem_pthread.dylib 0x00007fff620e2661 _pthread_body + 340
9 libsystem_pthread.dylib 0x00007fff620e250d _pthread_start + 377
10 libsystem_pthread.dylib 0x00007fff620e1bf9 thread_start + 13

Thread 5:
0 libsystem_kernel.dylib 0x00007fff61f1b292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff620e2009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff620e1be9 start_wqthread + 13

Thread 6:
0 libsystem_kernel.dylib 0x00007fff61f1b292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff620e2009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff620e1be9 start_wqthread + 13

Thread 7:
0 libsystem_kernel.dylib 0x00007fff61f1b292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff620e2009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff620e1be9 start_wqthread + 13

Thread 8 Crashed:: Dispatch queue: com.apple.root.default-qos
0 com.apple.AppKit 0x00007fff37883454 -[NSApplication _crashOnException:] + 109
1 com.apple.AppKit 0x00007fff3788333c -[NSApplication reportException:] + 953
2 com.torusknot.SourceTreeNotMAS 0x000000010d28471d 0x10cf9b000 + 3053341
3 com.apple.AppKit 0x00007fff3796daa8 uncaughtErrorProc + 157
4 com.apple.CoreFoundation 0x00007fff3a0d81b3 __handleUncaughtException + 771
5 libobjc.A.dylib 0x00007fff611b2e9d _objc_terminate() + 91
6 com.torusknot.SourceTreeNotMAS 0x000000010d284479 0x10cf9b000 + 3052665
7 libc++abi.dylib 0x00007fff5fd8d7c9 std::__terminate(void (*)()) + 8
8 libc++abi.dylib 0x00007fff5fd8d843 std::terminate() + 51
9 libdispatch.dylib 0x00007fff61d90dcc _dispatch_client_callout + 28
10 libdispatch.dylib 0x00007fff61d9dcc5 _dispatch_queue_override_invoke + 880
11 libdispatch.dylib 0x00007fff61d929a9 _dispatch_root_queue_drain + 515
12 libdispatch.dylib 0x00007fff61d92755 _dispatch_worker_thread3 + 101
13 libsystem_pthread.dylib 0x00007fff620e2169 _pthread_wqthread + 1387
14 libsystem_pthread.dylib 0x00007fff620e1be9 start_wqthread + 13

Thread 9:
0 libsystem_kernel.dylib 0x00007fff61f1b292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff620e220e _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff620e1be9 start_wqthread + 13

Thread 10:
0 libsystem_kernel.dylib 0x00007fff61f1b292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff620e2009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff620e1be9 start_wqthread + 13

Thread 11:: Dispatch queue: com.apple.root.utility-qos
0 libsystem_kernel.dylib 0x00007fff61f1c14a read + 10
1 com.apple.Foundation 0x00007fff3c0b0fa0 _NSReadFromFileDescriptorWithProgress + 232
2 com.apple.Foundation 0x00007fff3c153a36 -[NSConcreteFileHandle readDataOfLength:] + 450
3 com.torusknot.SourceTreeNotMAS 0x000000010cfe578e 0x10cf9b000 + 305038
4 com.torusknot.SourceTreeNotMAS 0x000000010cfe7181 0x10cf9b000 + 311681
5 com.torusknot.SourceTreeNotMAS 0x000000010cfe5623 0x10cf9b000 + 304675
6 com.torusknot.SourceTreeNotMAS 0x000000010d1042f0 0x10cf9b000 + 1479408
7 com.torusknot.SourceTreeNotMAS 0x000000010cfdabbb 0x10cf9b000 + 261051
8 com.torusknot.SourceTreeNotMAS 0x000000010cfdb263 0x10cf9b000 + 262755
9 libdispatch.dylib 0x00007fff61d985fa _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007fff61d90db8 _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff61d92b2c _dispatch_root_queue_drain + 902
12 libdispatch.dylib 0x00007fff61d92755 _dispatch_worker_thread3 + 101
13 libsystem_pthread.dylib 0x00007fff620e2169 _pthread_wqthread + 1387
14 libsystem_pthread.dylib 0x00007fff620e1be9 start_wqthread + 13

Thread 12:
0 libsystem_pthread.dylib 0x00007fff620e1bdc start_wqthread + 0
1 ??? 0x000000000003c90b 0 + 248075

Thread 13:
0 libsystem_pthread.dylib 0x00007fff620e1bdc start_wqthread + 0
1 ??? 0x00007fff9a9182e8 OBJC_METACLASS_$_OS_xpc_endpoint + 40

Thread 14:
0 libsystem_pthread.dylib 0x00007fff620e1bdc start_wqthread + 0
1 ??? 0x0000600001a5b630 0 + 105553143903792

Thread 15:
0 libsystem_pthread.dylib 0x00007fff620e1bdc start_wqthread + 0
1 ??? 0x000070000f157b20 0 + 123145555376928

Thread 16:
0 libsystem_kernel.dylib 0x00007fff61f1b292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff620e220e _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff620e1be9 start_wqthread + 13

Thread 17:
0 libsystem_pthread.dylib 0x00007fff620e1bdc start_wqthread + 0

Thread 8 crashed with X86 Thread State (64-bit):
rax: 0x00007f830a07d000 rbx: 0x0000604001657760 rcx: 0x0000000000000000 rdx: 0x0000000000000498
rdi: 0x0000000008000101 rsi: 0x00007f830a14a461 rbp: 0x000070000ec39ac0 rsp: 0x000070000ec39ab0
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x000070000ec395b8 r11: 0xfffffffffff32fff
r12: 0x000070000ec39ac0 r13: 0x00006040001186f0 r14: 0x00007fff611a2e80 r15: 0x000070000ec39ad0
rip: 0x00007fff37883454 rfl: 0x0000000000010202 cr2: 0x000000010b40f000

Logical CPU: 0
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: 1398
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=464.8M resident=0K(0%) swapped_out_or_unallocated=464.8M(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 896K 8
Activity Tracing 256K 2
CG backing stores 22.9M 6
CG image 2624K 85
CoreAnimation 142.4M 172
CoreGraphics 8K 2
CoreImage 636K 64
CoreUI image data 6156K 42
CoreUI image file 340K 8
Foundation 20K 3
Image IO 1808K 14
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 359.9M 175
MALLOC guard page 96K 23
Mach message 8K 3
Memory Tag 242 12K 2
Memory Tag 251 108K 5
SQLite page cache 64K 2
STACK GUARD 56.1M 18
Stack 16.1M 21
VM_ALLOCATE 956K 34
WebKit Malloc 26.2M 14
__DATA 40.3M 364
__FONT_DATA 4K 2
__LINKEDIT 197.0M 23
__TEXT 267.8M 368
__UNICODE 560K 2
libnetwork 640K 9
mapped file 224.1M 147
shared memory 2792K 18
=========== ======= =======
TOTAL 2.3G 1612
TOTAL, minus reserved VM space 1.5G 1612

Model: MacBookPro14,1, BootROM MBP141.0175.B00, 2 processors, Intel Core i5, 2,3 GHz, 8 GB, SMC 2.43f6
Graphics: Intel Iris Plus Graphics 640, Intel Iris Plus Graphics 640, Built-In
Memory Module: BANK 0/DIMM0, 4 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C3531324D3332443250462D3039
Memory Module: BANK 1/DIMM0, 4 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C3531324D3332443250462D3039
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x170), Broadcom BCM43xx 1.0 (7.77.37.31.1a9)
Bluetooth: Version 6.0.6f2, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.0 Bus
Thunderbolt Bus: MacBook Pro, Apple Inc., 33.1

5 answers

1 accepted

0 votes
Answer accepted
Manju Atlassian Team Jun 06, 2018

There seems to be an issue loading and reading repo avatars. We are investigating the crash and will soon have an update on this. In the meanwhile, feel free to remove the ImageCache folder under ~/Library/Application Support/SourceTree/

Thanks for your patience! 

Manjunath
Sourcetree Mac Developer

Latest release solved the issue permanently. Thanks!

UPDATE: You can prevent it from crashing by turning of internet connection (wifi/cable), opening the repo and then restoring internet connection.

Same issue here! Thanks Dominique, what you said it works for me, but I'm afraid this is more a patch than a final solution. :o)

Same thing for me on Mac OS 10.13.5 on MacPro

Same here! Even tried reinstalling the app. Unable to use after latest upgrade.

Suggest an answer

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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,716 views 4 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