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

Crash and burn while compiling zellij, and running rust analyzer #1108

Closed
Tracked by #1100
casonadams opened this issue Feb 24, 2022 · 1 comment
Closed
Tracked by #1100

Crash and burn while compiling zellij, and running rust analyzer #1108

casonadams opened this issue Feb 24, 2022 · 1 comment

Comments

@casonadams
Copy link
Contributor

Error: thread 'router' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Error { kind: UnexpectedEof, message: "failed to fill whole buffer" })': /Users/me/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/zellij-utils-0.25.0/src/ipc.rs:168
   0: backtrace::capture::Backtrace::resolve::{{closure}}
   1: backtrace::symbolize::gimli::macho::Object::parse
   2: zellij::commands::start_client
   3: signal_hook_registry::handler
   4: core::str::<impl str>::contains
   5: core::str::<impl str>::contains
   6: core::str::<impl str>::contains
   7: hashbrown::raw::inner::RawTable<T,A>::reserve_rehash
   8: hashbrown::raw::inner::RawTable<T,A>::reserve_rehash
   9: <&mut W as core::fmt::Write>::write_fmt
  10: <std::io::Write::write_fmt::Adapter<T> as core::fmt::Write>::write_str
  11: zellij_utils::input::actions::_::<impl serde::ser::Serialize for zellij_utils::input::actions::Action>::serialize
  12: std::sys::unix::time::Timespec::sub_timespec
  13: __pthread_start

Not sure if this is reproducible

But I was compiling zellij, and opened neovim in another pane (which starts up rust-analyzer)

@raphCode
Copy link
Contributor

Crash location:

pub fn recv(&mut self) -> (T, ErrorContext) {
bincode::deserialize_from(&mut self.receiver).unwrap()
}

This might be solved by #1351, so we can close this

@a-kenji a-kenji closed this as completed Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants