Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on Redox: tiny-skia out of bounds #430

Open
phansel opened this issue Feb 14, 2025 · 5 comments
Open

Crash on Redox: tiny-skia out of bounds #430

phansel opened this issue Feb 14, 2025 · 5 comments

Comments

@phansel
Copy link

phansel commented Feb 14, 2025

cosmic-term crashes unprompted while typing in an 800x600 Redox 0.4.1 window within VirtualBox on x86_64.

Image

thread 'main' panicked at /home/redox/.cargo/reigstry/src/index.crates.io-1949cf8c6b5b557f/tiny-skia-0.11.4/src/pipeline/mod.rs:144:1[cropped]
index out of bounds: the len is 90 but the index is 1072693248
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

I have not yet been able to reproduce the bug or capture a full backtrace by exporting RUST_BACKTRACE=full.

@phansel
Copy link
Author

phansel commented Feb 14, 2025

Image

Debug symbols appear to be stripped. I'll have to determine how to install cargo / rustc on this VM to recompile with debug symbols on.

@MoSal
Copy link
Contributor

MoSal commented Feb 14, 2025

tiny-skia is only used if software rendering is used. Did you enable whatever GPU acceleration/pass-through/... option VitrualBox has?

This doesn't invalidate the bug report. Software rendering should still work. But enabling GPU rendering would put you on a more tested path.

@phansel
Copy link
Author

phansel commented Feb 21, 2025

tiny-skia is only used if software rendering is used. Did you enable whatever GPU acceleration/pass-through/... option VitrualBox has?

I did not. I can try that out!

@MoSal
Copy link
Contributor

MoSal commented Feb 21, 2025

I did not. I can try that out!

I actually didn't notice that this was on Redox, and I don't know if GPU rendering is supported there at all.

@jackpot51
Copy link
Member

Redox only supports tiny-skia, but I can't reproduce this panic on an updated build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants