target / lorri

Your project's nix-env

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lorri Crash Report

MartinPotier opened this issue · comments

Lorri crashed.

Running on NixOS 20.09pre234194.8d05772134f (Nightingale).

The incriminating shell.nix uses sources from niv if that matters it fails even by stripping out this part.
Running nix-shell works fine.

Here's the crash report file:

name = 'lorri'
operating_system = 'unix:Unknown'
crate_version = '1.1.0'
explanation = '''
Panic occurred in file 'src/build_loop.rs' at line 184
'''
cause = '''
Unrecoverable error:
Io {
    msg: "Error { kind: Io(Os { code: 2, kind: NotFound, message: \"No such file or directory\" }), paths: [] }",
}'''
method = 'Panic'
backtrace = '''

   0: 0x5585b44733e7 - std::sys_common::backtrace::__rust_begin_short_backtrace::hf5c2b909feb00994
   1: 0x5585b451aa96 - std::panicking::try::do_call::he5c83fe2e1b3a210
   2: 0x5585b46c62c7 - __rust_maybe_catch_panic
   3: 0x5585b44f1306 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h5c597f91521da909
   4: 0x5585b46b05df - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::hbbb901353ef4b64c
   5: 0x5585b46a616d - std::sys_common::thread::start_thread::h8dee943d5991507e
   6: 0x5585b46b7516 - std::sys::unix::thread::Thread::new::thread_start::hc9563c2ff113f634
   7: 0x7f6bf5b0aedd - start_thread
   8: 0x7f6bf5a21acf - __clone
   9:        0x0 - <unknown>'''

and another one:

name = 'lorri'
operating_system = 'unix:Unknown'
crate_version = '1.1.0'
explanation = '''
Panic occurred in file 'src/build_loop.rs' at line 184
'''
cause = '''
Unrecoverable error:
Io {
    msg: "Error { kind: Io(Os { code: 2, kind: NotFound, message: \"No such file or directory\" }), paths: [] }",
}'''
method = 'Panic'
backtrace = '''

   0: 0x55b476cd83e7 - std::sys_common::backtrace::__rust_begin_short_backtrace::hf5c2b909feb00994
   1: 0x55b476d7fa96 - std::panicking::try::do_call::he5c83fe2e1b3a210
   2: 0x55b476f2b2c7 - __rust_maybe_catch_panic
   3: 0x55b476d56306 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h5c597f91521da909
   4: 0x55b476f155df - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::hbbb901353ef4b64c
   5: 0x55b476f0b16d - std::sys_common::thread::start_thread::h8dee943d5991507e
   6: 0x55b476f1c516 - std::sys::unix::thread::Thread::new::thread_start::hc9563c2ff113f634
   7: 0x7ff8c0425edd - start_thread
   8: 0x7ff8c033cacf - __clone
   9:        0x0 - <unknown>'''

More from today, after clearing my ~/.cache/lorri and doing a nix-collect-garbage -d:

name = 'lorri'
operating_system = 'unix:Unknown'
crate_version = '1.1.0'
explanation = '''
Panic occurred in file 'src/build_loop.rs' at line 184
'''
cause = '''
Unrecoverable error:
Io {
    msg: "Error { kind: Io(Os { code: 2, kind: NotFound, message: \"No such file or directory\" }), paths: [] }",
}'''
method = 'Panic'
backtrace = '''

   0: 0x564c193283e7 - std::sys_common::backtrace::__rust_begin_short_backtrace::hf5c2b909feb00994
   1: 0x564c193cfa96 - std::panicking::try::do_call::he5c83fe2e1b3a210
   2: 0x564c1957b2c7 - __rust_maybe_catch_panic
   3: 0x564c193a6306 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h5c597f91521da909
   4: 0x564c195655df - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::hbbb901353ef4b64c
   5: 0x564c1955b16d - std::sys_common::thread::start_thread::h8dee943d5991507e
   6: 0x564c1956c516 - std::sys::unix::thread::Thread::new::thread_start::hc9563c2ff113f634
   7: 0x7f07fb5a0edd - start_thread
   8: 0x7f07fb4b7acf - __clone
   9:        0x0 - <unknown>'''

No idea what's that path that is missing…

At the same time I have:

Jul 15 13:37:30 sam lorri[12873]: Jul 15 13:37:30.688 INFO build status, message: BuildEvent(Failure { nix_file: Shell("/home/eeva/relex/isengard/deploy/shell.nix"), failure: Exit { cmd: "\"nix-instantiate\" \"-vv\" \"--add-root\" \"/tmp/.tmpQye81k/result\" \"--indirect\" \"--argstr\" \"runTimeClosure\" \"/nix/store/32rvq8qyyyg8k5i0ain5x3z3110j9vm1-runtime-closure.nix\" \"--argstr\" \"src\" \"/home/eeva/relex/isengard/deploy/shell.nix\" \"--\" \"/home/eeva/.cache/lorri/cas/3a83fbad2f114b4f4f431db2014c985c\"", status: Some(1), logs: [LogLine("unpacking \'http://releases.nixos.org/nixos/20.03/nixos-20.03.1445.95b9c99f6d0/nixexprs.tar.xz\'..."), LogLine("tar (child): xz: Cannot exec: No such file or directory"), LogLine("tar
(child): Error is not recoverable: exiting now"), LogLine("tar: Child returned status 2"), LogLine("tar: Error is not recoverable: exiting now"), LogLine("error: program \'tar\' failed with exit code 2")] } })

Lorri is installed through services.lorri.enable = true

One mone bit of information from journalctl:

Aug 05 13:14:42 sam systemd[1296]: lorri.service: Main process exited, code=exited, status=101/n/a

Basically the same error here.

name = 'lorri'
operating_system = 'unix:Unknown'
crate_version = '1.1.0'
explanation = '''
Panic occurred in file 'src/build_loop.rs' at line 184
'''
cause = '''
Unrecoverable error:
Io {
    msg: "Error { kind: Io(Os { code: 2, kind: NotFound, message: \"No such file or directory\" }), paths: [] }",
}'''
method = 'Panic'
backtrace = '''

   0: 0x5642dc71ede9 - std::sys_common::backtrace::__rust_begin_short_backtrace::h9f0d9a224168c6fa
   1: 0x5642dc7bf2c6 - std::panicking::try::do_call::h471201e4c23bfb52
   2: 0x5642dc982aba - __rust_maybe_catch_panic
   3: 0x5642dc7aed46 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he7d67f266d25d93e
   4: 0x5642dc97689f - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::he9dcb7073be13c65
   5: 0x5642dc9643d0 - std::sys_common::thread::start_thread::h9ce8f903e84fe8e9
   6: 0x5642dc975f16 - std::sys::unix::thread::Thread::new::thread_start::h5e894f0575174d9e
   7: 0x7ff0985dbedd - start_thread
   8: 0x7ff0984f2aaf - __clone
   9:        0x0 - <unknown>'''

Think this was during or after a nix-collect-garbage.

I do collect garbage automatically once a week here. Maybe some path was trashed when it should not have been?