nix-community / lorri

Your project’s nix-env [maintainer=@Profpatsch,@nyarly]
Apache License 2.0
677 stars 24 forks source link

lorri Crash Report #66

Closed kini closed 2 months ago

kini commented 3 years ago

Describe the bug lorri crashes Expected behavior lorri shouldn't crash Metadata Crash report:

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

   0: 0x55ae8a5c4f45 - lorri::build_loop::BuildLoop::forever::hcba64bd4ec922393
   1: 0x55ae8a5b4e3e - std::sys_common::backtrace::__rust_begin_short_backtrace::hcf037eb00e4964f8
   2: 0x55ae8a593c67 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb3c0d051b140d2fb
   3: 0x55ae8a76a478 - std::sys::unix::thread::Thread::new::thread_start::hdde054d00d895e54
   4: 0x7f7465abde9e - start_thread
   5: 0x7f74658a749f - clone
   6:        0x0 - <unknown>'''
$ lorri info --shell-file shell.nix 
lorri version: 1.5
GC roots exist, shell_gc_root: /home/kkini/.cache/lorri/gc_roots/fe36ef5c0d5081f80122cddee0c00604/gc_root/shell_gc_root
$ uname -a
Linux kkini 5.10.57 #1-NixOS SMP Sun Aug 8 07:05:24 UTC 2021 x86_64 GNU/Linux

Additional context

avh4 commented 2 years ago

I got what seems to be the same error:

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

   0: 0x557d96500f6e - lorri::build_loop::BuildLoop::forever::h141c35d125348c31
   1: 0x557d964a7634 - std::sys_common::backtrace::__rust_begin_short_backtrace::had8196068469800b
   2: 0x557d964b3207 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2947e9e3b260180e
   3: 0x557d96690483 - std::sys::unix::thread::Thread::new::thread_start::h2297df0693af50b8
   4: 0x7f5426a1cd40 - start_thread
   5: 0x7f54267f403f - __GI___clone
   6:        0x0 - <unknown>'''
$ lorri info --shell-file shell.nix 
lorri version: 1.5
GC roots exist, shell_gc_root: /home/user/.cache/lorri/gc_roots/96cf60f25c1bca4f0bab7e20322abdeb/gc_root/shell_gc_root
$ uname -a
Linux host 5.15.0-41-generic #44-Ubuntu SMP Wed Jun 22 14:20:53 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
nyarly commented 2 months ago

The current version of Lorri in now 1.7.0, which is in nixpkgs as of NixOS 24.05. Thank you for your patience!