Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Input validation: panic with parallel --shell #58

Open
mqudsi opened this issue Oct 14, 2017 · 0 comments
Open

Input validation: panic with parallel --shell #58

mqudsi opened this issue Oct 14, 2017 · 0 comments
Milestone

Comments

@mqudsi
Copy link

mqudsi commented Oct 14, 2017

mqudsi@ZBook /m/c/U/M/Downloads> parallel --shell
thread 'main' panicked at 'byte index 9 is out of bounds of `--shell`', /checkout/src/libcore/str/mod.rs:2171:8
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::str::slice_error_fail
             at /checkout/src/libcore/str/mod.rs:2171
  10: parallel::arguments::Args::parse
  11: parallel::main
  12: __rust_maybe_catch_panic
             at /checkout/src/libpanic_unwind/lib.rs:98
  13: 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
  14: __libc_start_main
  15: _start
@mqudsi mqudsi changed the title panic with parallel --shell Input validation: panic with parallel --shell Oct 14, 2017
@mmstick mmstick added this to the 0.12 Rewrite milestone Dec 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants