aristocratos / btop

A monitor of resources
Apache License 2.0
21.34k stars 654 forks source link

free memory maybe wrong~ #847

Closed githubcheng2978 closed 6 months ago

githubcheng2978 commented 6 months ago

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

[A clear and concise description of what the bug is.]

To Reproduce

[Steps to reproduce the behavior:]

Expected behavior

[A clear and concise description of what you expected to happen.]

Screenshots

image

[If applicable, add screenshots to help explain your problem.]

Info (please complete the following information):

Additional context

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

Note: The snap uses: ~/snap/btop/current/.config/btop

(try running btop with --debug flag if btop.log is empty)

GDB Backtrace

If btop++ is crashing at start the following steps could be helpful:

(Extra helpful if compiled with make OPTFLAGS="-O0 -g")

  1. run (linux): gdb btop (macos): lldb btop

  2. r to run, wait for crash and press enter if prompted, CTRL+L to clear screen if needed.

  3. (gdb): thread apply all bt (lldb): bt all to get backtrace for all threads

  4. Copy and paste the backtrace here:

aristocratos commented 6 months ago

@githubcheng2978 Probably not since the free value is provided by your kernel. Regardless, there's nothing to investigate here since you provided zero information.