Skip to content

[Bug] MacOS: SourceGit freeze when opening a different Git repo. Now it no longer launches #1815

@ozmium

Description

@ozmium

SourceGit is a good app. However, I am now experiencing an important bug in SourceGit 2025.34, where it no longer launches on MacOS 15.6.1.

Steps to reproduce the bug, using SourceGit 2025.34 ARM version

I'm not sure of the exact steps, but this is what I did over several days:

  1. Download and install sourcegit_2025.34.osx-arm64.zip on MacOS 15.6.1 for Apple Silicon Macs
  2. Apply the xattr -cr ~/Downloads/SourceGit.app to be able to run it.
  3. Open several Git repositories in multiple tabs.
  4. Close a tab
  5. Try to re-open a Git repo in a new tab

Expected Result

  • The Git repo should be reopened as before.

Actual Result

  • SourceGit is hanging/frozen for about 1 minute trying to re-open the Git repo.
  • SourceGit never re-opened it, so I had to Force Quit the SourceGit app.
  • When I try to relaunch SourceGit, it no longer launches. It just bounces the icon on the Dock for a few minutes. No windows will open. I have to force quit it again, to stop the bouncing icon. This happens every time, so the app is not functioning at all anymore.
  • No crash dialog appears.
Screen.Recording.2025-09-18.at.10.42.cannot.launch.SourceGit.on.MacOS.mp4

Technical logs

  • I'm not sure if I've found the correct technical logs.
  • The only thing I can find is a diagnostic report from Console.app, which is logged whenever I try to launch SourceGit. It's attached below, but I'm not sure it reveals any useful information.
Crash log summary from Console.app (Click to expand)
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               launchservicesd [566]
Path:                  /System/Library/CoreServices/launchservicesd
Identifier:            launchservicesd
Version:               ???
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               0

Date/Time:             2025-09-17 19:39:45.4261 +0100
OS Version:            macOS 15.6.1 (24G90)
Report Version:        12
Anonymous UUID:        39D55890-E2D9-CF80-C987-86C8A9DA77B8

Sleep/Wake UUID:       EB6B2A04-261D-4E35-B263-8585FE4BD50C

Time Awake Since Boot: 410000 seconds
Time Since Wake:       61129 seconds

System Integrity Protection: enabled

Crashed Thread:        2

Exception Type:        EXC_GUARD
Exception Codes:       GUARD_TYPE_USER
Exception Codes:       0x6000000000000012, 0x0000000000000005

Termination Reason:    Namespace LIBSYSTEM, Code 5 Application Triggered Fault

Thread 0:
0   libsystem_kernel.dylib        	       0x18e6a52e4 __sigsuspend_nocancel + 8
1   libdispatch.dylib             	       0x18e53b4c8 _dispatch_sig_thread + 56

Thread 1:
0   libsystem_pthread.dylib       	       0x18e6dab6c start_wqthread + 0

Thread 2 Crashed:
0   libsystem_kernel.dylib        	       0x18e6ac7a8 os_fault_with_payload + 8
1   libsystem_trace.dylib         	       0x18e429cf4 _os_log_impl_flatten_and_send + 9028
2   libsystem_trace.dylib         	       0x18e427998 _os_log + 168
3   libsystem_trace.dylib         	       0x18e42dff4 _os_log_fault_impl + 28
4   launchservicesd               	       0x102e2e4b4 0x102dec000 + 271540
5   launchservicesd               	       0x102defa50 0x102dec000 + 14928
6   launchservicesd               	       0x102e2e164 0x102dec000 + 270692
7   libdispatch.dylib             	       0x18e54185c _dispatch_client_callout + 16
8   libdispatch.dylib             	       0x18e5377a8 _dispatch_lane_barrier_sync_invoke_and_complete + 56
9   launchservicesd               	       0x102e2e0d4 0x102dec000 + 270548
10  launchservicesd               	       0x102defa50 0x102dec000 + 14928
11  launchservicesd               	       0x102e2b044 0x102dec000 + 258116
12  libdispatch.dylib             	       0x18e54185c _dispatch_client_callout + 16
13  libdispatch.dylib             	       0x18e52c5e0 _dispatch_continuation_pop + 596
14  libdispatch.dylib             	       0x18e53f620 _dispatch_source_latch_and_call + 396
15  libdispatch.dylib             	       0x18e53e2f8 _dispatch_source_invoke + 844
16  libdispatch.dylib             	       0x18e5301b8 _dispatch_lane_serial_drain + 332
17  libdispatch.dylib             	       0x18e530e60 _dispatch_lane_invoke + 440
18  libdispatch.dylib             	       0x18e539e30 _dispatch_root_queue_drain + 364
19  libdispatch.dylib             	       0x18e53a5d4 _dispatch_worker_thread2 + 156
20  libsystem_pthread.dylib       	       0x18e6dbe28 _pthread_wqthread + 232
21  libsystem_pthread.dylib       	       0x18e6dab74 start_wqthread + 8

Thread 3:
0   libsystem_kernel.dylib        	       0x18e69f8b0 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	       0x18e6dab74 start_wqthread + 8


Thread 2 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000012   x1: 0x0000000000000005   x2: 0x000000068035cdc0   x3: 0x0000000000000110
    x4: 0x0000000102e414f3   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x1eebb818a287a2a5
    x8: 0x0000000000000514   x9: 0x000000016d23d530  x10: 0x0000000000000000  x11: 0x00548000005e20c8
   x12: 0x0000000000000bc5  x13: 0x000000068035c000  x14: 0x0000000000000001  x15: 0xffffffffb00007ff
   x16: 0x0000000000000211  x17: 0x00000001fd6ca140  x18: 0x0000000000000000  x19: 0x000000010319adc0
   x20: 0x000000016d23e7e0  x21: 0x000000016d23d500  x22: 0x0000000000000110  x23: 0x000000068035cdc0
   x24: 0x000000068035cdf1  x25: 0x0000000000000004  x26: 0x00000000000000df  x27: 0x000000016d23e7e0
   x28: 0x00000000ebadf000   fp: 0x000000016d23d450   lr: 0x000000018e439550
    sp: 0x000000016d23d410   pc: 0x000000018e6ac7a8 cpsr: 0x40001000
   far: 0x0000000000000000  esr: 0x56000080  Address size fault

Binary Images:
       0x102dec000 -        0x102e43fff launchservicesd (*) <c871fc72-d5b6-368e-bf29-ea89dc0335e1> /System/Library/CoreServices/launchservicesd
       0x103978000 -        0x103997fff com.apple.security.csparser (3.0) <3a905673-ada9-3c57-992e-b83f555baa61> /System/Library/Frameworks/Security.framework/Versions/A/PlugIns/csparser.bundle/Contents/MacOS/csparser
       0x18e69d000 -        0x18e6d8653 libsystem_kernel.dylib (*) <6e4a96ad-04b8-3e8a-b91d-087e62306246> /usr/lib/system/libsystem_kernel.dylib
       0x18e526000 -        0x18e56c75f libdispatch.dylib (*) <24ce0d89-4114-30c2-a81a-3db1f5931cff> /usr/lib/system/libdispatch.dylib
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x18e6d9000 -        0x18e6e5a47 libsystem_pthread.dylib (*) <d6494ba9-171e-39fc-b1aa-28ecf87975d1> /usr/lib/system/libsystem_pthread.dylib
       0x18e423000 -        0x18e43e7ff libsystem_trace.dylib (*) <ac8466b8-af1d-3895-876b-228151f0df1d> /usr/lib/system/libsystem_trace.dylib

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

VM Region Summary:
ReadOnly portion of Libraries: Total=891.2M resident=0K(0%) swapped_out_or_unallocated=891.2M(100%)
Writable regions: Total=139.5M written=289K(0%) resident=289K(0%) swapped_out=0K(0%) unallocated=139.3M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        1 
Dispatch continuations            88.0M        1 
Kernel Alloc Once                   32K        1 
MALLOC                            44.7M       14 
MALLOC guard page                   32K        2 
STACK GUARD                         64K        4 
Stack                             2208K        5 
Stack Guard                       64.0M        2 
VM_ALLOCATE                       4480K       70 
__AUTH                            1233K      226 
__AUTH_CONST                      17.2M      377 
__CTF                               824        1 
__DATA                            4208K      356 
__DATA_CONST                      11.8M      381 
__DATA_DIRTY                       560K      115 
__FONT_DATA                        2352        1 
__INFO_FILTER                         8        1 
__LINKEDIT                       616.9M        3 
__OBJC_RO                         61.4M        1 
__OBJC_RW                         2396K        1 
__TEXT                           274.3M      392 
__TPRO_CONST                       128K        2 
dyld private memory                 16K        1 
mapped file                       32.9M        5 
page table in kernel               289K        1 
shared memory                     4352K       70 
===========                     =======  ======= 
TOTAL                              1.2G     2034 

ExcUserFault_launchservicesd-2025-09-17-193946.ips.txt

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneed-more-infoExtra information or replay is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions