dimforge / nphysics

2 and 3-dimensional rigid body physics engine for Rust.
https://nphysics.org
Apache License 2.0
1.62k stars 121 forks source link

Panic with plasticity demo #182

Closed seppo0010 closed 5 years ago

seppo0010 commented 5 years ago

I was playing with the demo, interacting with the plasticity object and I got the following panic

rust_panic https://www.nphysics.org/demo/plasticity3.wasm:824114
_ZN3std9panicking20rust_panic_with_hook17h96e3a4cb3d3dc866E https://www.nphysics.org/demo/plasticity3.wasm:42720
_ZN3std9panicking18continue_panic_fmt17hee5e08328f394e70E https://www.nphysics.org/demo/plasticity3.wasm:826330
rust_begin_unwind https://www.nphysics.org/demo/plasticity3.wasm:851490
_ZN4core9panicking9panic_fmt17hb65c49043b2bb0bbE https://www.nphysics.org/demo/plasticity3.wasm:311979
_ZN4core6option13expect_failed17h7c90fbc67711ba53E https://www.nphysics.org/demo/plasticity3.wasm:29263
15update_dynamics17hc409ae1a8bb07c75E https://www.nphysics.org/demo/plasticity3.wasm:888328
4step17h577f5765b8221129E https://www.nphysics.org/demo/plasticity3.wasm:205829 
15funcall_adapter17h7f797050daadd889E https://www.nphysics.org/demo/plasticity3.wasm:371027
dyncall https://www.nphysics.org/demo/plasticity3.js:474 output https://www.nphysics.org/demo/plasticity3.js:174 

The display got frozen in the following state

image

sebcrozet commented 5 years ago

This crash is fixed and the online demos have been updated.