Skip to content

Instantly share code, notes, and snippets.

@darthdeus
Created December 30, 2020 23:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darthdeus/4718b4ea1466fa4b4fabda19c5aad982 to your computer and use it in GitHub Desktop.
Save darthdeus/4718b4ea1466fa4b4fabda19c5aad982 to your computer and use it in GitHub Desktop.
thread 'main' panicked at 'Matrix index out of bounds.', /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/ncollide2d-0.26.1/src/query/ray/ray_aabb.rs:257:13
stack backtrace:
0: 0x103a862b4 - std::backtrace_rs::backtrace::libunwind::trace::h9b9011e5262e4f26
at /rustc/0edce6f4bbb4514482537f569f0b8ef48e71e0a0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
1: 0x103a862b4 - std::backtrace_rs::backtrace::trace_unsynchronized::hdb5ec51860531ffc
at /rustc/0edce6f4bbb4514482537f569f0b8ef48e71e0a0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x103a862b4 - std::sys_common::backtrace::_print_fmt::h8851f8ff0b9f14ac
at /rustc/0edce6f4bbb4514482537f569f0b8ef48e71e0a0/library/std/src/sys_common/backtrace.rs:67:5
3: 0x103a862b4 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h8afa911bc5282e85
at /rustc/0edce6f4bbb4514482537f569f0b8ef48e71e0a0/library/std/src/sys_common/backtrace.rs:46:22
4: 0x103a9ff08 - core::fmt::write::hf53968076cf4f14e
at /rustc/0edce6f4bbb4514482537f569f0b8ef48e71e0a0/library/core/src/fmt/mod.rs:1078:17
5: 0x103a82c48 - std::io::Write::write_fmt::he41db56a80baa5aa
at /rustc/0edce6f4bbb4514482537f569f0b8ef48e71e0a0/library/std/src/io/mod.rs:1519:15
6: 0x103a88110 - std::sys_common::backtrace::_print::h657c2f86ee988d10
at /rustc/0edce6f4bbb4514482537f569f0b8ef48e71e0a0/library/std/src/sys_common/backtrace.rs:49:5
7: 0x103a88110 - std::sys_common::backtrace::print::h3af74dd73c90c8f6
at /rustc/0edce6f4bbb4514482537f569f0b8ef48e71e0a0/library/std/src/sys_common/backtrace.rs:36:9
8: 0x103a88110 - std::panicking::default_hook::{{closure}}::h0951e90be2840251
at /rustc/0edce6f4bbb4514482537f569f0b8ef48e71e0a0/library/std/src/panicking.rs:208:50
9: 0x103a87c98 - std::panicking::default_hook::h47209388999ca0e4
at /rustc/0edce6f4bbb4514482537f569f0b8ef48e71e0a0/library/std/src/panicking.rs:225:9
10: 0x103a886c4 - std::panicking::rust_panic_with_hook::h72eefe4861306ecc
at /rustc/0edce6f4bbb4514482537f569f0b8ef48e71e0a0/library/std/src/panicking.rs:591:17
11: 0x10301ddac - std::panicking::begin_panic::{{closure}}::hbdb40b60f4a212c2
at /Users/darth/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/panicking.rs:520:9
12: 0x10301dd84 - std::sys_common::backtrace::__rust_end_short_backtrace::hc02e1ddbe5e2de24
at /Users/darth/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:141:18
13: 0x103ab740c - std::panicking::begin_panic::h48338a3b157694ef
at /Users/darth/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/panicking.rs:519:12
14: 0x10301dab4 - nalgebra::base::ops::<impl core::ops::index::IndexMut<(usize,usize)> for nalgebra::base::matrix::Matrix<N,R,C,S>>::index_mut::he2569dd2917c1ef9
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.23.2/src/base/ops.rs:69:9
15: 0x10301dab4 - nalgebra::base::ops::<impl core::ops::index::IndexMut<usize> for nalgebra::base::matrix::Matrix<N,R,C,S>>::index_mut::h91ea88b49c69fa78
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.23.2/src/base/ops.rs:57:14
16: 0x10301dab4 - ncollide2d::query::ray::ray_aabb::clip_line::he37c7d78dd98ad06
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/ncollide2d-0.26.1/src/query/ray/ray_aabb.rs:257:13
17: 0x103028474 - ncollide2d::query::ray::ray_aabb::ray_aabb::h412caa8c46ac44f2
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/ncollide2d-0.26.1/src/query/ray/ray_aabb.rs:286:5
18: 0x103028474 - ncollide2d::query::ray::ray_aabb::<impl ncollide2d::query::ray::ray::RayCast<N> for ncollide2d::bounding_volume::aabb::AABB<N>>::toi_and_normal_with_ray::h66c02cddfb431ea1
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/ncollide2d-0.26.1/src/query/ray/ray_aabb.rs:63:9
19: 0x103028474 - ncollide2d::query::ray::ray_cuboid::<impl ncollide2d::query::ray::ray::RayCast<N> for ncollide2d::shape::cuboid::Cuboid<N>>::toi_and_normal_with_ray::h3821519f436ca138
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/ncollide2d-0.26.1/src/query/ray/ray_cuboid.rs:25:9
20: 0x103024224 - rapier2d::pipeline::query_pipeline::QueryPipeline::cast_ray::h862fc81fc8ebc66b
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/rapier2d-0.4.2/src/pipeline/query_pipeline.rs:77:42
21: 0x102f02aa0 - shadows_rs::player::controller2d::Controller2d::vertical_collisions::hc13cf6a14ff8f33c
at /Users/darth/projects/shadows-rs/src/player/controller2d.rs:153:23
22: 0x102f026e8 - shadows_rs::player::controller2d::Controller2d::translate::h90616babc0a46dab
at /Users/darth/projects/shadows-rs/src/player/controller2d.rs:112:9
23: 0x102f02618 - shadows_rs::player::controller2d::update::hd2d3de029f49084e
at /Users/darth/projects/shadows-rs/src/player/controller2d.rs:76:9
24: 0x102eaf2c0 - core::ops::function::Fn::call::h74fceb063e614771
at /Users/darth/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs:70:5
25: 0x102f05c1c - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &F>::call_mut::he90576991ed6ba13
at /Users/darth/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs:247:13
26: 0x102eabc04 - <Func as bevy_ecs::system::into_system::IntoSystem<(A,B,C,D,E,F),bevy_ecs::system::into_system::FuncSystem<Out>>>::system::{{closure}}::hfcee6dde8b124101
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_ecs-0.4.0/src/system/into_system.rs:237:38
27: 0x102ea8624 - <alloc::boxed::Box<F,A> as core::ops::function::FnMut<Args>>::call_mut::h529846485e3f254e
at /Users/darth/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/boxed.rs:1335:9
28: 0x102ea8f08 - <bevy_ecs::system::into_system::FuncSystem<Out> as bevy_ecs::system::system::System>::run_unsafe::hf17a3ae9e17fffcd
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_ecs-0.4.0/src/system/into_system.rs:125:9
29: 0x103a4b388 - bevy_ecs::schedule::stage_executor::ParallelSystemStageExecutor::run_systems::{{closure}}::{{closure}}::hbd156d950dfadbd8
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_ecs-0.4.0/src/schedule/stage_executor.rs:372:29
30: 0x103a4b388 - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h14099ba52e63030a
at /Users/darth/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/future/mod.rs:80:19
31: 0x103a4b388 - async_executor::Executor::spawn::{{closure}}::h232b597623ab7a27
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/async-executor-1.4.0/src/lib.rs:138:13
32: 0x103a4b388 - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h0aef84a8563089b7
at /Users/darth/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/future/mod.rs:80:19
33: 0x103a48dcc - async_task::raw::RawTask<F,T,S>::run::h4415ee6bfd4c1587
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/async-task-4.0.3/src/raw.rs:489:20
34: 0x103a5c808 - async_executor::Executor::try_tick::h91c5cbbc773507ef
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/async-executor-1.4.0/src/lib.rs:175:17
35: 0x103a4c154 - bevy_tasks::task_pool::TaskPool::scope::h000298d5118c1a44
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_tasks-0.4.0/src/task_pool.rs:212:17
36: 0x103a41118 - bevy_ecs::schedule::stage_executor::ParallelSystemStageExecutor::run_systems::hbeb24d6925684fd1
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_ecs-0.4.0/src/schedule/stage_executor.rs:300:9
37: 0x103a4164c - <bevy_ecs::schedule::stage_executor::ParallelSystemStageExecutor as bevy_ecs::schedule::stage_executor::SystemStageExecutor>::execute_stage::h45d6824db0e4017d
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_ecs-0.4.0/src/schedule/stage_executor.rs:496:13
38: 0x103a439cc - bevy_ecs::schedule::stage::SystemStage::run_once::h1cfd890327a724c2
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_ecs-0.4.0/src/schedule/stage.rs:102:9
39: 0x103a439cc - <bevy_ecs::schedule::stage::SystemStage as bevy_ecs::schedule::stage::Stage>::run::h423b2a6fb7ff2263
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_ecs-0.4.0/src/schedule/stage.rs:136:21
40: 0x103a3f414 - bevy_ecs::schedule::Schedule::run_once::h5f316509b7f08c2d
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_ecs-0.4.0/src/schedule/mod.rs:149:13
41: 0x103a3f414 - <bevy_ecs::schedule::Schedule as bevy_ecs::schedule::stage::Stage>::run::hcbeb2dc50b72cc24
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_ecs-0.4.0/src/schedule/mod.rs:189:21
42: 0x10332d4e0 - bevy_winit::winit_runner::{{closure}}::h7558d9fdfe353c85
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_winit-0.4.0/src/lib.rs:371:17
43: 0x10332c464 - <alloc::boxed::Box<F,A> as core::ops::function::FnMut<Args>>::call_mut::h9dde570d588cb1ca
at /Users/darth/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/boxed.rs:1335:9
44: 0x10332c464 - <winit::platform_impl::platform::app_state::EventLoopHandler<T> as winit::platform_impl::platform::app_state::EventHandler>::handle_nonuser_event::hbae18f9bbd94a9c5
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/macos/app_state.rs:71:9
45: 0x103357ef4 - winit::platform_impl::platform::app_state::Handler::handle_nonuser_event::h5d9f8578511297f8
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/macos/app_state.rs:173:21
46: 0x1033597fc - winit::platform_impl::platform::app_state::AppState::cleared::h81dd9673e4c44717
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/macos/app_state.rs:331:13
47: 0x19a0eae08 - <unknown>
48: 0x19a0eac54 - <unknown>
49: 0x19a0ea2cc - <unknown>
50: 0x19a0e9740 - <unknown>
51: 0x1a1c06678 - <unknown>
52: 0x1a1c064a8 - <unknown>
53: 0x1a1c061d8 - <unknown>
54: 0x19c8c1da4 - <unknown>
55: 0x19c8c0724 - <unknown>
56: 0x19c8b260c - <unknown>
57: 0x103340bbc - <() as objc::message::MessageArguments>::invoke::h875410b4e14ddd10
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/objc-0.2.7/src/message/mod.rs:128:17
58: 0x103340bbc - objc::message::platform::send_unverified::h4acc2c672b0257b6
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/objc-0.2.7/src/message/apple/mod.rs:27:9
59: 0x103340bbc - objc::message::send_message::h0b657b22770554c5
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/objc-0.2.7/src/message/mod.rs:178:5
60: 0x103340bbc - winit::platform_impl::platform::event_loop::EventLoop<T>::run_return::h534b6f61ac69f80c
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/macos/event_loop.rs:106:25
61: 0x103340c88 - winit::platform_impl::platform::event_loop::EventLoop<T>::run::ha8f77f7269acb3df
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/macos/event_loop.rs:93:9
62: 0x1033328ac - winit::event_loop::EventLoop<T>::run::h6b05fc4ced34dadb
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/event_loop.rs:154:9
63: 0x10333483c - bevy_winit::run::h9cae2a66661f1c3a
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_winit-0.4.0/src/lib.rs:121:5
64: 0x103334b3c - bevy_winit::winit_runner::h47c587c18c7ca561
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_winit-0.4.0/src/lib.rs:379:9
65: 0x1033305a8 - core::ops::function::Fn::call::h69948931b2951f18
at /Users/darth/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs:70:5
66: 0x103a39edc - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::ha7e4f27eb5ab426c
at /Users/darth/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/boxed.rs:1342:9
67: 0x103a39edc - bevy_app::app::App::run::h7655d81ecbb6aac2
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_app-0.4.0/src/app.rs:67:9
68: 0x103a39edc - bevy_app::app_builder::AppBuilder::run::h0258cabddae3c087
at /Users/darth/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_app-0.4.0/src/app_builder.rs:49:9
69: 0x102edbd50 - shadows_rs::main::h40a83129cf2fec01
at /Users/darth/projects/shadows-rs/src/main.rs:23:5
70: 0x102eb0da8 - core::ops::function::FnOnce::call_once::h71ca50b7057f41ff
at /Users/darth/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5
71: 0x102e885cc - std::sys_common::backtrace::__rust_begin_short_backtrace::hcbfc13f71632801a
at /Users/darth/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:125:18
72: 0x102ec8420 - std::rt::lang_start::{{closure}}::h5c30dce1c80f4432
at /Users/darth/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/rt.rs:66:18
73: 0x103a88b0c - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hba3336600b4e2d51
at /rustc/0edce6f4bbb4514482537f569f0b8ef48e71e0a0/library/core/src/ops/function.rs:259:13
74: 0x103a88b0c - std::panicking::try::do_call::hb525555825cb795d
at /rustc/0edce6f4bbb4514482537f569f0b8ef48e71e0a0/library/std/src/panicking.rs:379:40
75: 0x103a88b0c - std::panicking::try::hd444835db4887372
at /rustc/0edce6f4bbb4514482537f569f0b8ef48e71e0a0/library/std/src/panicking.rs:343:19
76: 0x103a88b0c - std::panic::catch_unwind::h73a34a4a8bd42478
at /rustc/0edce6f4bbb4514482537f569f0b8ef48e71e0a0/library/std/src/panic.rs:396:14
77: 0x103a88b0c - std::rt::lang_start_internal::h17327e074e29c857
at /rustc/0edce6f4bbb4514482537f569f0b8ef48e71e0a0/library/std/src/rt.rs:51:25
78: 0x102ec83f8 - std::rt::lang_start::hf499f51b95243a29
at /Users/darth/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/rt.rs:65:5
79: 0x102edbde8 - _main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment