#1053338 nvtop: core dump when it doesn't have wayland or X11 access

Package:
nvtop
Source:
nvtop
Description:
Neat Videocard TOP
Submitter:
Russell Coker
Date:
2023-10-02 05:51:03 UTC
Severity:
normal
#1053338#5
Date:
2023-10-02 05:47:05 UTC
From:
To:
nvtop: ./src/extract_gpuinfo_amdgpu.c:964: parse_drm_fdinfo_amd: Assertion `!cache_entry_check && "We should not be processing a client id twice per update"' failed.
                                                                 Aborted (core dumped)

I get the above when I run it as root after sshing to a system.  It's not
necessarily a bug to be unable to operate without Wayland/X11 access but
a core dump is a bug.

I expect an error message and an orderly shutdown.