Ghostty crashes on macOS when trying to go to non-native fullscreen #7114
Unanswered
dzhlobo
asked this question in
Issue Triage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue Description
I updated Ghostty and it started crashing on launch.
I've sent a crash report to Sentry 2d6dae56-30cb-4ba9-be8f-d702542dbd2d.ghosttycrash (event id
6d094e52-d976-492f-2827-3f695105f9eb
).I think it's related to non native fullscreen behaviour. I pulled the latest code and launched it in XCode and it crashes. The stack trace is:
Fatal error: Negative value is not representable
ghostty/macos/Sources/Helpers/NSWindow+Extension.swift
Line 6 in 2bcd76c
ghostty/macos/Sources/Helpers/Fullscreen.swift
Line 363 in 2bcd76c
ghostty/macos/Sources/Helpers/Fullscreen.swift
Line 171 in 2bcd76c
ghostty/macos/Sources/Features/Terminal/BaseTerminalController.swift
Line 336 in 2bcd76c
If I don't use non-native fullscreen Ghostty doesn't crash.
I think it's related to changes in 8bab8f7#diff-0134fd2fc727c1f12727bff8d71fdff6d655e2e97e5c3ccba284d9b74596177e.
Reproduction Steps
macos-non-native-fullscreen = true
to ghostty config.Ghostty Version
OS Version Information
macOS 15.4.1 (24E263)
(Linux only) Display Server
None
(Linux only) Desktop Environment/Window Manager
No response
Ghostty Configuration
Additional Relevant Configuration
No response
I acknowledge that:
Beta Was this translation helpful? Give feedback.
All reactions