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 4.0 keep crashing when adding local repository Edited

Hi,

My source tree app started to crash after crashing while a commit, now it crashes every time I try to open the repository page.

I clone another repo and it's working for that repo, only the repo which was added locally is getting crashed.

It was working fine for last few years, now it suddenly crashing in deadlock.

I've tried:

- deleting contents of application support folder

- re-installing a new version

- installing an old version

none of the above worked.

Please help !

Problem Report:
Process: Sourcetree [6396]
Path: /Applications/Sourcetree.app/Contents/MacOS/Sourcetree
Identifier: com.torusknot.SourceTreeNotMAS
Version: 4.0 (229)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Sourcetree [6396]
User ID: 503

Date/Time: 2020-06-22 17:47:06.532 +0530
OS Version: Mac OS X 10.15 (19A603)
Report Version: 12
Anonymous UUID: 594E3972-2CF1-1F82-D3D1-B2816D70302C


Time Awake Since Boot: 8400 seconds

System Integrity Protection: enabled

Crashed Thread: 11 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 [6396]

Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff3c644d63 __exceptionPreprocess + 250
1 libobjc.A.dylib 0x00007fff72533bd4 objc_exception_throw + 48
2 CoreFoundation 0x00007fff3c707e0a _CFThrowFormattedException + 202
3 CoreFoundation 0x00007fff3c707ebb -[__NSCFString hasPrefix:].cold.1 + 0
4 CoreFoundation 0x00007fff3c5c83c9 -[__NSCFString substringWithRange:] + 177
5 Sourcetree 0x0000000108948da0 Sourcetree + 2104736
6 Sourcetree 0x0000000108946ee0 Sourcetree + 2096864
7 Sourcetree 0x0000000108892be0 Sourcetree + 1358816
8 Sourcetree 0x0000000108834f9a Sourcetree + 974746
9 libdispatch.dylib 0x00007fff73841553 _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007fff738424de _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff73844428 _dispatch_queue_override_invoke + 1019
12 libdispatch.dylib 0x00007fff738507e5 _dispatch_root_queue_drain + 326
13 libdispatch.dylib 0x00007fff73850f25 _dispatch_worker_thread2 + 92
14 libsystem_pthread.dylib 0x00007fff73a9b71d _pthread_wqthread + 220
15 libsystem_pthread.dylib 0x00007fff73a9b5c3 start_wqthread + 15

Thread 0:: Dispatch queue: com.apple.main-thread
0 com.apple.AppKit 0x00007fff397f960e -[NSButtonCell _eligibleForSeparatedContentSubviewsInView:] + 102
1 com.apple.AppKit 0x00007fff39845e11 -[NSButtonCell _wantsSeparatedContentSubviewsInView:] + 22
2 com.apple.AppKit 0x00007fff398c31fe -[NSButtonCell _isDrawingRedundantlyInView:] + 26
3 com.apple.AppKit 0x00007fff398c2fe7 -[NSButtonCell drawWithFrame:inView:] + 203
4 com.apple.AppKit 0x00007fff398c84f3 -[NSTableView _drawContentsAtRow:column:withCellFrame:] + 254
5 com.apple.AppKit 0x00007fff398c7c09 -[NSTableView drawRow:clipRect:] + 1774
6 com.apple.AppKit 0x00007fff398c7304 -[NSTableView drawRowIndexes:clipRect:] + 444
7 com.apple.AppKit 0x00007fff398c53e7 -[NSTableView drawRect:] + 1259
8 com.apple.AppKit 0x00007fff398c2298 _NSViewDrawRect + 139
9 com.apple.AppKit 0x00007fff3a03b0a4 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 2170
10 com.apple.AppKit 0x00007fff398c198a -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 1271
11 com.apple.AppKit 0x00007fff39981e11 -[_NSBackingLayerContents drawLayer:inContext:] + 154
12 com.apple.QuartzCore 0x00007fff47dbac9b -[CALayer drawInContext:] + 281
13 com.apple.AppKit 0x00007fff39981a7a -[_NSTiledLayer drawTile:inContext:] + 583
14 com.apple.AppKit 0x00007fff399817b6 -[_NSTiledLayerContents drawLayer:inContext:] + 218
15 com.apple.QuartzCore 0x00007fff47dbac9b -[CALayer drawInContext:] + 281
16 com.apple.QuartzCore 0x00007fff47da79a4 CABackingStoreUpdate_ + 577
17 com.apple.QuartzCore 0x00007fff47dfe0b5 invocation function for block in CA::Layer::display_() + 53
18 com.apple.QuartzCore 0x00007fff47da6c7a -[CALayer _display] + 2092
19 com.apple.AppKit 0x00007fff399816b8 -[NSTileLayer display] + 114
20 com.apple.QuartzCore 0x00007fff47da60c1 CA::Layer::display_if_needed(CA::Transaction*) + 739
21 com.apple.QuartzCore 0x00007fff47eca821 CA::Context::commit_transaction(CA::Transaction*, double) + 341
22 com.apple.QuartzCore 0x00007fff47d94ec6 CA::Transaction::commit() + 638
23 com.apple.QuartzCore 0x00007fff47d94b9a CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 66
24 com.apple.CoreFoundation 0x00007fff3c5f04be __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
25 com.apple.CoreFoundation 0x00007fff3c5f03e4 __CFRunLoopDoObservers + 457
26 com.apple.CoreFoundation 0x00007fff3c592e4e CFRunLoopRunSpecific + 558
27 com.apple.HIToolbox 0x00007fff3b11fb2d RunCurrentEventLoopInMode + 292
28 com.apple.HIToolbox 0x00007fff3b11f86d ReceiveNextEventCommon + 600
29 com.apple.HIToolbox 0x00007fff3b11f5f7 _BlockUntilNextEventMatchingListInModeWithFilter + 64
30 com.apple.AppKit 0x00007fff397b5ac4 _DPSNextEvent + 990
31 com.apple.AppKit 0x00007fff397b4834 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
32 com.apple.AppKit 0x00007fff397aefd4 -[NSApplication run] + 658
33 com.apple.AppKit 0x00007fff397a0e7d NSApplicationMain + 777
34 libdyld.dylib 0x00007fff73892405 start + 1

Thread 1:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff739db146 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff739db6ac mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff3c59419b __CFRunLoopServiceMachPort + 322
3 com.apple.CoreFoundation 0x00007fff3c593737 __CFRunLoopRun + 1695
4 com.apple.CoreFoundation 0x00007fff3c592e13 CFRunLoopRunSpecific + 499
5 com.apple.AppKit 0x00007fff397bd026 _NSEventThread + 132
6 libsystem_pthread.dylib 0x00007fff73a9ed76 _pthread_start + 125
7 libsystem_pthread.dylib 0x00007fff73a9b5d7 thread_start + 15

Thread 2:: Dispatch queue: com.apple.root.default-qos
0 libsystem_kernel.dylib 0x00007fff739dd9f6 __ulock_wait + 10
1 libdispatch.dylib 0x00007fff73842ca6 _dlock_wait + 44
2 libdispatch.dylib 0x00007fff73842f31 _dispatch_group_wait_slow + 43
3 com.torusknot.SourceTreeNotMAS 0x0000000108856c52 0x108747000 + 1113170
4 com.torusknot.SourceTreeNotMAS 0x0000000108858c3a 0x108747000 + 1121338
5 libdispatch.dylib 0x00007fff73841553 _dispatch_call_block_and_release + 12
6 libdispatch.dylib 0x00007fff738424de _dispatch_client_callout + 8
7 libdispatch.dylib 0x00007fff73844328 _dispatch_queue_override_invoke + 763
8 libdispatch.dylib 0x00007fff738507e5 _dispatch_root_queue_drain + 326
9 libdispatch.dylib 0x00007fff73850f25 _dispatch_worker_thread2 + 92
10 libsystem_pthread.dylib 0x00007fff73a9b71d _pthread_wqthread + 220
11 libsystem_pthread.dylib 0x00007fff73a9b5c3 start_wqthread + 15

Thread 3:
0 libsystem_pthread.dylib 0x00007fff73a9b5b4 start_wqthread + 0

Thread 4:
0 libsystem_pthread.dylib 0x00007fff73a9b5b4 start_wqthread + 0

Thread 5:: Dispatch queue: com.apple.root.default-qos
0 libsystem_kernel.dylib 0x00007fff739dd9f6 __ulock_wait + 10
1 libdispatch.dylib 0x00007fff73842ca6 _dlock_wait + 44
2 libdispatch.dylib 0x00007fff73842f31 _dispatch_group_wait_slow + 43
3 com.torusknot.SourceTreeNotMAS 0x0000000108833111 0x108747000 + 966929
4 libdispatch.dylib 0x00007fff73841553 _dispatch_call_block_and_release + 12
5 libdispatch.dylib 0x00007fff738424de _dispatch_client_callout + 8
6 libdispatch.dylib 0x00007fff73844328 _dispatch_queue_override_invoke + 763
7 libdispatch.dylib 0x00007fff738507e5 _dispatch_root_queue_drain + 326
8 libdispatch.dylib 0x00007fff73850f25 _dispatch_worker_thread2 + 92
9 libsystem_pthread.dylib 0x00007fff73a9b71d _pthread_wqthread + 220
10 libsystem_pthread.dylib 0x00007fff73a9b5c3 start_wqthread + 15

Thread 6:: Dispatch queue: com.apple.root.user-initiated-qos
0 libsystem_kernel.dylib 0x00007fff739dce76 read + 10
1 com.apple.Foundation 0x00007fff3ec48108 _NSReadFromFileDescriptorWithProgress + 232
2 com.apple.Foundation 0x00007fff3ec69fb1 -[NSConcreteFileHandle readDataOfLength:] + 404
3 com.torusknot.SourceTreeNotMAS 0x000000010878fe94 0x108747000 + 298644
4 com.torusknot.SourceTreeNotMAS 0x00000001087917f8 0x108747000 + 305144
5 com.torusknot.SourceTreeNotMAS 0x000000010878fd21 0x108747000 + 298273
6 com.torusknot.SourceTreeNotMAS 0x0000000108871e2a 0x108747000 + 1224234
7 com.torusknot.SourceTreeNotMAS 0x0000000108857e34 0x108747000 + 1117748
8 libdispatch.dylib 0x00007fff73841553 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x00007fff738424de _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff73850a8a _dispatch_root_queue_drain + 1003
11 libdispatch.dylib 0x00007fff73850f25 _dispatch_worker_thread2 + 92
12 libsystem_pthread.dylib 0x00007fff73a9b71d _pthread_wqthread + 220
13 libsystem_pthread.dylib 0x00007fff73a9b5c3 start_wqthread + 15

Thread 7:: Dispatch queue: com.apple.root.utility-qos
0 libsystem_kernel.dylib 0x00007fff739dce76 read + 10
1 com.apple.Foundation 0x00007fff3ec48108 _NSReadFromFileDescriptorWithProgress + 232
2 com.apple.Foundation 0x00007fff3ec69fb1 -[NSConcreteFileHandle readDataOfLength:] + 404
3 com.torusknot.SourceTreeNotMAS 0x000000010878fe94 0x108747000 + 298644
4 com.torusknot.SourceTreeNotMAS 0x00000001087917f8 0x108747000 + 305144
5 com.torusknot.SourceTreeNotMAS 0x000000010878fd21 0x108747000 + 298273
6 com.torusknot.SourceTreeNotMAS 0x000000010888dad4 0x108747000 + 1338068
7 com.torusknot.SourceTreeNotMAS 0x0000000108784675 0x108747000 + 251509
8 com.torusknot.SourceTreeNotMAS 0x0000000108784d55 0x108747000 + 253269
9 libdispatch.dylib 0x00007fff73841553 _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007fff738424de _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff73850936 _dispatch_root_queue_drain + 663
12 libdispatch.dylib 0x00007fff73850f25 _dispatch_worker_thread2 + 92
13 libsystem_pthread.dylib 0x00007fff73a9b71d _pthread_wqthread + 220
14 libsystem_pthread.dylib 0x00007fff73a9b5c3 start_wqthread + 15

Thread 8:: JavaScriptCore bmalloc scavenger
0 libsystem_kernel.dylib 0x00007fff739de8f6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff73a9f082 _pthread_cond_wait + 701
2 libc++.1.dylib 0x00007fff709e3941 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 0x00007fff40c5bde6 bmalloc::Scavenger::threadRunLoop() + 774
4 com.apple.JavaScriptCore 0x00007fff40c5b7a9 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 9
5 com.apple.JavaScriptCore 0x00007fff40c5dfc7 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*) + 39
6 libsystem_pthread.dylib 0x00007fff73a9ed76 _pthread_start + 125
7 libsystem_pthread.dylib 0x00007fff73a9b5d7 thread_start + 15

Thread 9:: com.apple.coreanimation.render-server
0 libsystem_kernel.dylib 0x00007fff739db146 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff739db6ac mach_msg + 60
2 com.apple.QuartzCore 0x00007fff47de9566 CA::Render::Server::server_thread(void*) + 958
3 com.apple.QuartzCore 0x00007fff47de919d thread_fun(void*) + 25
4 libsystem_pthread.dylib 0x00007fff73a9ed76 _pthread_start + 125
5 libsystem_pthread.dylib 0x00007fff73a9b5d7 thread_start + 15

Thread 10:: Dispatch queue: com.apple.root.user-interactive-qos
0 libsystem_kernel.dylib 0x00007fff739db146 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff739db6ac mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff3c59419b __CFRunLoopServiceMachPort + 322
3 com.apple.CoreFoundation 0x00007fff3c593737 __CFRunLoopRun + 1695
4 com.apple.CoreFoundation 0x00007fff3c592e13 CFRunLoopRunSpecific + 499
5 com.apple.Foundation 0x00007fff3ec2fcad -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
6 com.apple.AppKit 0x00007fff39a62592 -[NSAnimation(NSInternal) _runBlocking] + 344
7 com.apple.AppKit 0x00007fff39a62293 __42-[NSAnimation(NSInternal) _runInNewThread]_block_invoke + 97
8 libdispatch.dylib 0x00007fff73841553 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x00007fff738424de _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff73850936 _dispatch_root_queue_drain + 663
11 libdispatch.dylib 0x00007fff73850f25 _dispatch_worker_thread2 + 92
12 libsystem_pthread.dylib 0x00007fff73a9b71d _pthread_wqthread + 220
13 libsystem_pthread.dylib 0x00007fff73a9b5c3 start_wqthread + 15

Thread 11 Crashed:: Dispatch queue: com.apple.root.default-qos
0 com.apple.AppKit 0x00007fff39b63ed7 -[NSApplication _crashOnException:] + 106
1 com.apple.AppKit 0x00007fff39b63dbd -[NSApplication reportException:] + 908
2 com.apple.AppKit 0x00007fff39c1bb97 uncaughtErrorProc + 145
3 com.apple.CoreFoundation 0x00007fff3c6c89b0 __handleUncaughtException + 726
4 libobjc.A.dylib 0x00007fff72535aa4 _objc_terminate() + 90
5 libc++abi.dylib 0x00007fff70a40da7 std::__terminate(void (*)()) + 8
6 libc++abi.dylib 0x00007fff70a40d59 std::terminate() + 41
7 libdispatch.dylib 0x00007fff738424f2 _dispatch_client_callout + 28
8 libdispatch.dylib 0x00007fff73844428 _dispatch_queue_override_invoke + 1019
9 libdispatch.dylib 0x00007fff738507e5 _dispatch_root_queue_drain + 326
10 libdispatch.dylib 0x00007fff73850f25 _dispatch_worker_thread2 + 92
11 libsystem_pthread.dylib 0x00007fff73a9b71d _pthread_wqthread + 220
12 libsystem_pthread.dylib 0x00007fff73a9b5c3 start_wqthread + 15



Thread 11 crashed with X86 Thread State (64-bit):
rax: 0x00007fcb2a2b1c00 rbx: 0x00006000031f67f0 rcx: 0x511ba5bb8e000062 rdx: 0x0000000000000000
rdi: 0x0000600003170a80 rsi: 0x000000000000057e rbp: 0x0000700006af0bf0 rsp: 0x0000700006af0be0
r8: 0x000000000000017e r9: 0x00007fcb2a2b217e r10: 0x000000000000017e r11: 0x0000000000000000
r12: 0x00007fff98059560 r13: 0x000060000104b880 r14: 0x00007fff72527880 r15: 0x00006000009f8000
rip: 0x00007fff39b63ed7 rfl: 0x0000000000010202 cr2: 0x00007fe5ef7ec06b

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

:

. (REMOVED OTHER LOGS)

:

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

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

VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 384K 3
Activity Tracing 256K 1
CG backing stores 992K 2
CG image 3772K 63
CoreAnimation 119.2M 214
CoreGraphics 8K 1
CoreImage 804K 40
CoreUI image data 3764K 33
Foundation 24K 2
IOKit 7940K 1
Image IO 556K 4
JS JIT generated code 1.0G 3
Kernel Alloc Once 8K 1
MALLOC 211.2M 106
MALLOC guard page 64K 15
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
Memory Tag 242 12K 1
SQLite page cache 64K 1
STACK GUARD 56.1M 22
Stack 19.2M 22
VM_ALLOCATE 144K 22
WebKit Malloc 4612K 19
__DATA 51.9M 486
__DATA_CONST 65K 7
__FONT_DATA 4K 1
__GLSLBUILTINS 5176K 1
__LINKEDIT 353.9M 28
__OBJC_RO 31.8M 1
__OBJC_RW 1764K 2
__TEXT 375.6M 469
__UNICODE 564K 1
libnetwork 1152K 16
mapped file 190.8M 42
shared memory 648K 18
=========== ======= =======
TOTAL 2.8G 1649
TOTAL, minus reserved VM space 2.4G 1649

Model: MacBookPro14,1, BootROM 202.0.0.0.0, 2 processors, Dual-Core Intel Core i5, 2.3 GHz, 8 GB, SMC 2.43f7
Graphics: kHW_IntelIrisGraphics640Item, Intel Iris Plus Graphics 640, spdisplays_builtin
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.105.1 AirPortDriverBrcmNIC-1429)
Bluetooth: Version 7.0.0f8, 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., 41.3

1 answer

1 accepted

0 votes
Answer accepted

Hi,

I also faced the same issue and had a lot of trouble finding a fix for it.

I tried:

- Removing suggested files from application support folder

- Removing application support folder for source tree

- Re-installing the latest version

- Installing a old version

None of the above worked, It was crashing as soon I add my local repo to source tree and try to open it.

I also tried to use another repository and it was working fine, SO I concluded problem is with my local repository, I started deleting files from git folder and finally it resolved the issue.

You need to remove these two files from .git folder:

  1. sourcetreeconfig
  2. config

I would suggest to take the backup of local repo and then try deleting these two files and add the repository again, this time the source tree didn't crash for me.

Hope that works for you !!! :) 

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,083 views 0 11
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