v8.0.32 Crashes Immediately After Unlocking for the first time

WARN  2021-03-31T22:20:58.772 op_executor:invocation_loop [1P:foundation/op-linux/src/kernel_keyring.rs:675] failed to initalize keyring helper, its functionality will be unavailable: KeyringError(Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" })
INFO  2021-03-31T22:21:01.162 tokio-runtime-worker [1P:op-data-layer/src/load.rs:168] loaded 559 items in 5 vaults for account: <redacted>
ERROR 2021-03-31T22:21:01.165 op_executor:invocation_loop [1P:op-auto-lock/src/linux.rs:108] failed to start dbus lock service LockListenerSetup
INFO  2021-03-31T22:21:01.167 op_executor:invocation_loop [1P:op-app/src/app/backend/unlock.rs:76] Lock state changed: Unlocked
ERROR 2021-03-31T22:21:01.184 tokio-runtime-worker [1P:foundation/op-executor/src/lib.rs:102] thread 'tokio-runtime-worker' panicked at '<redacted>': foundation/op-linux/src/kernel_keyring.rs:97
   0: op_executor::SenderBuilder<Request>::build::{{closure}}::{{closure}}
   1: std::panicking::rust_panic_with_hook
             at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/panicking.rs:595:17
   2: std::panicking::begin_panic_handler::{{closure}}
   3: std::sys_common::backtrace::__rust_end_short_backtrace
             at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/sys_common/backtrace.rs:141:18
   4: rust_begin_unwind
             at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/panicking.rs:493:5
   5: core::panicking::panic_fmt
             at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/core/src/panicking.rs:92:14
   6: core::option::expect_none_failed
             at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/core/src/option.rs:1300:5
   7: <op_linux::kernel_keyring::AppKeyManager as op_linux::kernel_keyring::KeyManager>::add_key
   8: op_linux::kernel_keyring::KernelKeyring::add_key_if_needed
   9: op_linux::kernel_keyring::KernelKeyring::add_key
  10: op_enclave::linux::EnclaveProvider::protect
  11: op_enclave::MemoryEnclave::add_secret
  12: op_system_auth::setup_unlock
  13: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  14: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  15: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut
  16: tokio::runtime::task::harness::Harness<T,S>::poll
  17: std::thread::local::LocalKey<T>::with
  18: tokio::runtime::thread_pool::worker::Context::run_task
  19: tokio::runtime::thread_pool::worker::Context::run
  20: tokio::runtime::thread_pool::worker::run
  21: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut
  22: tokio::runtime::task::harness::Harness<T,S>::poll
  23: tokio::runtime::blocking::pool::Inner::run
  24: tokio::runtime::context::enter
  25: std::sys_common::backtrace::__rust_begin_short_backtrace
  26: core::ops::function::FnOnce::call_once{{vtable.shim}}
  27: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/alloc/src/boxed.rs:1521:9
      <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/alloc/src/boxed.rs:1521:9
      std::sys::unix::thread::Thread::new::thread_start
             at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/sys/unix/thread.rs:71:17
  28: start_thread
  29: __clone

thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', foundation/op-linux/src/kernel_keyring.rs:97:30
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    16164 abort (core dumped)  1password

Happened after Snap automatically updated to the latest version. Right now, I just downgraded, and now it's working fine. If you need anymore debug information, I'm happy to help.

System Information

OS: Ubuntu 20.04.2 LTS x86_64
Kernel: 5.4.0-70-generic
Shell: zsh 5.8
Resolution: 1080x1920, 1920x1080, 1920x1080
DE: Xfce
WM: Xfwm4
CPU: AMD Ryzen 7 3700X (16) @ 3.600GHz
GPU: NVIDIA GeForce RTX 2060
Memory: 4343MiB / 32105MiB


1Password Version: 8.0.32
Extension Version: Not Provided
OS Version: XUbuntu 20.04, X11
Sync Type: Not Provided

Comments

  • MikeTMikeT Agile Samurai

    Team Member
    edited April 2

    Hi @ms7m,

    Thanks for taking the time to report this.

    We are investigating this right now, we think this may be related to the system authentication support and your system's keyring support.

    If you do want to update, turn off the system auth support first in your 1Password's security settings before you update and it should work. Do not yet turn it on as it'll likely to crash on the next lock.

    We'll follow up as soon as we have something for you.

    ref: dev/core/core#6426

  • MikeTMikeT Agile Samurai

    Team Member

    Just an update; it looks like this is limited to the Snap package, I was able to reproduce the crash there but I cannot reproduce it with our deb package.

  • Thanks, I reverted and disabled the System Auth & upgraded -- works perfectly now.

  • MikeTMikeT Agile Samurai

    Team Member

    Great, thanks for letting us know. Hopefully, we'll have a quick fix for the snap issue.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file