Closed danpawlik closed 8 months ago
Below is my crash report:
sudo ~/Downloads/netscanner
Crash log:
"name" = "netscanner" "operating_system" = "Fedora 39 [64-bit]" "crate_version" = "0.4.0" "explanation" = """ Panic occurred in file 'src/components/interfaces.rs' at line 103 """ "cause" = "called `Option::unwrap()` on a `None` value" "method" = "Panic" "backtrace" = """ 0: 0x56190b1ea4b3 - core::panicking::panic::h440670b29ba8362f at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/panicking.rs:127 1: 0x56190b2081b3 - <netscanner::components::interfaces::Interfaces as netscanner::components::Component>::draw::h32621caf5a53f1ee 2: 0x56190b250c00 - ratatui::terminal::terminal::Terminal<B>::draw::h650d2144a5af5fcb 3: 0x56190b20970b - netscanner::main::{{closure}}::h5acebd5a6cd5d9d3 4: 0x56190b204b00 - tokio::runtime::park::CachedParkThread::block_on::he6c4bb0bc21a77ef 5: 0x56190b21fa9b - netscanner::main::h69541435ed21a235 6: 0x56190b256863 - std::sys_common::backtrace::__rust_begin_short_backtrace::hb4fdf2fc9a9db1de 7: 0x56190b2762cd - std::rt::lang_start::{{closure}}::h07850530fabf2c34 8: 0x56190b59d2bb - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h14c5f6d1cd70a60f at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/ops/function.rs:284 - std::panicking::try::do_call::h2d02374ca451446a at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panicking.rs:504 - std::panicking::try::h9f7922394bf57392 at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panicking.rs:468 - std::panic::catch_unwind::ha1600f9dd4ee7270 at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panic.rs:142 - std::rt::lang_start_internal::{{closure}}::hfbd80e7d681b21a1 at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/rt.rs:148 - std::panicking::try::do_call::heacaa33dbdaa16e0 at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panicking.rs:504 - std::panicking::try::h637875f7c9db85ea at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panicking.rs:468 - std::panic::catch_unwind::h4caa9c0c78cb4c19 at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panic.rs:142 - std::rt::lang_start_internal::h2d6a60ec944b523d at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/rt.rs:148 9: 0x56190b220a25 - main 10: 0x7f021f1f414a - __libc_start_call_main 11: 0x7f021f1f420b - __libc_start_main_impl 12: 0x56190b1eabf5 - _start 13: 0x0 - <unresolved>"""
Duplicate of #9 :)
Fixed here: https://github.com/Chleba/netscanner/commit/9fd28fecfbd1fc7358a6fa6fb2776f9e85861101
Below is my crash report:
Crash log: