thread 'main' panicked at 'index out of bounds: the len is 4096 but the index is 4096',
d33tah opened this issue · 0 comments
d33tah commented
What happened here?
$ yes | dd count=1000 | RUST_BACKTRACE=1 /home/d33tah/.cargo/bin/parallel --pipe cat >/dev/null
parallel: reading inputs from standard input
1000+0 przeczytanych recordów
1000+0 zapisanych recordów
512000 bajtów (512 kB, 500 KiB), 0.0347608 s, 14.7 MB/s
thread 'main' panicked at 'index out of bounds: the len is 4096 but the index is 4096', /home/d33tah/.cargo/registry/src/github.com-1ecc6299db9ec823/parallel-0.11.3/src/input_iterator/iterator.rs:211:9
stack backtrace:
0: std::sys::imp::backtrace::tracing::imp::unwind_backtrace
at /checkout/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
1: std::sys_common::backtrace::_print
at /checkout/src/libstd/sys_common/backtrace.rs:71
2: std::panicking::default_hook::{{closure}}
at /checkout/src/libstd/sys_common/backtrace.rs:60
at /checkout/src/libstd/panicking.rs:380
3: std::panicking::default_hook
at /checkout/src/libstd/panicking.rs:396
4: std::panicking::rust_panic_with_hook
at /checkout/src/libstd/panicking.rs:611
5: std::panicking::begin_panic_new
at /checkout/src/libstd/panicking.rs:553
6: std::panicking::begin_panic_fmt
at /checkout/src/libstd/panicking.rs:521
7: rust_begin_unwind
at /checkout/src/libstd/panicking.rs:497
8: core::panicking::panic_fmt
at /checkout/src/libcore/panicking.rs:92
9: core::panicking::panic_bounds_check
at /checkout/src/libcore/panicking.rs:68
10: parallel::main
11: __rust_maybe_catch_panic
at /checkout/src/libpanic_unwind/lib.rs:98
12: std::rt::lang_start
at /checkout/src/libstd/panicking.rs:458
at /checkout/src/libstd/panic.rs:361
at /checkout/src/libstd/rt.rs:59
13: __libc_start_main
14: _start