Skip to content

F2 Setup holding UP arrow to loop → crash: unordered_map::at: key not found (macOS 1.4.6) #1607

@noteare666

Description

@noteare666

Steps to reproduce

  1. Install btop 1.4.6 on macOS
  2. Execute btop in terminal
  3. Press F2 to open the Setup menu
  4. Hold the UP arrow key continuously after scrolling to the top of the list (trigger loop scrolling)
  5. btop crashes immediately

Error message

ERROR: Exception in main loop -> unordered_map::at: key not found

Environment

  • btop version: 1.4.6
  • Compiled with: clang++ (17.0.0)
  • OS: macOS
  • Shell: zsh

Note

This issue is not identical to #1531.
Issue #1531 happens on Arch Linux and is related to General Settings configuration.
This is a new index out-of-bounds bug caused by infinite upward scrolling in the F2 Setup menu.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions