Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when some files are changed in background #93

Open
labanskoller opened this issue Dec 28, 2019 · 0 comments
Open

Crash when some files are changed in background #93

labanskoller opened this issue Dec 28, 2019 · 0 comments
Labels

Comments

@labanskoller
Copy link

In a git repository one can get the idea to run commands like git pull while ripasso is running in another window. Ripasso crashed when some files are changed, at least ~/.password-store/.gpg-id:

This is with RUST_BACKTRACE=full:

 F1: Menu | thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:378:21
                                                                                                                      stack backtrace:
                                                                                                                                         0:     0x56bf8ae72094 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h21df7fccdb57b44f
                                                                                                                                                                                                                                                                        1:     0x56bf8ae8f9ac - core::fmt::write::h010d75fa5e451299
         2:     0x56bf8ae6efc7 - std::io::Write::write_fmt::hfd51645996ee5398
                                                                                3:     0x56bf8ae745f5 - std::panicking::default_hook::{{closure}}::hb809d0d710995dff
                                                                                                                                                                       4:     0x56bf8ae742ec - std::panicking::default_hook::he5b7ffa714aea971
                                                                                                                                                                                                                                                 5:     0x56bf8ae74cf8 - std::panicking::rust_panic_with_hook::h116cd9f63f557148
      6:     0x56bf8ae74892 - std::panicking::continue_panic_fmt::h1b93c6fa3efb05c9
                                                                                      7:     0x56bf8ae74786 - rust_begin_unwind
                                                                                                                                  8:     0x56bf8ae8c33a - core::panicking::panic_fmt::h360ac03275437f5f
                                                                                                                                                                                                          9:     0x56bf8ae8c279 - core::panicking::panic::h0823515b13f94b6d
                                                                                                                                                                                                                                                                             10:     0x56bf8ac6e2b7 - ripasso::pass::watch::{{closure}}::hc8e1defe35cd3f7f
                               11:     0x56bf8ac6ba87 - std::sys_common::backtrace::__rust_begin_short_backtrace::h237a62c206c293ff
                                                                                                                                     12:     0x56bf8ac706e7 - std::panicking::try::do_call::hb19f0875e416ab7a
                                                                                                                                                                                                               13:     0x56bf8ae77eba - __rust_maybe_catch_panic
                                                                                                                                                                                                                                                                  14:     0x56bf8ac6f06e - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb206effeefd48088
                                        15:     0x56bf8ae681df - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h312b7270bc5b4f19
                                                                                                                                                         16:     0x56bf8ae772a0 - std::sys::unix::thread::Thread::new::thread_start::h564a93b37085b224
                                                                                                                                                                                                                                                        17:     0x7da4021f34c0 - start_thread
                                                                                                                                                                                                                                                                                               18:     0x7da401d01163 - clone
                                                                                                                                                                                                                                                                                                                              19:                0x0 - <unknown>

Version:

[user@ripasso .password-store]$ dnf list installed ripasso
Installed Packages
ripasso.x86_64                                                                              0.3.0-2.fc30                                                                               @copr:copr.fedorainfracloud.org:atim:ripasso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

2 participants