-
Notifications
You must be signed in to change notification settings - Fork 920
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
[X11] Winit 0.29.11 panics or SIGSEGVs when the main thread is busy #3536
Comments
Here's a backtrace from when a
|
The panicking multiplication was introduced in #3471. |
For a more concrete reproducer: git clone https://github.com/ruffle-rs/ruffle
cd ruffle
# install dependencies as needed and documented
WAYLAND_DISPLAY="" cargo run https://z0r.de/L/z0r-de_7000.swf
# and move the mouse around while the little white spinner is visible in the beginning I tried to reproduce with some of the winit examples, to make your lives easier, but wasn't able to. Not even after adding some "business" into the main event loop - either with sleeping or bogus processing. |
Reproduced this error on my Xubuntu machine. |
I'm seeing errors in |
The code is exactly the same as before though, so should likely it was unsound before as well. |
That code was line by line before. |
Oh, I see. I just parrotted what EDIT: But, for the record, I also wasn't able to reproduce with 0.29.10, so... I dunno. |
Ok, I think I know which stupid code is unsound here. |
Could you test this #3541 ? |
While it was really easy to get at least a panic before, I wasn't able to get either a panic or a SIGSEGV with this so far, after trying really hard for a short while. So I think it's fixed, thank you! |
When the main thread is busy doing work and a lot of X11 events are generated, winit crashes. It is either a panic or a SIGSEGV.
That's a regression, as 0.29.10 worked fine.
Reproduction:
The text was updated successfully, but these errors were encountered: