Skip Menu |
Update: The bug tracker service is no longer shutting down.

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

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

Owner: Nobody in particular
Requestors: TIMB [...]

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"
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
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).
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.
Subject: Linux-Smaps-compat.patch
--- Linux-Smaps-0.09/lib/Linux/ 2015-11-24 19:18:22.496002869 +0100 +++ Linux-Smaps-0.09/lib/Linux/ 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 infrastructure.

Please report any issues with to