PistonDevelopers/piston-examples

Examples are crashing when cursor touches the window

Kreyren opened this issue · 0 comments

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