-
Notifications
You must be signed in to change notification settings - Fork 69
lorri crash report #298
Comments
Didn’t we merge an update to human-panic @curiousleo?
Hm, now I wonder if that’s a slog bug |
This turned out to be a slog bug with emacs shell (it works fine in (x)st) -- still trying to narrow it down $ RUST_LOG=lorri=debug RUST_BACKTRACE=1 lorri info
thread '<unnamed>' panicked at 'slog::Fuse Drain: Custom { kind: Other, error: "term error: operation not supported by the terminal" }', /build/lorri-unstable-2020-01-09-vendor/slog/src/lib.rs:1914:33
stack backtrace:
0: std::sys_common::backtrace::print
1: std::panicking::default_hook::{{closure}}
2: std::panicking::default_hook
3: std::panicking::rust_panic_with_hook
4: std::panicking::continue_panic_fmt
5: std::panicking::begin_panic_fmt
6: <slog::Fuse<D> as slog::Drain>::log::{{closure}}
7: <slog::Fuse<D> as slog::Drain>::log
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. $ RUST_LOG=lorri=debug RUST_BACKTRACE=full lorri info
thread '<unnamed>' panicked at 'slog::Fuse Drain: Custom { kind: Other, error: "term error: operation not supported by the terminal" }', /build/lorri-unstable-2020-01-09-vendor/slog/src/lib.rs:1914:33
stack backtrace:
0: 0x55f5ffde4d21 - std::sys_common::backtrace::print::h9deaddc907acff3e
1: 0x55f5ffdce724 - std::panicking::default_hook::{{closure}}::h8b714f014f696a51
2: 0x55f5ffdce4b3 - std::panicking::default_hook::h7a76a2461fbf555a
3: 0x55f5ffdcee20 - std::panicking::rust_panic_with_hook::hb8c1e17e7c78fa8a
4: 0x55f5ffdce9b2 - std::panicking::continue_panic_fmt::h7ca51f480ac1cd64
5: 0x55f5ffdce8ff - std::panicking::begin_panic_fmt::hfeb9b2aee2603dd8
6: 0x55f5ffbd375e - <slog::Fuse<D> as slog::Drain>::log::{{closure}}::h915b9b102b7060af
7: 0x55f5ffbd3634 - <slog::Fuse<D> as slog::Drain>::log::h87b634dab006edd5
8: 0x55f5ffc14569 - std::sys_common::backtrace::__rust_begin_short_backtrace::hcc66c361ca5c238e
9: 0x55f5ffc05bc0 - std::panicking::try::do_call::h989927a1fe4b3bfe
10: 0x55f5ffde933a - __rust_maybe_catch_panic
11: 0x55f5ffc18ee7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h3384739bdd628bac
12: 0x55f5ffdc9ebf - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h3e052558cbe55fd8
13: 0x55f5ffdcf7b0 - std::sys::unix::thread::Thread::new::thread_start::h5262a6ff4b26522f
14: 0x7fa15e15eef7 - start_thread
15: 0x7fa15de7e22f - __GI___clone
16: 0x0 - <unknown> not a lorri bug, this can be closed.. just want to find the source still (I'm not very rust ecosystem savvy) |
I’ll leave it to @curiousleo |
Somewhere in the pipeline there's a term capability check that's not happening I guess? emacs has note to self: been looking around at: tl;dr -- it appears the slog-term drain uses the term library to get it's capabilities, but for some reason is not being 'dumb' enough in this case |
@Profpatsch wrote:
We did, but haven't released since: https://github.com/target/lorri/compare/unstable-2020-01-09..master#diff-80398c5faae3c069e4e6aa2ed11b28c0 |
@neeasade wrote:
Nice digging! It looks to me too like this is a bug in |
tl;dr this issue can be closed/I'll poke at upstream another time probably Thank you -- well, I've been using emacs
Not a dealbreaker, I think this is just the universe telling me to try out [1] finally. I'll still use lorri, but would love if this could be resolved on slog/terms end -- that might be digging for another weekend though. |
Describe the bug
Crash when running
lorri daemon
with the install from the current nix-definition on nixpkgs master https://github.com/NixOS/nixpkgs/blob/fe414f371fec215e8a2f0a674883bd68e6d5d371/pkgs/tools/misc/lorri/default.nixedit: I have not enabled the lorri service in my nixos config/wanted to try on my own first
To Reproduce
Steps to reproduce the behavior:
Run
lorri daemon
on nixos 19.09Expected behavior
n/a
Metadata
Additional context
The text was updated successfully, but these errors were encountered: