Skip to content
This repository was archived by the owner on Oct 15, 2022. It is now read-only.

Error report from crash #283

Open
tfc opened this issue Jan 15, 2020 · 2 comments
Open

Error report from crash #283

tfc opened this issue Jan 15, 2020 · 2 comments

Comments

@tfc
Copy link

tfc commented Jan 15, 2020

Describe the bug

I use home-manager's lorri systemd user unit module support.
After a longer build run (haskell.nix stuff) i looked into journalctl --user-unit lorri.service contained the following message:

Jan 15 10:51:54 jongepad lorri[8687]: Jan 15 10:51:54.018 INFO build status, message: Started(FilesChanged(["/home/tfc/foooo/nix/haskellPackages.nix"])), lorri_version>
Jan 15 12:10:48 jongepad lorri[8687]: Well, this is embarrassing.
Jan 15 12:10:48 jongepad lorri[8687]: lorri had a problem and crashed. To help us diagnose the problem you can send us a crash report.
Jan 15 12:10:48 jongepad lorri[8687]: We have generated a report file at "/tmp/report-08c1e98f-e18b-44b3-89f7-8413fff9e42d.toml". Submit an issue or email with the subject >
Jan 15 12:10:48 jongepad lorri[8687]: - Homepage: https://github.com/target/lorri
Jan 15 12:10:48 jongepad lorri[8687]: - Authors: Graham Christensen <[email protected]>
Jan 15 12:10:48 jongepad lorri[8687]: We take privacy seriously, and do not perform any automated error collection. In order to improve the software, we rely on people to s>
Jan 15 12:10:48 jongepad lorri[8687]: Thank you kindly!

The crash report file contains the following:

name = 'lorri'
operating_system = 'unix:Unknown'
crate_version = '0.1.0'
explanation = '''
Panic occurred in file 'src/build_loop.rs' at line 107
'''
cause = 'Error cause could not be determined by the application.'
method = 'Panic'
backtrace = '''

   0: 0x5640de560c69 - std::panicking::try::do_call::hcd52029b548e4f26
   1: 0x5640de74433a - __rust_maybe_catch_panic
   2: 0x5640de5741f6 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h5736f33fafd0112b
   3: 0x5640de724ebf - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h3e052558cbe55fd8
   4: 0x5640de72a7b0 - std::sys::unix::thread::Thread::new::thread_start::h5262a6ff4b26522f
   5: 0x7f37bd01aef7 - start_thread
   6: 0x7f37bcd3a22f - __GI___clone
   7:        0x0 - <unknown>'''

To Reproduce

Steps to reproduce the behavior:

I don't know.

Expected behavior

No crash, no err log

Metadata

This is lorri from the current 19.09 NixOS channel.

$ lorri info
lorri version: 1
Lorri Project Configuration

expression: shell.nix
$ uname -a
Linux jongepad 4.19.94 #1-NixOS SMP Thu Jan 9 09:19:10 UTC 2020 x86_64 GNU/Linux
@curiousleo
Copy link
Collaborator

Panic occurred in file 'src/build_loop.rs' at line 107

panic!("Unrecoverable error:\n{:#?}", err);

It is odd that the error message itself ("Unrecoverable error:" followed by the underlying error) is missing. We've seen human_panic swallow error messages before: #216.

Figuring out what's going on is going to be tricky without knowledge of the underlying error ...

@Profpatsch
Copy link
Collaborator

@tfc if you update nixpkgs, home-manager and lorri to recent versions, does the issue still appear?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants