Skip to content

Segfaults on Fedora 44 #3

Description

@lainlives

Built latest git and latest release

[188124.985172] amdtop[967729]: segfault at 0 ip 000014c320987c6f sp 00007fff11968ae8 error 4 in libc.so.6[14dc6f,14c32083a000+174000] likely on CPU 5 (core 5, socket 0)
[188124.985210] Code: 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa c4 41 01 ef ff 89 f8 09 f0 c1 e0 14 3d 00 00 00 f8 0f 87 25 03 00 00 c5 fe 6f 07 fd 74 0e c5 85 74 d0 c5 ed df c9 c5 fd d7 c9 ff c1 74 5d f3 0f

As far as I can tell ti seems to be sending a null string to libc?
Sending any cli argument that makes it not use ncurses works, eg.

./src/amdtop -s
[
  {
   "device_name": "AMD Radeon RX 9070",
   "gpu_clock": "89MHz",
   "mem_clock": "772MHz",
   "temp": "28C",
   "fan_speed": "33%",
   "power_draw": "38W",
   "gpu_util": "5%",
   "mem_util": "13%"
   "mem_total": "17095983104"
   "mem_used": "2319368192"
   "mem_free": "14776614912"
  }
]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions