Skip Menu |

This queue is for tickets about the Classic-Perl CPAN distribution.

Report information
The Basics
Id: 104403
Status: resolved
Priority: 0/
Queue: Classic-Perl

People
Owner: Nobody in particular
Requestors: jplesnik [...] redhat.com
Cc:
AdminCc:

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



Subject: Test failure with perl 5.21.11
Tests failed with Perl 5.21.11. The test output is: make test PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/arybase.t .... ok t/bugs.t ....... ok t/import.t ..... ok t/multiline.t .. ok # Failed test 'split in void context' # at t/split.t line 16. # got: '' # expected: 'p l i n' # Looks like you failed 1 test of 12. t/split.t ......
On 2015-05-13 07:48:41, jplesnik wrote: Show quoted text
> Tests failed with Perl 5.21.11. The test output is: > > make test > PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "- > MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, > 'blib/lib', 'blib/arch')" t/*.t > t/arybase.t .... ok > t/bugs.t ....... ok > t/import.t ..... ok > t/multiline.t .. ok > # Failed test 'split in void context' > # at t/split.t line 16. > # got: '' > # expected: 'p l i n' > # Looks like you failed 1 test of 12. > t/split.t ......
It seems to fail only with threaded 5.21.x. Unthreaded 5.21.x passes all tests.
On 2015-05-14 16:36:58, SREZIC wrote: Show quoted text
> On 2015-05-13 07:48:41, jplesnik wrote:
> > Tests failed with Perl 5.21.11. The test output is: > > > > make test > > PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "- > > MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, > > 'blib/lib', 'blib/arch')" t/*.t > > t/arybase.t .... ok > > t/bugs.t ....... ok > > t/import.t ..... ok > > t/multiline.t .. ok > > # Failed test 'split in void context' > > # at t/split.t line 16. > > # got: '' > > # expected: 'p l i n' > > # Looks like you failed 1 test of 12. > > t/split.t ......
> > It seems to fail only with threaded 5.21.x. Unthreaded 5.21.x passes > all tests.
That is, a threaded 5.21.3 is also fine; the failure started with 5.21.4.
From: ppisar [...] redhat.com
Dne St 13.Květen.2015 07:48:41, jplesnik napsal(a): Show quoted text
> Tests failed with Perl 5.21.11. The test output is: > > make test > PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "- > MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, > 'blib/lib', 'blib/arch')" t/*.t > t/arybase.t .... ok > t/bugs.t ....... ok > t/import.t ..... ok > t/multiline.t .. ok > # Failed test 'split in void context' > # at t/split.t line 16. > # got: '' > # expected: 'p l i n' > # Looks like you failed 1 test of 12. > t/split.t ......
There is something wrong with @_ stringification if the @_ was populated by Classic::Perl's split(): This code: use Classic::Perl; split(//,q{text}); print @_; print "@_"; works as expected. It prints "textt e x t". Swapping the prints: use Classic::Perl; split(//,q{text}); print "@_"; print @_; Causes emptying @_. It does not print anything.
On Fri Jun 12 08:28:48 2015, ppisar wrote: Show quoted text
> Dne St 13.Květen.2015 07:48:41, jplesnik napsal(a):
> > Tests failed with Perl 5.21.11. The test output is: > > > > make test > > PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "- > > MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, > > 'blib/lib', 'blib/arch')" t/*.t > > t/arybase.t .... ok > > t/bugs.t ....... ok > > t/import.t ..... ok > > t/multiline.t .. ok > > # Failed test 'split in void context' > > # at t/split.t line 16. > > # got: '' > > # expected: 'p l i n' > > # Looks like you failed 1 test of 12. > > t/split.t ......
> > There is something wrong with @_ stringification if the @_ was > populated by Classic::Perl's split(): > > This code: > > use Classic::Perl; > split(//,q{text}); > print @_; > print "@_"; > > works as expected. It prints "textt e x t". > > Swapping the prints: > > use Classic::Perl; > split(//,q{text}); > print "@_"; > print @_; > > Causes emptying @_. It does not print anything.
The pad slots are getting reused inappropriately. I suspect it was v5.21.3-191-gb54c5e1 that broke it, but I am too lazy to bisect. In any case, I have a fix and plan to make a new release in a few days.
On Wed Jul 20 16:13:24 2016, SPROUT wrote: Show quoted text
> On Fri Jun 12 08:28:48 2015, ppisar wrote:
> > Dne St 13.Květen.2015 07:48:41, jplesnik napsal(a):
> > > Tests failed with Perl 5.21.11. The test output is: > > > > > > make test > > > PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "- > > > MTest::Harness" "-e" "undef *Test::Harness::Switches; > > > test_harness(0, > > > 'blib/lib', 'blib/arch')" t/*.t > > > t/arybase.t .... ok > > > t/bugs.t ....... ok > > > t/import.t ..... ok > > > t/multiline.t .. ok > > > # Failed test 'split in void context' > > > # at t/split.t line 16. > > > # got: '' > > > # expected: 'p l i n' > > > # Looks like you failed 1 test of 12. > > > t/split.t ......
> > > > There is something wrong with @_ stringification if the @_ was > > populated by Classic::Perl's split(): > > > > This code: > > > > use Classic::Perl; > > split(//,q{text}); > > print @_; > > print "@_"; > > > > works as expected. It prints "textt e x t". > > > > Swapping the prints: > > > > use Classic::Perl; > > split(//,q{text}); > > print "@_"; > > print @_; > > > > Causes emptying @_. It does not print anything.
> > The pad slots are getting reused inappropriately. I suspect it was > v5.21.3-191-gb54c5e1 that broke it, but I am too lazy to bisect. In > any case, I have a fix and plan to make a new release in a few days.
I have just uploaded version 0.06.