vhakulinen / gnvim

GUI for neovim, without any web bloat
MIT License
1.84k stars 69 forks source link

crash upon denite.nvim :Denite file/rec #177

Closed Char-Aznable closed 1 year ago

Char-Aznable commented 3 years ago

Hi, I got the following error when attempted opening a file in the file list using the neovim plugin denite.nvim's command :Denite file/rec. This command allows a fuzzy search of a target file in the current directory and subdirectory and open it in neovim. It works fine with the neovim terminal but fails with gnvim version v0.1.6-63-gd818356. The trace back looks like:

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/ui/state.rs:142:49
stack backtrace:
   0:     0x56123223891c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1438634e64f67726
   1:     0x56123226f2af - core::fmt::write::h8c5fdbee997e8d3a
   2:     0x561232238656 - std::io::Write::write_fmt::h4d7cc60fafcc667f
   3:     0x56123224c9e5 - std::panicking::default_hook::{{closure}}::h47a9a8404af89188
   4:     0x56123224c5b3 - std::panicking::default_hook::h60413b296d03baa6
   5:     0x56123224d015 - std::panicking::rust_panic_with_hook::hd74a72f65dda50c3
   6:     0x561232239107 - std::panicking::begin_panic_handler::{{closure}}::h3db69b6581541860
   7:     0x561232238a5c - std::sys_common::backtrace::__rust_end_short_backtrace::h415d9243fa968b8a
   8:     0x56123224cbc2 - rust_begin_unwind
   9:     0x56123226edf1 - core::panicking::panic_fmt::h4a5de8d1356ae93a
  10:     0x56123226ed3d - core::panicking::panic::hab02fe49a184e320
  11:     0x56123206464d - gnvim::ui::state::UIState::handle_redraw_event::ha354e89d9611d546
  12:     0x56123205b4a0 - gnvim::ui::state::UIState::handle_notify::h8dd5d233e98cbb9f
  13:     0x561231fe8ac2 - glib::main_context_channel::dispatch::hca694de6fcd7e937
  14:     0x7f29c8220537 - g_main_context_dispatch
  15:     0x7f29c8220770 - <unknown>
  16:     0x7f29c82207fc - g_main_context_iteration
  17:     0x7f29c9d51f3d - g_application_run
  18:     0x561232027e9e - <O as gio::application::ApplicationExtManual>::run::h055370c9e9b44597
  19:     0x561231fe220b - gnvim::main::h037c982693b4a4d9
  20:     0x561232067213 - std::sys_common::backtrace::__rust_begin_short_backtrace::h8753addddc84948b
  21:     0x561232067229 - std::rt::lang_start::{{closure}}::h00cdf6bff6727e1f
  22:     0x56123224d31a - std::rt::lang_start_internal::h9f2ef2b315594eed
  23:     0x561231fe26d2 - main
  24:     0x7f29c7223bf7 - __libc_start_main
  25:     0x561231fd07ba - _start
  26:                0x0 - <unknown>
vhakulinen commented 1 year ago

Gnvim was rewritten from ground up for gtk4. If the problem persists, feel free to reopen this issue.