Skip Menu |

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

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

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

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



Subject: Fails with linux 4
As per subject. Sample fail report: http://www.cpantesters.org/cpan/report/55331648 HTH&&Thanks, (Disclaimer: this was discovered by statistical analysis, I'm not speaking as a user)
On 2015-05-19 05:11:55, ANDK wrote: Show quoted text
> As per subject. Sample fail report: > > http://www.cpantesters.org/cpan/report/55331648 > > HTH&&Thanks, > (Disclaimer: this was discovered by statistical analysis, I'm not > speaking as a user)
A possible patch: http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/Linux-Smaps-0.13-RT104515.patch A CPAN distroprefs file: https://github.com/eserte/srezic-cpan-distroprefs/blob/master/Linux-Smaps.yml
On 2017-07-29 12:19:31, SREZIC wrote: Show quoted text
> On 2015-05-19 05:11:55, ANDK wrote:
> > As per subject. Sample fail report: > > > > http://www.cpantesters.org/cpan/report/55331648 > > > > HTH&&Thanks, > > (Disclaimer: this was discovered by statistical analysis, I'm not > > speaking as a user)
> > A possible patch: > http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/Linux- > Smaps-0.13-RT104515.patch > > A CPAN distroprefs file: > https://github.com/eserte/srezic-cpan-distroprefs/blob/master/Linux- > Smaps.yml
Additionally, the test may fail for non-English locales. E.g. with LC_ALL=de_DE.UTF-8: # Failed test 'Permission denied to read process with pid 1' # at t/04.t line 22. # 'Linux::Smaps: Cannot open /proc/1/smaps: Keine Berechtigung # ' # doesn't match '(?-xism:read failed)' # Failed test ' ->lasterror' # at t/04.t line 28. # 'Cannot open /proc/1/smaps: Keine Berechtigung' # doesn't match '(?-xism:read failed)' # Looks like you failed 2 tests of 4. t/04.t .......... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/4 subtests
On 2017-08-21 11:17:45, SREZIC wrote: Show quoted text
> On 2017-07-29 12:19:31, SREZIC wrote:
> > On 2015-05-19 05:11:55, ANDK wrote:
> > > As per subject. Sample fail report: > > > > > > http://www.cpantesters.org/cpan/report/55331648 > > > > > > HTH&&Thanks, > > > (Disclaimer: this was discovered by statistical analysis, I'm not > > > speaking as a user)
> > > > A possible patch: > > http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/Linux- > > Smaps-0.13-RT104515.patch > > > > A CPAN distroprefs file: > > https://github.com/eserte/srezic-cpan-distroprefs/blob/master/Linux- > > Smaps.yml
> > Additionally, the test may fail for non-English locales. E.g. with > LC_ALL=de_DE.UTF-8: > > # Failed test 'Permission denied to read process with pid 1' > # at t/04.t line 22. > # 'Linux::Smaps: Cannot open /proc/1/smaps: Keine > Berechtigung > # ' > # doesn't match '(?-xism:read failed)' > > # Failed test ' ->lasterror' > # at t/04.t line 28. > # 'Cannot open /proc/1/smaps: Keine Berechtigung' > # doesn't match '(?-xism:read failed)' > # Looks like you failed 2 tests of 4. > t/04.t .......... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/4 subtests
The non-English locale problem depends also on the perl version: it does not happen for newer perls (probably since 5.22). The failure above was generated with perl 5.12.3.
On 2015-05-19 05:11:55, ANDK wrote: Show quoted text
> As per subject. Sample fail report: > > http://www.cpantesters.org/cpan/report/55331648 >
Actually it seems to fail now also on linux 3.16.0 systems (e.g. debian/jessie).
Fixed in 0.14!