Closed niclashoyer closed 7 years ago
Confirmed on Ubuntu 16.04 LTS.
[2017-04-22][23:26:38][INFO] Frontend: SDL2 init
[2017-04-22][23:26:38][INFO] Frontend: SDL2 Video init
[2017-04-22][23:26:38][INFO] Frontend: SDL2 event pump
[2017-04-22][23:26:38][INFO] Frontend: creating renderer
[2017-04-22][23:26:38][INFO] [SDL] Creating window fullscreen=false opengl=true
[2017-04-22][23:26:38][INFO] [SDL] Creating renderer
[2017-04-22][23:26:38][INFO] [SDL] Creating texture
[2017-04-22][23:26:38][INFO] Frontend: SDL2 audio
[2017-04-22][23:26:38][INFO] Frontend: initialise controllers
[2017-04-22][23:26:38][INFO] Init Controllers
thread '<unnamed>' panicked at 'index out of bounds: the len is 256 but the index is 256', src/sound/mod.rs:74
note: Run with `RUST_BACKTRACE=1` for a backtrace.
fatal runtime error: failed to initiate panic, error 5
Aborted (core dumped)```
Hi,
I will disable the sound right now, it is clearly not stable or finish
Could you try to recompile ? cargo run --release --features "cpython lua" && ./target/release/px8 -s 4 ./games/ski/ski.px8
(I removed demos/ski.py it was the same code)
works! great 😄
Just gave the current master branch a try on Fedora 25 using rust 1.16.0.
I get a panic in src/sound/mod.rs