Bug 330839 - ksysguard can display the wrong process name, etc.
Summary: ksysguard can display the wrong process name, etc.
Status: RESOLVED WORKSFORME
Alias: None
Product: ksysguard
Classification: Unmaintained
Component: ksysguard (other bugs)
Version First Reported In: 4.11.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-06 07:14 UTC by kdebugs
Modified: 2023-02-03 05:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot (104.01 KB, image/png)
2014-02-06 07:15 UTC, kdebugs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kdebugs 2014-02-06 07:14:00 UTC
After starting qemu, I noticed that System Monitor was calling the process bash instead.  (See screenshot and compare PID to that displayed by top running in the other window.)

Reproducible: Couldn't Reproduce




After closing ksysguard and reopening it, it displayed correctly.
Comment 1 kdebugs 2014-02-06 07:15:02 UTC
Created attachment 85019 [details]
screenshot
Comment 2 Steven Stewart-Gallus 2014-03-30 20:25:34 UTC
I think I have a similar problem. When one uses the fexecve library call (which is emulated by GLibc by execveing a file in /proc/self/fd) one gets the file descriptor number for the name of the process (which is silly). I suspect ksysguard uses the value of Name: in the status file and I believe ksysguard should use the name of the file that the exe symlink in the proc directory points to or the first value in cmdline.
Comment 3 Christoph Feck 2014-04-20 20:32:16 UTC
Steven, comment #2 sounds like you could be qualified to check the ksysguard code and propose a patch? :)
Comment 4 Steven Stewart-Gallus 2014-04-21 22:52:07 UTC
Sure I'd love to take a look at the source. I'm having trouble finding the homepage and source of it though.
Comment 5 Christoph Feck 2014-05-08 22:30:46 UTC
Steven, thanks for your offer.

ksysguard is part of the KDE Workspaces, so there is no separate homepage. The source for the Qt4-based version is here:

https://projects.kde.org/projects/kde/kde-workspace/repository/show?rev=KDE%2F4.11
(ksysguard is split, you will find its files in "ksysguard" and "libs/ksysguard")

I could forward port the patch to the Qt5-based version.
Comment 6 Andrew Crouthamel 2018-11-11 04:21:43 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Andrew Crouthamel 2018-11-21 04:24:05 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Justin Zobel 2023-01-04 07:05:33 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 9 Bug Janitor Service 2023-01-19 05:13:42 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2023-02-03 05:03:26 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!