Repository navigation
Afl++ fuzz-stream crash report #11249
Replies: 4 comments 2 replies
|
attaching other crashes (I didnt look into these at all) current2-min.txt <--- this is not the same as above just same current2 prefix current3-min.txt <-- this just segfaults no backtrace current-4.txt <-- sefaults no backtrace maybe same cause as above |
1 reply
|
Excellent thank you for these. I have a minimization of the first one and a fix queued up for tomorrow. |
1 reply
|
I think we've got all this tracked now, the other 3 were all #11261. Thank you! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Issue Description
Reporting afl++ crash (I let it run for 24 hours)
Expected Behavior
no crashes
Actual Behavior
NA
Reproduction Steps
current2.txt
this was what I got down to for a minimal reproduction
cat current2.txt | fuzz-streamI discovered it has something to do with the spacer head which is clearing the previous cell, it might also be related to the page resize though I didn't get far enough and in gdb alot of stuff seemed optimized out to poke if something wasn't getting copied over correctly
https://github.com/ghostty-org/ghostty/blob/main/src/terminal/Terminal.zig#L484
in which the codepoint ends up being zero because its a background cell
https://github.com/ghostty-org/ghostty/blob/main/src/terminal/page.zig#L1487
I'd love to attempt a fix, but I think it would take me too long to get there / probably not be the correct fix
Ghostty Logs
Ghostty Version
OS Version Information
Nixos 25.11
(Linux only) Display Server
Wayland
(Linux only) Desktop Environment/Window Manager
No response
Minimal Ghostty Configuration
Additional Relevant Configuration
No response
I acknowledge that:
```) on separate lines.All reactions