PanAeon / transg-tui

Terminal UI for transmission torrent client
MIT License
89 stars 7 forks source link

transg-tui crashes on pressing 'f' #12

Open NHOrus opened 6 months ago

NHOrus commented 6 months ago

OpenSUSE Thumbleweed Transmission-daemon 4.0.5-6.1 commit 07014c38c7

Trying to change filters, transg-tui crashes

Full backtrace:

thread 'main' panicked at src/main.rs:82:14:
unique
stack backtrace:
   0:     0x55b8b59efc97 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h4886110ae7835fd2
   1:     0x55b8b5a29f40 - core::fmt::write::h6fab83f0f5bc0c8f
   2:     0x55b8b59fad3f - std::io::Write::write_fmt::h64824cb874054607
   3:     0x55b8b59efa64 - std::sys_common::backtrace::print::hb8fea9d041077138
   4:     0x55b8b59f076a - std::panicking::default_hook::{{closure}}::hc60f0f690c67943c
   5:     0x55b8b59f0482 - std::panicking::default_hook::h56281bcc5d6e2f17
   6:     0x55b8b59f0c78 - std::panicking::rust_panic_with_hook::hd61e30fe5971d187
   7:     0x55b8b59f0b5a - std::panicking::begin_panic_handler::{{closure}}::h95d2684e28f89fd2
   8:     0x55b8b59efec6 - std::sys_common::backtrace::__rust_end_short_backtrace::h48780d898316fff8
   9:     0x55b8b59f08a4 - rust_begin_unwind
  10:     0x55b8b52fc855 - core::panicking::panic_fmt::hdb89b5c14a056cec
  11:     0x55b8b52fcee3 - core::option::expect_failed::h27bb97517ce6ecdf
  12:     0x55b8b54691d5 - core::option::Option<T>::expect::h092e5e561e603cd3
                               at /home/abuild/rpmbuild/BUILD/rustc-1.77.2-src/library/core/src/option.rs:894:21
  13:     0x55b8b5312d6b - transgression_tui::calculate_folder_keys::{{closure}}::h1664d9544bfc52e0
                               at /home/nho/workshop/transg-tui/src/main.rs:78:22
  14:     0x55b8b547e3e2 - <core::slice::iter::Iter<T> as core::iter::traits::iterator::Iterator>::for_each::ha21f724b3cbd5c05
                               at /home/abuild/rpmbuild/BUILD/rustc-1.77.2-src/library/core/src/slice/iter/macros.rs:254:21
  15:     0x55b8b531d414 - transgression_tui::calculate_folder_keys::h4cfa16593b775663
                               at /home/nho/workshop/transg-tui/src/main.rs:75:5
  16:     0x55b8b5315bd8 - transgression_tui::run_app::h99fe76ee3f186134
                               at /home/nho/workshop/transg-tui/src/main.rs:291:33
  17:     0x55b8b531f6f3 - transgression_tui::main::ha2f98672a46788d5
                               at /home/nho/workshop/transg-tui/src/main.rs:1026:5
  18:     0x55b8b532b5cb - core::ops::function::FnOnce::call_once::ha3aca9ddfaacba17
                               at /home/abuild/rpmbuild/BUILD/rustc-1.77.2-src/library/core/src/ops/function.rs:250:5
  19:     0x55b8b530ddde - std::sys_common::backtrace::__rust_begin_short_backtrace::h85bc2726107e914f
                               at /home/abuild/rpmbuild/BUILD/rustc-1.77.2-src/library/std/src/sys_common/backtrace.rs:155:18
  20:     0x55b8b54c6ae1 - std::rt::lang_start::{{closure}}::hca5d3f7ab4775433
                               at /home/abuild/rpmbuild/BUILD/rustc-1.77.2-src/library/std/src/rt.rs:166:18
  21:     0x55b8b59f07a4 - std::panicking::try::ha86251cf5daa9bea
  22:     0x55b8b5a0d7bb - std::rt::lang_start_internal::ha6a51778162f8d22
  23:     0x55b8b54c6aba - std::rt::lang_start::h9cfa3b34d3165adf
                               at /home/abuild/rpmbuild/BUILD/rustc-1.77.2-src/library/std/src/rt.rs:165:17
  24:     0x55b8b532013e - main
  25:     0x7fd47cc2a1f0 - __libc_start_call_main
  26:     0x7fd47cc2a2b9 - __libc_start_main@GLIBC_2.2.5
  27:     0x55b8b52fcf25 - _start
                               at /home/abuild/rpmbuild/BUILD/glibc-2.39/csu/../sysdeps/x86_64/start.S:115
  28:                0x0 - <unknown>