forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] solana completion -s zsh
panics
#2929
Labels
Comments
Same issue:
panic: RUST_BACKTRACE=full solana completion -s zsh
thread 'main' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap-2.33.3/src/completions/zsh.rs:407:29:
Fatal internal error. Please consider filing a bug report at https://github.com/clap-rs/clap/issues
stack backtrace:
0: 0x563c1c081552 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hffecb437d922f988
1: 0x563c1c0adacc - core::fmt::write::hd9a8d7d029f9ea1a
2: 0x563c1c07d83f - std::io::Write::write_fmt::h0e1226b2b8d973fe
3: 0x563c1c081324 - std::sys_common::backtrace::print::he907f6ad7eee41cb
4: 0x563c1c082adb - std::panicking::default_hook::{{closure}}::h3926193b61c9ca9b
5: 0x563c1c082833 - std::panicking::default_hook::h25ba2457dea68e65
6: 0x563c1c082f7d - std::panicking::rust_panic_with_hook::h0ad14d90dcf5224f
7: 0x563c1c082e52 - std::panicking::begin_panic_handler::{{closure}}::h4a1838a06f542647
8: 0x563c1c081a26 - std::sys_common::backtrace::__rust_end_short_backtrace::h77cc4dc3567ca904
9: 0x563c1c082b84 - rust_begin_unwind
10: 0x563c1affd0e5 - core::panicking::panic_fmt::h940d4fd01a4b4fd1
11: 0x563c1c0ab1f1 - core::panicking::panic_display::h277de99b44f66bbb
12: 0x563c1affd0ab - core::option::expect_failed::h9d76e63e47b0f089
13: 0x563c1c034c21 - clap::completions::zsh::get_args_of::hf015ff051e07ec86
14: 0x563c1c0320b0 - clap::completions::zsh::get_subcommands_of::hba25697d052fe841
15: 0x563c1c03216b - clap::completions::zsh::get_subcommands_of::hba25697d052fe841
16: 0x563c1b23f5a5 - clap::completions::zsh::ZshGen::generate_to::h5ce40e80af3a0a1e
17: 0x563c1b267daf - clap::completions::ComplGen::generate::h77533846a0dd236b
18: 0x563c1b287259 - clap::app::App::gen_completions_to::hf02ea9e74713f7f1
19: 0x563c1b031688 - solana_cli::cli::parse_command::h1344c42351432637
20: 0x563c1b0009cd - solana::main::hdb35502702f11689
21: 0x563c1b00adc3 - std::sys_common::backtrace::__rust_begin_short_backtrace::hcbfdddd7b88ba82a
22: 0x563c1b00c229 - std::rt::lang_start::{{closure}}::h0c670a28f33109bc
23: 0x563c1c074ff3 - std::rt::lang_start_internal::h103c42a9c4e95084
24: 0x563c1b002fc5 - main
25: 0x7eff69270d90 - <unknown>
26: 0x7eff69270e40 - __libc_start_main
27: 0x563c1affd795 - _start
28: 0x0 - <unknown> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Porting from solana-labs#35175
Root cause seems to be a clap v2 issue that was fixed in 2020 - clap-rs/clap#2191
Proposed Solution
Further investigation is needed to determine how this can be patched in Agave whilst remaining on clap v2.33.1
The text was updated successfully, but these errors were encountered: