Skip to content

Instantly share code, notes, and snippets.

@jethrosun
Created July 15, 2019 15:46
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 jethrosun/8443a6e58f75d055ca10fca360a61319 to your computer and use it in GitHub Desktop.
Save jethrosun/8443a6e58f75d055ca10fca360a61319 to your computer and use it in GitHub Desktop.
index out of bounds error from a DPDK application
thread 'sched-3' panicked at 'index out of bounds: the len is 128 but the index is 18446744073709551615', /rustc/8ebd67e4ee394cad9441a801f2022724ae7e07db/src/libcore/slice/mod.rs:2681:10
stack backtrace:
0: 0x555555670086 - backtrace::backtrace::libunwind::trace::h8ed5d9ae1d8037d0
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.29/src/backtrace/libunwind.rs:88
1: 0x555555670086 - backtrace::backtrace::trace_unsynchronized::h2c3e43c5cb83cbee
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.29/src/backtrace/mod.rs:66
2: 0x555555670086 - std::sys_common::backtrace::_print::h621b9f6822ef2d33
at src/libstd/sys_common/backtrace.rs:47
3: 0x555555670086 - std::sys_common::backtrace::print::h6edc8d6ecd0550e9
at src/libstd/sys_common/backtrace.rs:36
4: 0x555555670086 - std::panicking::default_hook::{{closure}}::hac736251a65c7a5c
at src/libstd/panicking.rs:198
5: 0x55555566f807 - std::panicking::default_hook::he803cdbf34b9db7d
at src/libstd/panicking.rs:212
6: 0x55555566f807 - std::panicking::rust_panic_with_hook::h335228e51d0b7420
at src/libstd/panicking.rs:475
7: 0x55555566f32f - std::panicking::continue_panic_fmt::hcdc07195324b4d3a
at src/libstd/panicking.rs:382
8: 0x555555678f76 - rust_begin_unwind
at src/libstd/panicking.rs:309
9: 0x55555568213c - core::panicking::panic_fmt::h15cf883752a828ed
at src/libcore/panicking.rs:85
10: 0x555555681c24 - core::panicking::panic_bounds_check::hd777625aa9720b4f
at src/libcore/panicking.rs:61
11: 0x555555694602 - pvn_tls::utils::read_payload::h598a7a9cd86266c8
at framework/src/state/reordered_buffer/reordered_buffer.rs:0
12: 0x5555556980a7 - pvn_tls::nf::validator::{{closure}}::h37f2853563142508
at test/tls-validator/src/nf.rs:148
13: 0x5555556953c6 - <e2d2::operators::transform_batch::TransformBatch<T,V> as e2d2::operators::act::Act>::act::h8d3c891bb03fcadf
at /rustc/8ebd67e4ee394cad9441a801f2022724ae7e07db/src/liballoc/boxed.rs:753
14: 0x5555556953c6 - <e2d2::operators::reset_parse::ResetParsingBatch<V> as e2d2::operators::act::Act>::act::had13487cbaadef90
at /home/jethros/dev/netbricks/framework/src/operators/macros.rs:34
15: 0x5555556953c6 - <e2d2::operators::reset_parse::ResetParsingBatch<V> as e2d2::operators::act::Act>::act::h22f4cc11b68337d7
at /home/jethros/dev/netbricks/framework/src/operators/macros.rs:34
16: 0x55555569b16f - <e2d2::operators::composition_batch::CompositionBatch as e2d2::operators::act::Act>::act::h20c3c31e8366d7a9
at /home/jethros/dev/netbricks/framework/src/operators/macros.rs:34
17: 0x55555569b16f - <e2d2::operators::send_batch::SendBatch<Port,V> as e2d2::operators::act::Act>::act::h92fbd518ebd81746
at /home/jethros/dev/netbricks/framework/src/operators/send_batch.rs:73
18: 0x55555569b16f - <e2d2::operators::send_batch::SendBatch<Port,V> as e2d2::scheduler::Executable>::execute::h3e9c5a916a5019a2
at /home/jethros/dev/netbricks/framework/src/operators/send_batch.rs:123
19: 0x5555555a3fa4 - e2d2::scheduler::standalone_scheduler::StandaloneScheduler::execute_internal::h0003380798dbecba
at framework/src/scheduler/standalone_scheduler.rs:130
20: 0x5555555a3fa4 - e2d2::scheduler::standalone_scheduler::StandaloneScheduler::execute_loop::hb402684c0637bb63
at framework/src/scheduler/standalone_scheduler.rs:155
21: 0x5555555a3fa4 - e2d2::scheduler::standalone_scheduler::StandaloneScheduler::handle_request::hade6e9fba84eb070
at framework/src/scheduler/standalone_scheduler.rs:96
22: 0x5555555b614c - e2d2::scheduler::context::NetBricksContext::start_scheduler::{{closure}}::h622b2ad06e4af3bd
at framework/src/scheduler/standalone_scheduler.rs:118
23: 0x5555555b614c - std::sys_common::backtrace::__rust_begin_short_backtrace::h17465b8966b8351b
at /rustc/8ebd67e4ee394cad9441a801f2022724ae7e07db/src/libstd/sys_common/backtrace.rs:77
24: 0x5555555a89ea - std::panicking::try::h95ce083e1aa4095d
at /rustc/8ebd67e4ee394cad9441a801f2022724ae7e07db/src/libstd/thread/mod.rs:470
25: 0x5555555a89ea - std::panic::catch_unwind::h99b5cba33ff55000
at /rustc/8ebd67e4ee394cad9441a801f2022724ae7e07db/src/libstd/panic.rs:388
26: 0x5555555a89ea - std::thread::Builder::spawn_unchecked::{{closure}}::ha61b95c53f6b0545
at /rustc/8ebd67e4ee394cad9441a801f2022724ae7e07db/src/libstd/thread/mod.rs:469
27: 0x5555555a89ea - core::ops::function::FnOnce::call_once{{vtable.shim}}::h86edaedd8310ed55
at /rustc/8ebd67e4ee394cad9441a801f2022724ae7e07db/src/libcore/ops/function.rs:231
28: 0x555555678aaf - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h70b9bc372dbba5b3
at /rustc/8ebd67e4ee394cad9441a801f2022724ae7e07db/src/liballoc/boxed.rs:746
29: 0x55555567978c - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::hf896d6672d764b74
at /rustc/8ebd67e4ee394cad9441a801f2022724ae7e07db/src/liballoc/boxed.rs:746
30: 0x55555567978c - std::sys_common::thread::start_thread::h8ca08fc3dab6780a
at src/libstd/sys_common/thread.rs:13
31: 0x55555567978c - std::sys::unix::thread::Thread::new::thread_start::hb3d1bbb3a877e408
at src/libstd/sys/unix/thread.rs:79
32: 0x7ffff6bde6db - start_thread
33: 0x7ffff66ef88f - __clone
34: 0x0 - <unknown>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment