https://bugs.kde.org/show_bug.cgi?id=525060

            Bug ID: 525060
           Summary: `kate file.txt` does not work (exit code 1) anymore
                    after random crash
    Classification: Applications
           Product: kate
      Version First 26.08.0
       Reported In:
          Platform: Homebrew (macOS)
                OS: macOS
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: application
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION

`kate file.txt` does not work (exit code 1) anymore after random crash with no
obvious cause (both times it happened I was likely editing a Python file, with
LSP enabled; no "kate quit unexpectedly" dialog showed up).

Fixed by reboot (but not by logout/login).

STEPS TO REPRODUCE

Not possible, happens after a crash.

OBSERVED RESULT

`kate file.txt` exits with code 1, and no window shows up:

$ which kate
kate: aliased to /Applications/kate.app/Contents/MacOS/kate
$ kate file.txt; echo $?
[... dock icon bounces but nothing happens ...]
1

The same thing happens if an instance of kate is already running:

$ pkill -x kate
$ pgrep -fl kate
$ kate
kf.sonnet.core: Unable to handle language from dictionary "ko" "ko_KR"
kf.sonnet.core: Unable to handle language from dictionary "ars" "C"
[... kate window opens ...]

...in another terminal:

$ kate file.txt; echo $?
[... dock icon bounces but nothing happens ...]
1
$ kate --pid "$(pgrep -x kate)"; echo $?
[... dock icon bounces but nothing happens ...]
1

EXPECTED RESULT

Previous behavior: `kate file.txt` opens a new window if none exists, or opens
a new tab in the existing window.

SOFTWARE/OS VERSIONS

Kate: 26.08.0
KDE Frameworks: 6.28.0
Qt: Using 6.11.1 and built against 6.11.1
macOS Tahoe (26.5.2)
Build ABI: arm64-little_endian-lp64
Kernel: darwin 25.5.0

ADDITIONAL INFORMATION

Not sure where to look for more debug info, or where to get a debug version of
Kate (short of building it myself). Will be back with more info when I have it.

Possibly related to
https://discuss.kde.org/t/kate-v26-wont-launch-on-macos-tahoe-26-4/46125 (?)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to