Skip to content
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

Error Option::unwrap() #45

Open
theblackturtle opened this issue Oct 17, 2019 · 3 comments
Open

Error Option::unwrap() #45

theblackturtle opened this issue Oct 17, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@theblackturtle
Copy link

Hi, I got this error with newest source code from github

thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:347:21
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::_print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: std::panicking::rust_panic_with_hook
   5: std::panicking::continue_panic_fmt
   6: rust_begin_unwind
   7: core::panicking::panic_fmt
   8: core::panicking::panic
   9: dirble::output::directory_name
  10: alloc::slice::<impl [T]>::sort_by::{{closure}}
  11: alloc::slice::merge_sort
  12: dirble::output::print_report
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Any', src/libcore/result.rs:999:5
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::_print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: std::panicking::rust_panic_with_hook
   5: std::panicking::continue_panic_fmt
   6: rust_begin_unwind
   7: core::panicking::panic_fmt
   8: core::result::unwrap_failed
   9: dirble::main
  10: std::rt::lang_start::{{closure}}
  11: std::panicking::try::do_call
  12: __rust_maybe_catch_panic
  13: std::rt::lang_start_internal
  14: main
@Isona
Copy link
Owner

Isona commented Oct 21, 2019

HI, thanks for the report and stack trace, I'll investigate why this is happening!

@sciguy16
Copy link
Collaborator

Hey @theblackturtle, what were the options you used that led to the panic?

@theblackturtle
Copy link
Author

@sciguy16 This is my command

RUST_BACKTRACE=full ./dirble/dirble -k -B 404,429,501,502,503,403,500 -u "https://domain.com/" --scan-listable   -a "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36" -w ~/.wordlists/fast_brute.txt --scan-401 -t 100

This is full stack trace

thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:347:21
stack backtrace:
   0:        0x10191c7f3 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::hbc4a87dc97d9c209
   1:        0x101918862 - std::sys_common::backtrace::_print::h411a08c36ea9f4e9
   2:        0x10191b6f6 - std::panicking::default_hook::{{closure}}::hc6f50b761777cef2
   3:        0x10191b49f - std::panicking::default_hook::h871283332e86768d
   4:        0x10191be6f - std::panicking::rust_panic_with_hook::hddd286a9c773fc67
   5:        0x10191b99c - std::panicking::continue_panic_fmt::ha1bbafe7a6df805a
   6:        0x10191b888 - rust_begin_unwind
   7:        0x101931fc1 - core::panicking::panic_fmt::h7c36dce80bd02f4c
   8:        0x101931f06 - core::panicking::panic::h80240fd66f8680f2
   9:        0x101789da7 - dirble::output::directory_name::h83e5769dfd403f88
  10:        0x101789b42 - alloc::slice::<impl [T]>::sort_by::{{closure}}::h266f1f9c1966f934
  11:        0x101788a87 - alloc::slice::merge_sort::hda774f52cc47981f
  12:        0x1017835ee - dirble::output::print_report::hd3056d0dcab90d72
  13:        0x10177c3f5 - std::sys_common::backtrace::__rust_begin_short_backtrace::hd370a642fa456f22
  14:        0x1017941ca - std::panicking::try::do_call::h69b4db096c860c5f
  15:        0x10191e40e - __rust_maybe_catch_panic
  16:        0x101777865 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9aa14cf42d27c531
  17:        0x10190f50d - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h184cdfe19b856bb1
  18:        0x10191dd3d - std::sys::unix::thread::Thread::new::thread_start::he418bbb505b1b1b9
  19:     0x7fff7216c2ea - _pthread_body
  20:     0x7fff7216f248 - _pthread_start
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Any', src/libcore/result.rs:999:5
stack backtrace:
   0:        0x10191c7f3 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::hbc4a87dc97d9c209
   1:        0x101918862 - std::sys_common::backtrace::_print::h411a08c36ea9f4e9
   2:        0x10191b6f6 - std::panicking::default_hook::{{closure}}::hc6f50b761777cef2
   3:        0x10191b49f - std::panicking::default_hook::h871283332e86768d
   4:        0x10191be6f - std::panicking::rust_panic_with_hook::hddd286a9c773fc67
   5:        0x10191b99c - std::panicking::continue_panic_fmt::ha1bbafe7a6df805a
   6:        0x10191b888 - rust_begin_unwind
   7:        0x101931fc1 - core::panicking::panic_fmt::h7c36dce80bd02f4c
   8:        0x1017752c9 - core::result::unwrap_failed::h697fea3fcfe1be9b
   9:        0x1017ab4a4 - dirble::main::hc248424c2e6cb498
  10:        0x10177cee5 - std::rt::lang_start::{{closure}}::h29051f526c700680
  11:        0x10191b807 - std::panicking::try::do_call::h8037d9f03e27d896
  12:        0x10191e40e - __rust_maybe_catch_panic
  13:        0x10191c2ed - std::rt::lang_start_internal::hc8e69e673740d4ae
  14:        0x1017ac298 - main

@Isona Isona added the bug Something isn't working label Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants