Bug 175377

Summary: Negative "Memory" for big processes
Product: Red Hat Enterprise Linux 3 Reporter: Bastien Nocera <bnocera>
Component: gnome-system-monitorAssignee: Søren Sandmann Pedersen <sandmann>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: kem, tao
Target Milestone: ---Keywords: Desktop
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2006-0325 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-03 21:08:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 187539    
Attachments:
Description Flags
gnome-system-monitor-dont-truncate-sizes-rhel3.patch
none
gnome-system-monitor-dont-truncate-sizes-rhel3-2.patch
none
gnome-system-monitor-sorting.patch
none
gnome-system-monitor-sorting2.patch none

Description Bastien Nocera 2005-12-09 16:44:41 UTC
gnome-system-monitor shows "-1211551744 bytes" for the memory, whereas top shows
"10.9 GB".

libgtop2-2.0.2-3-x86_64
gnome-system-monitor-2.0.5-4-x86_64

Similar to bug #175375 on RHEL4.

Comment 1 Bastien Nocera 2005-12-14 18:22:59 UTC
Created attachment 122236 [details]
gnome-system-monitor-dont-truncate-sizes-rhel3.patch

Comment 2 Bastien Nocera 2005-12-14 18:23:34 UTC
Test packages at:
http://people.redhat.com/bnocera/g-s-m/rhel3/

Comment 3 Bastien Nocera 2005-12-14 19:16:24 UTC
The packages won't work, struct _ProcInfo in src/procman.h stores the memory
details in an int, instead of a gint64.

Comment 4 Bastien Nocera 2005-12-15 09:50:46 UTC
Created attachment 122269 [details]
gnome-system-monitor-dont-truncate-sizes-rhel3-2.patch

Comment 5 Bastien Nocera 2005-12-15 09:51:31 UTC
Test packages at:
http://people.redhat.com/bnocera/g-s-m/rhel3/

Comment 6 Bastien Nocera 2005-12-15 13:01:03 UTC
Tested successfully.

Comment 8 Bastien Nocera 2005-12-15 16:00:30 UTC
Created attachment 122287 [details]
gnome-system-monitor-sorting.patch

Another patch on top to unbreak the sorting.

Comment 10 Bastien Nocera 2005-12-19 10:32:03 UTC
Created attachment 122393 [details]
gnome-system-monitor-sorting2.patch

And the 2nd patch in the right direction.

Comment 12 Steffen Mann 2006-01-30 15:54:04 UTC
As the hofix for U7 was denied could you please ensure that this will make it
into U8 then.

Comment 13 Mike A. Harris 2006-03-28 14:41:38 UTC
Bug shouldn't be in MODIFIED state, or it'll miss U8.

Comment 15 Søren Sandmann Pedersen 2006-04-11 20:59:54 UTC
Devel ack. This bug was fixed and a new package (2.7.0-5) was built on Jan 9.



Comment 16 Søren Sandmann Pedersen 2006-04-11 21:01:45 UTC
I meant 2.0.5-5.


Comment 17 Søren Sandmann Pedersen 2006-04-11 21:02:30 UTC
Since this package is already built, it could be fasttracked.

Comment 23 Red Hat Bugzilla 2006-05-03 20:16:27 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2006-0325.html


Comment 24 Red Hat Bugzilla 2006-05-03 21:08:57 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2006-0325.html