lorri icon indicating copy to clipboard operation
lorri copied to clipboard

Error report from crash

Open tfc opened this issue 4 years ago • 2 comments

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

tfc avatar Jan 15 '20 11:01 tfc