Skip to content

Examples are crashing when cursor touches the window #468

@Kreyren

Description

@Kreyren
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions