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 keeps crashing when open local repo Edited

Env: MacOS High Sierra

SourceTree: 2.4

Behavior: Functional normally this morning, suddenly crashed without any warning.

When I reopen the app, it loads everything (including local, remote repo) and then crash. Unable to perform any task.

My co-workers are experiencing the same issue. Non of the sourcetree is working in our company at the moment.

In the system log, it states:

Jun 6 15:42:48 mirandali SourceTree[87609]: [Crashlytics] Version 3.8.3 (120)
Jun 6 15:42:48 mirandali SourceTree[87609]: [Crashlytics:Crash:Reports] Packaged report with id '2026fa6aef0b4a09bc669e82a8e69e8b' for submission
Jun 6 15:42:51 mirandali com.apple.xpc.launchd[1] (com.torusknot.SourceTreeNotMAS.14480[87609]): Service exited due to signal: Illegal instruction: 4 sent by exc handler[0]

The error logs:

Process: SourceTree [87609]
Path: /Applications/SourceTree.app/Contents/MacOS/SourceTree
Identifier: com.torusknot.SourceTreeNotMAS
Version: 2.4.1 (97)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: SourceTree [87609]
User ID: 502

Date/Time: 2018-06-06 15:42:51.996 +1000
OS Version: Mac OS X 10.13.4 (17E199)
Report Version: 12
Anonymous UUID: 2A7B7FC7-D809-813C-5C23-5F9239C060CC

Sleep/Wake UUID: 99518D56-15D7-4B17-B196-B1F55CA9A4D6

Time Awake Since Boot: 1000000 seconds
Time Since Wake: 20000 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 0x00007fff4f1f932b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff76873c76 objc_exception_throw + 48
2 CoreFoundation 0x00007fff4f28adcd +[NSException raise:format:] + 205
3 Foundation 0x00007fff5128e485 -[NSString(NSPathUtilities) stringByAppendingPathExtension:] + 113
4 SourceTree 0x0000000101b00b2e SourceTree + 564014
5 SourceTree 0x0000000101b0082f SourceTree + 563247
6 libdispatch.dylib 0x00007fff7745b64a _dispatch_call_block_and_release + 12
7 libdispatch.dylib 0x00007fff77453e08 _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007fff77460d15 _dispatch_queue_override_invoke + 880
9 libdispatch.dylib 0x00007fff774559f9 _dispatch_root_queue_drain + 515
10 libdispatch.dylib 0x00007fff774557a5 _dispatch_worker_thread3 + 101
11 libsystem_pthread.dylib 0x00007fff777a5169 _pthread_wqthread + 1387
12 libsystem_pthread.dylib 0x00007fff777a4be9 start_wqthread + 13

Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff775dec22 kevent_id + 10
1 libdispatch.dylib 0x00007fff77471aa8 _dispatch_kq_poll + 197
2 libdispatch.dylib 0x00007fff77471274 _dispatch_event_loop_poke + 463
3 com.apple.CFNetwork 0x00007fff4e085998 -[NSURLSession finishTasksAndInvalidate] + 123
4 com.torusknot.SourceTreeNotMAS 0x0000000101beea86 0x101a77000 + 1538694
5 com.torusknot.SourceTreeNotMAS 0x0000000101bf1be6 0x101a77000 + 1551334
6 com.torusknot.SourceTreeNotMAS 0x0000000101bf14c1 0x101a77000 + 1549505
7 com.apple.CFNetwork 0x00007fff4e25cc8f __51-[NSURLSession delegate_task:didCompleteWithError:]_block_invoke.182 + 80
8 com.apple.Foundation 0x00007fff5127e5df __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
9 com.apple.Foundation 0x00007fff5127e441 -[NSBlockOperation main] + 68
10 com.apple.Foundation 0x00007fff5127c8ee -[__NSOperationInternal _start:] + 778
11 libdispatch.dylib 0x00007fff77453e08 _dispatch_client_callout + 8
12 libdispatch.dylib 0x00007fff7746638e _dispatch_block_invoke_direct + 317
13 libdispatch.dylib 0x00007fff77453e08 _dispatch_client_callout + 8
14 libdispatch.dylib 0x00007fff7746638e _dispatch_block_invoke_direct + 317
15 libdispatch.dylib 0x00007fff77466231 dispatch_block_perform + 109
16 com.apple.Foundation 0x00007fff512788fc __NSOQSchedule_f + 342
17 libdispatch.dylib 0x00007fff77453e08 _dispatch_client_callout + 8
18 libdispatch.dylib 0x00007fff7745f3e5 _dispatch_main_queue_callback_4CF + 1148
19 com.apple.CoreFoundation 0x00007fff4f1b1c69 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
20 com.apple.CoreFoundation 0x00007fff4f173e4a __CFRunLoopRun + 2586
21 com.apple.CoreFoundation 0x00007fff4f1731a3 CFRunLoopRunSpecific + 483
22 com.apple.HIToolbox 0x00007fff4e45bd96 RunCurrentEventLoopInMode + 286
23 com.apple.HIToolbox 0x00007fff4e45bb06 ReceiveNextEventCommon + 613
24 com.apple.HIToolbox 0x00007fff4e45b884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
25 com.apple.AppKit 0x00007fff4c70ea73 _DPSNextEvent + 2085
26 com.apple.AppKit 0x00007fff4cea4e34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
27 com.apple.AppKit 0x00007fff4c703885 -[NSApplication run] + 764
28 com.apple.AppKit 0x00007fff4c6d2a72 NSApplicationMain + 804
29 libdyld.dylib 0x00007fff7748d015 start + 1

Thread 1:
0 libsystem_kernel.dylib 0x00007fff775de292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff777a520e _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff777a4be9 start_wqthread + 13

Thread 2:
0 libsystem_kernel.dylib 0x00007fff775de292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff777a5009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff777a4be9 start_wqthread + 13

Thread 3:
0 libsystem_kernel.dylib 0x00007fff775de292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff777a520e _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff777a4be9 start_wqthread + 13

Thread 4:: Dispatch queue: com.apple.root.default-qos
0 libsystem_kernel.dylib 0x00007fff775d420a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff775d3724 mach_msg + 60
2 libxpc.dylib 0x00007fff777e357a _xpc_send_serializer + 99
3 libxpc.dylib 0x00007fff777e3464 _xpc_pipe_simpleroutine + 79
4 libxpc.dylib 0x00007fff777e33ea xpc_pipe_simpleroutine + 44
5 libsystem_trace.dylib 0x00007fff777be90e ___os_activity_stream_reflect_block_invoke + 29
6 libdispatch.dylib 0x00007fff77453e08 _dispatch_client_callout + 8
7 libdispatch.dylib 0x00007fff7746638e _dispatch_block_invoke_direct + 317
8 libdispatch.dylib 0x00007fff77466231 dispatch_block_perform + 109
9 libsystem_trace.dylib 0x00007fff777be40e _os_activity_stream_reflect + 534
10 libsystem_trace.dylib 0x00007fff777cac3c _os_log_impl_stream + 301
11 libsystem_trace.dylib 0x00007fff777c9f6d _os_log_impl_flatten_and_send + 4909
12 libsystem_trace.dylib 0x00007fff777c8c21 _os_log_error_impl + 87
13 com.apple.AppKit 0x00007fff4cb23a98 uncaughtErrorProc + 141
14 com.apple.CoreFoundation 0x00007fff4f28b1b3 __handleUncaughtException + 771
15 libobjc.A.dylib 0x00007fff76875e9d _objc_terminate() + 91
16 libc++abi.dylib 0x00007fff754597c9 std::__terminate(void (*)()) + 8
17 libc++abi.dylib 0x00007fff75459843 std::terminate() + 51
18 libdispatch.dylib 0x00007fff77453e1c _dispatch_client_callout + 28
19 libdispatch.dylib 0x00007fff77460d15 _dispatch_queue_override_invoke + 880
20 libdispatch.dylib 0x00007fff774559f9 _dispatch_root_queue_drain + 515
21 libdispatch.dylib 0x00007fff774557a5 _dispatch_worker_thread3 + 101
22 libsystem_pthread.dylib 0x00007fff777a5169 _pthread_wqthread + 1387
23 libsystem_pthread.dylib 0x00007fff777a4be9 start_wqthread + 13

Thread 5:: Dispatch queue: com.apple.CFNetwork.LoaderQ
0 libxpc.dylib 0x00007fff777dcc7d xpc_dictionary_set_uuid + 0
1 libsystem_trace.dylib 0x00007fff777be4a1 _os_activity_stream_entry_encode + 86
2 libsystem_trace.dylib 0x00007fff777be31a _os_activity_stream_reflect + 290
3 libsystem_trace.dylib 0x00007fff777cac3c _os_log_impl_stream + 301
4 libsystem_trace.dylib 0x00007fff777c9f6d _os_log_impl_flatten_and_send + 4909
5 libsystem_trace.dylib 0x00007fff777c8c21 _os_log_error_impl + 87
6 com.apple.CFNetwork 0x00007fff4e0e29c3 HTTPProtocol::handleStreamEvent(__CFHTTPMessage*, dispatch_data_s*, CFStreamError const*) + 359
7 com.apple.CFNetwork 0x00007fff4e0d65ab invocation function for block in QCoreSchedulingSet::performAsync(void () block_pointer) const + 41
8 libdispatch.dylib 0x00007fff7745b64a _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x00007fff77453e08 _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff77468267 _dispatch_queue_serial_drain + 635
11 libdispatch.dylib 0x00007fff7745b1b6 _dispatch_queue_invoke + 373
12 libdispatch.dylib 0x00007fff774680ca _dispatch_queue_serial_drain + 222
13 libdispatch.dylib 0x00007fff7745b1b6 _dispatch_queue_invoke + 373
14 libdispatch.dylib 0x00007fff77468f5d _dispatch_root_queue_drain_deferred_wlh + 332
15 libdispatch.dylib 0x00007fff7746cd71 _dispatch_workloop_worker_thread + 880
16 libsystem_pthread.dylib 0x00007fff777a4fd2 _pthread_wqthread + 980
17 libsystem_pthread.dylib 0x00007fff777a4be9 start_wqthread + 13

Thread 6 Crashed:: Dispatch queue: com.apple.root.default-qos
0 com.apple.AppKit 0x00007fff4ca39454 -[NSApplication _crashOnException:] + 109
1 com.apple.AppKit 0x00007fff4ca3933c -[NSApplication reportException:] + 953
2 com.torusknot.SourceTreeNotMAS 0x0000000101cfd7a0 0x101a77000 + 2647968
3 com.apple.AppKit 0x00007fff4cb23aa8 uncaughtErrorProc + 157
4 com.apple.CoreFoundation 0x00007fff4f28b1b3 __handleUncaughtException + 771
5 libobjc.A.dylib 0x00007fff76875e9d _objc_terminate() + 91
6 com.torusknot.SourceTreeNotMAS 0x0000000101cfd4f9 0x101a77000 + 2647289
7 libc++abi.dylib 0x00007fff754597c9 std::__terminate(void (*)()) + 8
8 libc++abi.dylib 0x00007fff75459843 std::terminate() + 51
9 libdispatch.dylib 0x00007fff77453e1c _dispatch_client_callout + 28
10 libdispatch.dylib 0x00007fff77460d15 _dispatch_queue_override_invoke + 880
11 libdispatch.dylib 0x00007fff774559f9 _dispatch_root_queue_drain + 515
12 libdispatch.dylib 0x00007fff774557a5 _dispatch_worker_thread3 + 101
13 libsystem_pthread.dylib 0x00007fff777a5169 _pthread_wqthread + 1387
14 libsystem_pthread.dylib 0x00007fff777a4be9 start_wqthread + 13

Thread 7:
0 libsystem_pthread.dylib 0x00007fff777a4bdc start_wqthread + 0
1 ??? 0x0000700004226b20 0 + 123145371675424

Thread 8:
0 libsystem_pthread.dylib 0x00007fff777a4bdc start_wqthread + 0
1 ??? 0x00007000042a9cd8 0 + 123145372212440

Thread 9:: Dispatch queue: com.apple.root.default-qos
0 libsystem_malloc.dylib 0x00007fff7763618a malloc_zone_malloc + 52
1 com.apple.CoreFoundation 0x00007fff4f0f131c _CFRuntimeCreateInstance + 284
2 com.apple.CoreFoundation 0x00007fff4f0f4251 __CFStringCreateImmutableFunnel3 + 3073
3 com.apple.CoreFoundation 0x00007fff4f101f6d CFStringCreateWithBytes + 29
4 com.apple.CoreFoundation 0x00007fff4f102a5f CFURLCopyFileSystemPath + 511
5 com.apple.Foundation 0x00007fff5124c3ab -[NSURL(NSURL) path] + 143
6 com.apple.Foundation 0x00007fff5125a91f NSHomeDirectoryForUser + 36
7 com.apple.Foundation 0x00007fff5124580e _NSExpandTildeInPath + 92
8 com.apple.Foundation 0x00007fff5125a887 -[NSString(NSPathUtilities) stringByExpandingTildeInPath] + 134
9 com.apple.Foundation 0x00007fff5124afbd NSSearchPathForDirectoriesInDomains + 348
10 com.torusknot.SourceTreeNotMAS 0x0000000101ae4c59 0x101a77000 + 449625
11 com.torusknot.SourceTreeNotMAS 0x0000000101ae4cf1 0x101a77000 + 449777
12 com.torusknot.SourceTreeNotMAS 0x0000000101afeb92 0x101a77000 + 555922
13 com.torusknot.SourceTreeNotMAS 0x0000000101b00afb 0x101a77000 + 563963
14 com.torusknot.SourceTreeNotMAS 0x0000000101b0082f 0x101a77000 + 563247
15 libdispatch.dylib 0x00007fff7745b64a _dispatch_call_block_and_release + 12
16 libdispatch.dylib 0x00007fff77453e08 _dispatch_client_callout + 8
17 libdispatch.dylib 0x00007fff77460d15 _dispatch_queue_override_invoke + 880
18 libdispatch.dylib 0x00007fff774559f9 _dispatch_root_queue_drain + 515
19 libdispatch.dylib 0x00007fff774557a5 _dispatch_worker_thread3 + 101
20 libsystem_pthread.dylib 0x00007fff777a5169 _pthread_wqthread + 1387
21 libsystem_pthread.dylib 0x00007fff777a4be9 start_wqthread + 13

Thread 10:
0 libsystem_kernel.dylib 0x00007fff775de292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff777a520e _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff777a4be9 start_wqthread + 13

Thread 11:
0 libsystem_kernel.dylib 0x00007fff775de292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff777a5009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff777a4be9 start_wqthread + 13

Thread 12:
0 libsystem_kernel.dylib 0x00007fff775de292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff777a520e _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff777a4be9 start_wqthread + 13

Thread 13:
0 libsystem_kernel.dylib 0x00007fff775de292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff777a5009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff777a4be9 start_wqthread + 13

Thread 14:
0 libsystem_kernel.dylib 0x00007fff775de292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff777a520e _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff777a4be9 start_wqthread + 13

Thread 15:
0 libsystem_kernel.dylib 0x00007fff775de292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff777a520e _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff777a4be9 start_wqthread + 13

Thread 16:
0 libsystem_kernel.dylib 0x00007fff775de292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff777a520e _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff777a4be9 start_wqthread + 13

Thread 17:
0 libsystem_kernel.dylib 0x00007fff775de292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff777a520e _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff777a4be9 start_wqthread + 13

Thread 18:
0 libsystem_pthread.dylib 0x00007fff777a4bdc start_wqthread + 0
1 ??? 0x00007000047c7b20 0 + 123145377577760

Thread 19:
0 libsystem_kernel.dylib 0x00007fff775de292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff777a520e _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff777a4be9 start_wqthread + 13

Thread 20:
0 libsystem_kernel.dylib 0x00007fff775de292 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff777a5009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff777a4be9 start_wqthread + 13

Thread 21:
0 libsystem_pthread.dylib 0x00007fff777a4bdc start_wqthread + 0
1 ??? 0x0000700004950b20 0 + 123145379187488

Thread 22:: com.twitter.crashlytics.mac.MachExceptionServer
0 libsystem_kernel.dylib 0x00007fff775df702 write + 10
1 com.torusknot.SourceTreeNotMAS 0x0000000101cf3c8a 0x101a77000 + 2608266
2 com.torusknot.SourceTreeNotMAS 0x0000000101ceb3ad 0x101a77000 + 2573229
3 libsystem_pthread.dylib 0x00007fff777a5661 _pthread_body + 340
4 libsystem_pthread.dylib 0x00007fff777a550d _pthread_start + 377
5 libsystem_pthread.dylib 0x00007fff777a4bf9 thread_start + 13

Thread 23:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff775d420a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff775d3724 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff4f1747d5 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff4f173b27 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff4f1731a3 CFRunLoopRunSpecific + 483
5 com.apple.AppKit 0x00007fff4c84bfc4 _NSEventThread + 184
6 libsystem_pthread.dylib 0x00007fff777a5661 _pthread_body + 340
7 libsystem_pthread.dylib 0x00007fff777a550d _pthread_start + 377
8 libsystem_pthread.dylib 0x00007fff777a4bf9 thread_start + 13

Thread 24:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff775d420a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff775d3724 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff4f1747d5 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff4f173b27 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff4f1731a3 CFRunLoopRunSpecific + 483
5 com.apple.CFNetwork 0x00007fff4e2bbca8 -[__CoreSchedulingSetRunnable runForever] + 722
6 com.apple.Foundation 0x00007fff512711f8 __NSThread__start__ + 1197
7 libsystem_pthread.dylib 0x00007fff777a5661 _pthread_body + 340
8 libsystem_pthread.dylib 0x00007fff777a550d _pthread_start + 377
9 libsystem_pthread.dylib 0x00007fff777a4bf9 thread_start + 13

Thread 6 crashed with X86 Thread State (64-bit):
rax: 0x00007fe77701ca00 rbx: 0x000060000024ce70 rcx: 0x0000000000000000 rdx: 0x0000000000000498
rdi: 0x0000000008000101 rsi: 0x00007fe77701c861 rbp: 0x00007000041a3ac0 rsp: 0x00007000041a3ab0
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x00007000041a35b8 r11: 0x00000000000005ff
r12: 0x00007000041a3ac0 r13: 0x00006040001130e0 r14: 0x00007fff76865e80 r15: 0x00007000041a3ad0
rip: 0x00007fff4ca39454 rfl: 0x0000000000010202 cr2: 0x000000c4200ad010

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

 

1 answer

1 accepted

0 votes
Answer accepted
Ana Retamal Atlassian Team Jun 07, 2018

Hi! Seems like you're affected by a recent issue, please refer to this thread. From one of our developers:

We are investigating the crash with https://jira.atlassian.com/browse/SRCTREE-5762. There seems to be an issue loading and reading repo avatars. We will soon have an update on this. 

Please feel free to remove the ImageCache folder under ~/Library/Application Support/SourceTree/ for now. We are investigating this crash and will have an update soon.

Thanks for your patience! 

My recommendation would be to watch that bug ticket to be notified of further updates.

Hope that helps!

Ana

Thanks Ana,

The issue has been solved.

Ana Retamal Atlassian Team Jun 08, 2018

Great to hear that! 

Have a good day ahead :)

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,955 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