btop icon indicating copy to clipboard operation
btop copied to clipboard

[BUG] Instant Crash in NixOS

Open Dandandooo opened this issue 10 months ago • 5 comments

Read the README.md and search for similar issues before posting a bug report!

Any bug that can be solved by just reading the prerequisites section of the README will likely be ignored.

Describe the bug

btop renders the borders around the panes for a frame, then it instantly crashes saying the following: ERROR: Exception in runner thread -> Cpu:: -> key not found

To Reproduce

Either:

  1. Add btop to nixos system packages & rebuild
  2. call btop or
  3. use nix-shell -p btop
  4. call btop

Expected behavior

btop should start rendering.

Info (please complete the following information):

  • btop++ version: 1.2.13
  • Binary: release
  • Architecture: x86_64
  • Platform: Linux
  • (Linux) Kernel: 6.1.82
  • (OSX/FreeBSD) Os release version:
  • Terminal used: Kitty
  • Font used: CaskaydiaCove Nerd Font

Additional context

Contents of ~/.config/btop/btop.log

2024/04/12 (19:53:33) | ===> btop++ v.1.2.13
2024/04/12 (19:53:33) | DEBUG: Starting in DEBUG mode!
2024/04/12 (19:53:33) | INFO: Logger set to DEBUG
2024/04/12 (19:53:33) | DEBUG: Using locale en_US.UTF-8
2024/04/12 (19:53:33) | INFO: Running on /dev/pts/1
2024/04/12 (19:53:33) | ERROR: Exception in runner thread -> Cpu:: -> key not found
2024/04/12 (19:53:33) | INFO: Quitting! Runtime: 00:00:00

GDB Backtrace

I don't have gdb :(

Dandandooo avatar Apr 13 '24 01:04 Dandandooo

Please upgrade to v1.3.2, then confirm that this doesn't happen on another CPU.

imwints avatar Apr 14 '24 18:04 imwints

Oh. I'm on nixos and have it installed with my system configuration. How do I update it?

Dandandooo avatar Apr 15 '24 01:04 Dandandooo

I don't know, I don't run nix os. But you can google it.

imwints avatar Apr 15 '24 08:04 imwints

Oh. I'm on nixos and have it installed with my system configuration. How do I update it?

@Dandandooo If you would like help with this, feel free to join the NixOS Matrix and ask there or reach out to me on Matrix directly.

ChanceHarrison avatar Apr 15 '24 15:04 ChanceHarrison