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

SourceTree crashes on OSX when opening (double-clicking) a repo

mikemelbot
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 9, 2020

Hi,

I'm using SourceTree 4.0.1(234) on Mac OS X 10.15.5

When I clone my repo, it succeeds but it crashes right after that.

Now the repo shows up in the repo list if I reopen SourceTree. But when double clicking it, it instantly crashes. I don't get to see the repo window.

Here's what I tried with no luck:

- Deleting everything in Library/Application Support/SourceTree

- Running defaults delete com.torusknot.SourceTreeNotMAS

- Deleting my working copy and cloning the repo again.

 

Here is the crash log. Apparently, there is an object lookup in an NSConstantDictionary involved.

EDIT: It only happens with one of my repos, and does not happen on Windows machines.

 

Process:               Sourcetree [2163]Path:                  /Applications/Sourcetree.app/Contents/MacOS/SourcetreeIdentifier:            com.torusknot.SourceTreeNotMASVersion:               4.0.1 (234)Code Type:             X86-64 (Native)Parent Process:        ??? [1]Responsible:           Sourcetree [2163]User ID:               501
Date/Time:             2020-07-09 15:33:52.714 +0200OS Version:            Mac OS X 10.15.5 (19F101)Report Version:        12Anonymous UUID:        D113B867-2C58-7B9C-117C-51D55D859B0D
Sleep/Wake UUID:       1804AE5B-F6EB-490A-B234-2E4412E8694C
Time Awake Since Boot: 11000 secondsTime Since Wake:       1400 seconds
System Integrity Protection: disabled
Crashed Thread:        5  Dispatch queue: com.apple.root.default-qos
Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)Exception Codes:       0x0000000000000001, 0x0000000000000000Exception Note:        EXC_CORPSE_NOTIFY
Termination Signal:    Illegal instruction: 4Termination Reason:    Namespace SIGNAL, Code 0x4Terminating Process:   exc handler [2163]
Application Specific Backtrace 1:0   CoreFoundation                      0x00007fff358eb797 __exceptionPreprocess + 2501   libobjc.A.dylib                     0x00007fff6e77ea9e objc_exception_throw + 482   CoreFoundation                      0x00007fff3599a7e6 _CFThrowFormattedException + 1943   CoreFoundation                      0x00007fff3599a8f6 -[__NSCFString hasPrefix:].cold.1 + 04   CoreFoundation                      0x00007fff3585d1d4 -[NSConstantDictionary objectForKey:] + 05   Sourcetree                          0x0000000103199248 Sourcetree + 21018326   Sourcetree                          0x0000000103197388 Sourcetree + 20939607   Sourcetree                          0x00000001030e323c Sourcetree + 13563488   Sourcetree                          0x0000000103085642 Sourcetree + 9723549   libdispatch.dylib                   0x00007fff6f8c36c4 _dispatch_call_block_and_release + 1210  libdispatch.dylib                   0x00007fff6f8c4658 _dispatch_client_callout + 811  libdispatch.dylib                   0x00007fff6f8c65b0 _dispatch_queue_override_invoke + 101912  libdispatch.dylib                   0x00007fff6f8d2957 _dispatch_root_queue_drain + 32613  libdispatch.dylib                   0x00007fff6f8d3097 _dispatch_worker_thread2 + 9214  libsystem_pthread.dylib             0x00007fff6fb229f7 _pthread_wqthread + 22015  libsystem_pthread.dylib             0x00007fff6fb21b77 start_wqthread + 15
Thread 0:: Dispatch queue: com.apple.main-thread0   libsystem_kernel.dylib         0x00007fff6fa61062 __psynch_mutexwait + 101   libsystem_pthread.dylib       0x00007fff6fb23917 _pthread_mutex_firstfit_lock_wait + 832   libsystem_pthread.dylib       0x00007fff6fb21937 _pthread_mutex_firstfit_lock_slow + 2223   com.apple.AppKit               0x00007fff32c413c2 -[_NSCGSWindow frame] + 764   com.apple.AppKit               0x00007fff32c74947 -[NSEvent _initWithCGEvent:eventRef:] + 4635   com.apple.AppKit               0x00007fff32ad1398 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 21606   com.apple.AppKit               0x00007fff32ac2d7e -[NSApplication run] + 6587   com.apple.AppKit               0x00007fff32a94b86 NSApplicationMain + 7778   libdyld.dylib                 0x00007fff6f91dcc9 start + 1
Thread 1:: Dispatch queue: com.apple.root.user-initiated-qos0   libsystem_kernel.dylib         0x00007fff6fa5f81e read + 101   com.apple.Foundation           0x00007fff37ef629e _NSReadFromFileDescriptorWithProgress + 2322   com.apple.Foundation           0x00007fff37f16339 -[NSConcreteFileHandle readDataOfLength:] + 4043   com.torusknot.SourceTreeNotMAS 0x0000000102fe0524 0x102f98000 + 2962284   com.torusknot.SourceTreeNotMAS 0x0000000102fe1e88 0x102f98000 + 3027285   com.torusknot.SourceTreeNotMAS 0x0000000102fe03b1 0x102f98000 + 2958576   com.torusknot.SourceTreeNotMAS 0x00000001030bec16 0x102f98000 + 12073187   libdispatch.dylib             0x00007fff6f8c36c4 _dispatch_call_block_and_release + 128   libdispatch.dylib             0x00007fff6f8c4658 _dispatch_client_callout + 89   libdispatch.dylib             0x00007fff6f8d2bfc _dispatch_root_queue_drain + 100310  libdispatch.dylib             0x00007fff6f8d3097 _dispatch_worker_thread2 + 9211  libsystem_pthread.dylib       0x00007fff6fb229f7 _pthread_wqthread + 22012  libsystem_pthread.dylib       0x00007fff6fb21b77 start_wqthread + 15
Thread 2:: Dispatch queue: com.apple.root.user-initiated-qos0   libsystem_kernel.dylib         0x00007fff6fa6055e __ulock_wait + 101   libdispatch.dylib             0x00007fff6f8c4e29 _dlock_wait + 442   libdispatch.dylib             0x00007fff6f8c50b7 _dispatch_group_wait_slow + 433   com.torusknot.SourceTreeNotMAS 0x00000001030be1c5 0x102f98000 + 12046774   com.torusknot.SourceTreeNotMAS 0x00000001031457a3 0x102f98000 + 17591395   com.torusknot.SourceTreeNotMAS 0x00000001031487db 0x102f98000 + 17714836   libdispatch.dylib             0x00007fff6f8c36c4 _dispatch_call_block_and_release + 127   libdispatch.dylib             0x00007fff6f8c4658 _dispatch_client_callout + 88   libdispatch.dylib             0x00007fff6f8d2aa8 _dispatch_root_queue_drain + 6639   libdispatch.dylib             0x00007fff6f8d3097 _dispatch_worker_thread2 + 9210  libsystem_pthread.dylib       0x00007fff6fb229f7 _pthread_wqthread + 22011  libsystem_pthread.dylib       0x00007fff6fb21b77 start_wqthread + 15
Thread 3:: com.apple.NSEventThread0   libsystem_kernel.dylib         0x00007fff6fa5edfa mach_msg_trap + 101   libsystem_kernel.dylib         0x00007fff6fa5f170 mach_msg + 602   com.apple.CoreFoundation       0x00007fff3586fa97 __CFRunLoopServiceMachPort + 2473   com.apple.CoreFoundation       0x00007fff3586e551 __CFRunLoopRun + 13294   com.apple.CoreFoundation       0x00007fff3586d9c3 CFRunLoopRunSpecific + 4665   com.apple.AppKit               0x00007fff32c74144 _NSEventThread + 1326   libsystem_pthread.dylib       0x00007fff6fb26109 _pthread_start + 1487   libsystem_pthread.dylib       0x00007fff6fb21b8b thread_start + 15
Thread 4:: Dispatch queue: com.apple.root.default-qos0   libsystem_kernel.dylib         0x00007fff6fa6055e __ulock_wait + 101   libdispatch.dylib             0x00007fff6f8c4e29 _dlock_wait + 442   libdispatch.dylib             0x00007fff6f8c50b7 _dispatch_group_wait_slow + 433   com.torusknot.SourceTreeNotMAS 0x00000001030837b9 0x102f98000 + 9645374   libdispatch.dylib             0x00007fff6f8c36c4 _dispatch_call_block_and_release + 125   libdispatch.dylib             0x00007fff6f8c4658 _dispatch_client_callout + 86   libdispatch.dylib             0x00007fff6f8c64b0 _dispatch_queue_override_invoke + 7637   libdispatch.dylib             0x00007fff6f8d2957 _dispatch_root_queue_drain + 3268   libdispatch.dylib             0x00007fff6f8d3097 _dispatch_worker_thread2 + 929   libsystem_pthread.dylib       0x00007fff6fb229f7 _pthread_wqthread + 22010  libsystem_pthread.dylib       0x00007fff6fb21b77 start_wqthread + 15
Thread 5 Crashed:: Dispatch queue: com.apple.root.default-qos0   com.apple.AppKit               0x00007fff32eb4b43 -[NSApplication _crashOnException:] + 1061   com.apple.AppKit               0x00007fff32eb4a26 -[NSApplication reportException:] + 9012   com.apple.AppKit               0x00007fff32f6455d uncaughtErrorProc + 1453   com.apple.CoreFoundation       0x00007fff359646b8 __handleUncaughtException + 7264   libobjc.A.dylib               0x00007fff6e780a51 _objc_terminate() + 905   libc++abi.dylib               0x00007fff6cc53887 std::__terminate(void (*)()) + 86   libc++abi.dylib               0x00007fff6cc53829 std::terminate() + 417   libdispatch.dylib             0x00007fff6f8c466c _dispatch_client_callout + 288   libdispatch.dylib             0x00007fff6f8c65b0 _dispatch_queue_override_invoke + 10199   libdispatch.dylib             0x00007fff6f8d2957 _dispatch_root_queue_drain + 32610  libdispatch.dylib             0x00007fff6f8d3097 _dispatch_worker_thread2 + 9211  libsystem_pthread.dylib       0x00007fff6fb229f7 _pthread_wqthread + 22012  libsystem_pthread.dylib       0x00007fff6fb21b77 start_wqthread + 15
Thread 6:: Dispatch queue: com.apple.root.user-interactive-qos0   libsystem_kernel.dylib         0x00007fff6fa60516 kevent_id + 101   libdispatch.dylib             0x00007fff6f8df8b9 _dispatch_kq_poll + 1632   libdispatch.dylib             0x00007fff6f8e03aa _dispatch_event_loop_wait_for_ownership + 4763   libdispatch.dylib             0x00007fff6f8d0930 __DISPATCH_WAIT_FOR_QUEUE__ + 2704   libdispatch.dylib             0x00007fff6f8d0593 _dispatch_sync_f_slow + 1715   com.apple.AppKit               0x00007fff32c6a7d6 NSCGSDisableUpdates + 5066   com.apple.AppKit               0x00007fff32c6a4f2 NSCGSTransactionRunPreCommitActionsForOrder_ + 1237   com.apple.AppKit               0x00007fff32c6a44c NSCGSTransactionRunPreCommitActions_ + 218   com.apple.AppKit               0x00007fff32c6a423 __39+[_NSCGSTransaction currentTransaction]_block_invoke.32 + 349   com.apple.QuartzCore           0x00007fff413591f0 CA::Transaction::run_commit_handlers(CATransactionPhase) + 10610  com.apple.QuartzCore           0x00007fff41359b46 CA::Context::commit_transaction(CA::Transaction*, double) + 201411  com.apple.QuartzCore           0x00007fff413580a0 CA::Transaction::commit() + 64412  com.apple.AppKit               0x00007fff32b2ab74 NSPerformVisuallyAtomicChange + 15413  com.apple.AppKit               0x00007fff32d79a17 -[NSAnimation(NSInternal) _advanceTimeWithDisplayLink:] + 17214  com.apple.AppKit               0x00007fff32cd7624 -[NSScreenDisplayLink _fire] + 18015  com.apple.AppKit               0x00007fff33424c62 ___NSRunLoopTimerCreateWithHandler_block_invoke + 3416  com.apple.CoreFoundation       0x00007fff3588a4d8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 2017  com.apple.CoreFoundation       0x00007fff3588a03e __CFRunLoopDoTimer + 87218  com.apple.CoreFoundation       0x00007fff35889b29 __CFRunLoopDoTimers + 32219  com.apple.CoreFoundation       0x00007fff3586e77d __CFRunLoopRun + 188520  com.apple.CoreFoundation       0x00007fff3586d9c3 CFRunLoopRunSpecific + 46621  com.apple.Foundation           0x00007fff37f291c8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 21222  com.apple.AppKit               0x00007fff32d79930 -[NSAnimation(NSInternal) _runBlocking] + 34423  com.apple.AppKit               0x00007fff32d7960d __42-[NSAnimation(NSInternal) _runInNewThread]_block_invoke + 9724  libdispatch.dylib             0x00007fff6f8c36c4 _dispatch_call_block_and_release + 1225  libdispatch.dylib             0x00007fff6f8c4658 _dispatch_client_callout + 826  libdispatch.dylib             0x00007fff6f8d2aa8 _dispatch_root_queue_drain + 66327  libdispatch.dylib             0x00007fff6f8d3097 _dispatch_worker_thread2 + 9228  libsystem_pthread.dylib       0x00007fff6fb229f7 _pthread_wqthread + 22029  libsystem_pthread.dylib       0x00007fff6fb21b77 start_wqthread + 15
Thread 7:: Dispatch queue: com.apple.root.default-qos0   libsystem_kernel.dylib         0x00007fff6fa5edfa mach_msg_trap + 101   libsystem_kernel.dylib         0x00007fff6fa5f170 mach_msg + 602   com.apple.CoreFoundation       0x00007fff3586fa97 __CFRunLoopServiceMachPort + 2473   com.apple.CoreFoundation       0x00007fff3586e551 __CFRunLoopRun + 13294   com.apple.CoreFoundation       0x00007fff3586d9c3 CFRunLoopRunSpecific + 4665   com.apple.Foundation           0x00007fff37fdd790 -[NSConcreteTask waitUntilExit] + 3256   com.torusknot.SourceTreeNotMAS 0x0000000102fe1eb5 0x102f98000 + 3027737   com.torusknot.SourceTreeNotMAS 0x0000000102fe03b1 0x102f98000 + 2958578   com.torusknot.SourceTreeNotMAS 0x00000001030c4902 0x102f98000 + 12311069   com.torusknot.SourceTreeNotMAS 0x000000010300387e 0x102f98000 + 44044610  com.torusknot.SourceTreeNotMAS 0x0000000103003a03 0x102f98000 + 44083511  com.torusknot.SourceTreeNotMAS 0x0000000103083e5e 0x102f98000 + 96623812  libdispatch.dylib             0x00007fff6f8c36c4 _dispatch_call_block_and_release + 1213  libdispatch.dylib             0x00007fff6f8c4658 _dispatch_client_callout + 814  libdispatch.dylib             0x00007fff6f8c65b0 _dispatch_queue_override_invoke + 101915  libdispatch.dylib             0x00007fff6f8d2957 _dispatch_root_queue_drain + 32616  libdispatch.dylib             0x00007fff6f8d3097 _dispatch_worker_thread2 + 9217  libsystem_pthread.dylib       0x00007fff6fb229f7 _pthread_wqthread + 22018  libsystem_pthread.dylib       0x00007fff6fb21b77 start_wqthread + 15
Thread 8:: Dispatch queue: NSCGSDisableUpdates0   libsystem_kernel.dylib         0x00007fff6fa5edfa mach_msg_trap + 101   libsystem_kernel.dylib         0x00007fff6fa5f170 mach_msg + 602   SkyLightOriginal               0x000000010403af65 CGSUpdateManager::enable_updates_common() + 5773   SkyLightOriginal               0x000000010403b816 SLSReenableUpdateTokenWithSeed + 5684   libdispatch.dylib             0x00007fff6f8c36c4 _dispatch_call_block_and_release + 125   libdispatch.dylib             0x00007fff6f8c4658 _dispatch_client_callout + 86   libdispatch.dylib             0x00007fff6f8c9c44 _dispatch_lane_serial_drain + 5977   libdispatch.dylib             0x00007fff6f8ca5d6 _dispatch_lane_invoke + 3638   libdispatch.dylib             0x00007fff6f8d3c09 _dispatch_workloop_worker_thread + 5969   libsystem_pthread.dylib       0x00007fff6fb22a3d _pthread_wqthread + 29010  libsystem_pthread.dylib       0x00007fff6fb21b77 start_wqthread + 15
Thread 9:: Dispatch queue: com.apple.root.utility-qos0   libsystem_kernel.dylib         0x00007fff6fa5f81e read + 101   com.apple.Foundation           0x00007fff37ef629e _NSReadFromFileDescriptorWithProgress + 2322   com.apple.Foundation           0x00007fff37f16339 -[NSConcreteFileHandle readDataOfLength:] + 4043   com.torusknot.SourceTreeNotMAS 0x0000000102fe0524 0x102f98000 + 2962284   com.torusknot.SourceTreeNotMAS 0x0000000102fe1e88 0x102f98000 + 3027285   com.torusknot.SourceTreeNotMAS 0x0000000102fe03b1 0x102f98000 + 2958576   com.torusknot.SourceTreeNotMAS 0x00000001030de17c 0x102f98000 + 13356767   com.torusknot.SourceTreeNotMAS 0x0000000102fd4d05 0x102f98000 + 2490938   com.torusknot.SourceTreeNotMAS 0x0000000102fd53e5 0x102f98000 + 2508539   libdispatch.dylib             0x00007fff6f8c36c4 _dispatch_call_block_and_release + 1210  libdispatch.dylib             0x00007fff6f8c4658 _dispatch_client_callout + 811  libdispatch.dylib             0x00007fff6f8d2aa8 _dispatch_root_queue_drain + 66312  libdispatch.dylib             0x00007fff6f8d3097 _dispatch_worker_thread2 + 9213  libsystem_pthread.dylib       0x00007fff6fb229f7 _pthread_wqthread + 22014  libsystem_pthread.dylib       0x00007fff6fb21b77 start_wqthread + 15
Thread 10:0   libsystem_pthread.dylib       0x00007fff6fb21b68 start_wqthread + 0
Thread 11:0   libsystem_pthread.dylib       0x00007fff6fb21b68 start_wqthread + 0
Thread 12:0   libsystem_pthread.dylib       0x00007fff6fb21b68 start_wqthread + 0
Thread 13:0   libsystem_pthread.dylib       0x00007fff6fb21b68 start_wqthread + 0
Thread 14:0   libsystem_pthread.dylib       0x00007fff6fb21b68 start_wqthread + 0
Thread 5 crashed with X86 Thread State (64-bit):  rax: 0x00007fb1080cce00  rbx: 0x0000600000aed0e0  rcx: 0x0f52834d549e00e7  rdx: 0x0000000000000101  rdi: 0x000070000d9c9780  rsi: 0x000000000000057e  rbp: 0x000070000d9c9bf0  rsp: 0x000070000d9c9be0   r8: 0x0000000000000400   r9: 0x00007fb1080cd37e  r10: 0x000000000000017e  r11: 0x000070000d9c957c  r12: 0x00007fff8d14b4a0  r13: 0x0000600002a4aa00  r14: 0x00007fff6e771e40  r15: 0x00006000033280b0  rip: 0x00007fff32eb4b43  rfl: 0x0000000000010202  cr2: 0x00007fdc3fc66000  Logical CPU:     1Error Code:      0x00000000Trap Number:     6

Thank you!

 

1 answer

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 18, 2021

Hi! 

How about problem on mac level? 

I met with same. once my mac is starting to be a too old :) 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events