After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 130080 - memory map fakes unknown allocations, which is very misleading
memory map fakes unknown allocations, which is very misleading
Status: RESOLVED FIXED
Product: system-monitor
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: System-monitor maintainers
System-monitor maintainers
Depends on:
Blocks:
 
 
Reported: 2003-12-27 15:47 UTC by Sebastien Bacher
Modified: 2011-11-11 10:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2003-12-27 15:47:35 UTC
This bug was originally reported in the Debian BTS:
http://bugs.debian.org/222073

"The memory map of a process shows the allocations for the process, the amount
and status of the allocation and the inode/file/library to which the
allocation is associated.

In the case of inode #0 (unspecified owner) the memory map window lists a
random(?) owner for the allocation instead of empty or unknown, which is
very misleading if someone doesn't check pmap or /proc/PID/maps and try to
report allocation bugs based on the result."
Comment 1 Benoît Dejean 2004-10-22 10:12:44 UTC
there is no column list i the map view
Comment 2 Loïc Minier 2005-06-03 19:14:20 UTC
Hi,

I reproduce this, the Debian bug had more hints on this problem:
take the pid of a web browser (for example Galeon), and lookup its memory maps
in /proc/$pid/maps


some lines in /proc/$pid/maps have no "owner", ie end in space:
44c00000-44c21000 rw-p 44c00000 00:00 0 

While some of these lines are correctly printed with nothing in the "file name"
column of the memory map window in GSM, some lines aren't: they have something
in the file name column, and that seems wrong to the submitter.
Comment 3 Loïc Minier 2005-06-03 19:49:08 UTC
Ok, I checked code in libgtop's HEAD, and it seems fine to me.  I'll recheck
with 2.10's GSM.
Comment 4 Loïc Minier 2005-06-04 07:18:16 UTC
I've checked with 2.10 versions, and they behave fine, closing again and sorry
for the reopening.