Skip Menu |
 

This queue is for tickets about the Linux-Smaps CPAN distribution.

Report information
The Basics
Id: 102687
Status: open
Priority: 0/
Queue: Linux-Smaps

People
Owner: Nobody in particular
Requestors: TIMB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Linux::Smaps fails on CentOS 7 (RHEL 7) with error "not parsed: VmFlags: rd ex mr mw me dw"
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-30496-1426069971-964.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 127
Download (untitled) / with headers
text/plain 127b
perl -MLinux::Smaps -e 'warn Linux::Smaps->new($$)' Linux::Smaps: /proc/27763/smaps(16): not parsed: VmFlags: rd ex mr mw me dw
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-30496-1426069971-964.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-30496-1426069971-964.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-31298-1437659108-1881.102687-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 107
Download (untitled) / with headers
text/plain 107b
Linux::Smaps::Tiny seems to work on CentOS 7 (but Process::SizeLimit::Core won't use that without patches).
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-30496-1426069971-964.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
X-RT-Interface: Web
References: <rt-4.0.18-30496-1426069971-964.0-0-0 [...] rt.cpan.org>
Content-Type: multipart/mixed; boundary="----------=_1448390226-9707-2"
Message-ID: <rt-4.0.18-9707-1448390226-1269.102687-0-0 [...] rt.cpan.org>
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 148
Download (untitled) / with headers
text/plain 148b
This is a workaround, not a fix. It skips the "unknown" VmFlags line from smaps file without throwing an error. Required for latest RHEL6 as well.
MIME-Version: 1.0
Subject: Linux-Smaps-compat.patch
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Type: text/x-patch; name="Linux-Smaps-compat.patch"
Content-Disposition: inline; filename="Linux-Smaps-compat.patch"
Content-Transfer-Encoding: binary
Content-Length: 425
--- Linux-Smaps-0.09/lib/Linux/Smaps.pm.old 2015-11-24 19:18:22.496002869 +0100 +++ Linux-Smaps-0.09/lib/Linux/Smaps.pm 2015-11-24 19:17:09.883999797 +0100 @@ -215,6 +215,7 @@ # VMAs may be reported twice. push @{$I->[M__elem]}, $current unless $cache{$1}++; $current_off=$min_vma_off; + } elsif( $l=~/^VmFlags:/i ) { } else { $I->[M_lasterror]="$name($.): not parsed: $l"; return;


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.