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

Examples are crashing when cursor touches the window #468

Open
Kreyren opened this issue Jan 5, 2021 · 0 comments
Open

Examples are crashing when cursor touches the window #468

Kreyren opened this issue Jan 5, 2021 · 0 comments

Comments

@Kreyren
Copy link
Contributor

Kreyren commented Jan 5, 2021

kreyren@leonid:~/Repositories/RXT0147/projects/RXT0147-piston_rs$ cargo run
   Compiling piston-example-user_input v0.0.0 (/home/kreyren/Repositories/RXT0147/projects/RXT0147-piston_rs)
    Finished dev [unoptimized + debuginfo] target(s) in 5.09s
     Running `target/debug/piston-example-user_input`
thread 'main' panicked at 'attempted to leave type `platform::platform::x11::util::input::PointerState` uninitialized, which is invalid', /home/kreyren/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/mem/mod.rs:659:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Steps to reproduce

  1. Run the cube example
  2. Touch the pison window with a cursor and expect the piston to unwantedly crash
shinmili added a commit to shinmili/piston-examples that referenced this issue Sep 16, 2021
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

1 participant