ghostty crashes after resizing #3885
-
I have open ghostty with a vertical split, i.e. one left and one right split. In one split I run a python script which generates a new window, causing ghostty to resize, after closing the new window ghostty freezes for a second then crashes due to SEGV. It does not consistently happen so I don't have a reliable way to reproduce it unfortunately. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 14 replies
-
We'll need a reproduction to accept this. |
Beta Was this translation helpful? Give feedback.
-
I have a crash report if that helps?
|
Beta Was this translation helpful? Give feedback.
-
My case might be related: ghostty for me becomes unstable and prone to crash if I have multiple active tabs open while disconnecting the monitor on my desktop (to preserve power). dump: https://gist.github.com/pbsds/ce21dbb112ca6376c5c97a3cf3143835 (no debug symbols though...) Environment: nixos unstable (25.05), gnome 47 running on X11 with a NVIDIA GeForce GTX 1080 on linux 6.6.71 with opengl 4.6.0 NVIDIA 565.77. Of interest I used |
Beta Was this translation helpful? Give feedback.
-
I have the same problem, and I'm able to reproduce it when running the |
Beta Was this translation helpful? Give feedback.
-
I believe the intermittent crash-on-resize I've experienced has been this as well. I'm using the
For the latter, what happened in the crash I just now saw is a terminal that showed only half the screen filled (I had two windows open in a vertical-split configuration, each sharing half the screen width, then I maximized the Ghostty terminal so its width doubled. It briefly showed the scrollback text wrapping at half the window width, then crashed after about three-quarters of a second). This is happening maybe once every couple of weeks or so. I would love to submit a crash report, but as far as I can tell my Ghostty installation doesn't seem to be producing them. Please let me know how I can enable crash reporting (do I need to download a debug build for that?) and then I'll be able to contribute crash reports. |
Beta Was this translation helpful? Give feedback.
-
Thanks to @lucaato stack trace, here's a stress test that reproduces the assertion when run on
Stack trace from GDB:
Some final log lines since the entire thing is too big:
|
Beta Was this translation helpful? Give feedback.
-
I just experienced another crash after resizing while running Ghostty tip with the bugfix included, so the cause of my crashes might have been different from #7536. I think I'll switch to a debug build for a while so I can get a log file or crash report to submit. If I do, I'll probably open a new discussion so that this one can remain focused on issue #7536. |
Beta Was this translation helpful? Give feedback.
-
Closing this as it's become a collection point for various unrelated crashes. Please open up a new discussion if you have a similar problems. |
Beta Was this translation helpful? Give feedback.
Closing this as it's become a collection point for various unrelated crashes. Please open up a new discussion if you have a similar problems.