Skip Menu |
 

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

Report information
The Basics
Id: 105363
Status: open
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: felipe [...] felipegasper.com
Cc: CHORNY [...] cpan.org
AdminCc:

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



Subject: crash: Test::Class modulino
Date: Fri, 19 Jun 2015 00:02:22 -0500
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: Felipe Gasper <felipe [...] felipegasper.com>
Download (untitled) / with headers
text/plain 1.5k
Hello, The following blows up in Strawberry Perl: --------------- #!/usr/bin/env perl package t::IO::Die; use strict; use parent qw( Test::Class ); use Test::More; if ( !caller ) { my $test_obj = __PACKAGE__->new(); plan tests => $test_obj->expected_tests(); $test_obj->runtests(); } #---------------------------------------------------------------------- sub test_fork : Tests(1) { my $pid = fork() || do { exit }; ok( $pid, 'PID returned' ); waitpid $pid, 0; return; } 1; --------------- Here is data about the crash: Problem signature: Problem Event Name: APPCRASH Application Name: perl.exe Application Version: 5.22.0.1 Application Timestamp: 556cd8b3 Fault Module Name: perl522.dll Fault Module Version: 0.0.0.0 Fault Module Timestamp: 556cd8b3 Exception Code: c0000005 Exception Offset: 000000000012c38b OS Version: 6.3.9600.2.0.0.256.48 Locale ID: 1033 Additional Information 1: ea7d Additional Information 2: ea7d009ed17f8e62e94c8036b4f243fc Additional Information 3: 5c8c Additional Information 4: 5c8c8afb0e20134130d9b7ce4b0465b9 Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=280262 If the online privacy statement is not available, please read our privacy statement offline: C:\WINDOWS\system32\en-US\erofflps.txt ------------ The breakage appears to stem from something in Test::Class; if I test fork() without that module, it’s fine. I’ve not tried it without the modulino pattern. I hope this helps … let me know if you need more information! -FG
Please report this with perlbug utility. Test::Class is pure-perl and does not require on-core XS modules (Sub::Name may be used, but error appears even when it is unavailable), this is bug in Perl. On Fri Jun 19 01:02:35 2015, felipe@felipegasper.com wrote: Show quoted text
> Hello, > > The following blows up in Strawberry Perl: > > --------------- > #!/usr/bin/env perl > > package t::IO::Die; > > use strict; > > use parent qw( > Test::Class > ); > > use Test::More; > > if ( !caller ) { > my $test_obj = __PACKAGE__->new(); > plan tests => $test_obj->expected_tests(); > $test_obj->runtests(); > } > > #---------------------------------------------------------------------- > > sub test_fork : Tests(1) { > my $pid = fork() || do { exit }; > ok( $pid, 'PID returned' ); > waitpid $pid, 0; > > return; > } > > 1; > --------------- > > Here is data about the crash: > > Problem signature: > Problem Event Name: APPCRASH > Application Name: perl.exe > Application Version: 5.22.0.1 > Application Timestamp: 556cd8b3 > Fault Module Name: perl522.dll > Fault Module Version: 0.0.0.0 > Fault Module Timestamp: 556cd8b3 > Exception Code: c0000005 > Exception Offset: 000000000012c38b > OS Version: 6.3.9600.2.0.0.256.48 > Locale ID: 1033 > Additional Information 1: ea7d > Additional Information 2: ea7d009ed17f8e62e94c8036b4f243fc > Additional Information 3: 5c8c > Additional Information 4: 5c8c8afb0e20134130d9b7ce4b0465b9 > > Read our privacy statement online: > http://go.microsoft.com/fwlink/?linkid=280262 > > If the online privacy statement is not available, please read our > privacy statement offline: > C:\WINDOWS\system32\en-US\erofflps.txt > ------------ > > The breakage appears to stem from something in Test::Class; if I test > fork() without that module, it’s fine. > > I’ve not tried it without the modulino pattern. > > > I hope this helps … let me know if you need more information! > > > -FG
-- Alexandr Ciornii, http://chorny.net


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.