Skip Menu |

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

Report information
The Basics
Id: 86672
Status: resolved
Priority: 0/
Queue: Linux-Smaps

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

Bug Information
Severity: (no value)
Broken in: 0.12
Fixed in: 0.14

Subject: 06-VmFlags.t may fail with older linux kernels (?)
Download (untitled) / with headers
text/plain 637b
See for a sample test report. I think the failure happens because the real /proc/*/smaps on that machine (Debian/squeeze, kernel version 2.6.32-5-amd6) does not list the Anonymous and AnonHugePages fields. The test output file smaps-VmFlags lists these fields, and so there's a mismatch in @Linux::Smaps::VMA::attributes. The problem can be reproduced here with a one liner: $ perl -Mblib -MLinux::Smaps -e 'Linux::Smaps->new(filename => shift)' t/smaps-VmFlags Linux::Smaps: Linux::Smaps::VMA::kernelpagesize method is already defined Regards, Slaven
Download (untitled) / with headers
text/plain 280b
Should be fixed in 0.14. For speed purposes Linux::Smaps really doesn't handle fields going away very cleanly so if a test processed a testfile AND /proc/smaps, it could fail if the formats were different. In 0.14 much more careful to not run tests against multiple smaps files.

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

Please report any issues with to