Skip to content

Crash when quitting via Dock context menu on macOS #2271

@ChiahongHong

Description

@ChiahongHong

Description

When quitting the SourceGit via the Dock context menu (right-click on the app icon → "Quit"), the application consistently crashes.

However, quitting through other methods does not trigger the crash:

  • Clicking the window close button
  • Pressing Command ⌘ + Q

This suggests the issue may be related to how the application handles the macOS quit event triggered from the Dock.

Unfortunately, I only have access to a single MacBook, so I’m unable to cross-check whether this issue is device-specific. I’m not sure if the problem is isolated to my machine, and I haven’t been able to identify the exact root cause so far.

Steps to Reproduce

  1. Launch the application
  2. Right-click the app icon in the Dock
  3. Click "Quit"
output.mp4
Process:             SourceGit [5164]
Path:                /Applications/SourceGit.app/Contents/MacOS/SourceGit
Identifier:          com.sourcegit-scm.sourcegit
Version:             2026.08 (2026.08.0)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.sourcegit-scm.sourcegit [1386]
User ID:             501

Date/Time:           2026-04-16 01:08:05.3553 +0800
Launch Time:         2026-04-16 01:08:03.1238 +0800
Hardware Model:      Mac14,2
OS Version:          macOS 26.4.1 (25E253)
Release Type:        User

Time Awake Since Boot: 1600 seconds
Time Since Wake:       1456 seconds

System Integrity Protection: enabled

Triggered by Thread: 0, Dispatch Queue: com.apple.main-thread

Exception Type:    EXC_CRASH (SIGABRT)
Exception Codes:   0x0000000000000000, 0x0000000000000000

Termination Reason:  Namespace SIGNAL, Code 6, Abort trap: 6
Terminating Process: SourceGit [5164]

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingos-macosThis issue only exists on macOS

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions