Skip Menu |

This queue is for tickets about the load CPAN distribution.

Report information
The Basics
Id: 4370
Status: resolved
Priority: 0/
Queue: load

People
Owner: Nobody in particular
Requestors: Marek.Rouchal [...] gmx.net
Cc:
AdminCc:

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



Subject: load and perl-5.8.2/dor
I am trying to run the load-0.12 module with perl-5.8.2 (plus the defined-or patch from CPAN) built with gcc-3.2.3 on Solaris 7/Sparc with ihreads and a shared libperl.so. I get hard failures (segmentation fault) in the following tests: Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------ ---------------- t/load.t 12 3072 342 12 3.51% 137 140 143 161 164 167 305 308 311 329 332 335 One block e.g.: ok 135 - Open trace store load Illegal Instruction ok 136 - Check trace ondemand not ok 137 - Close trace ondemand # Failed test (t/load.t at line 112) ok 138 - Open trace store load -Mload=ondemand Illegal Instruction ok 139 - Check trace ondemand -Mload=ondemand not ok 140 - Close trace ondemand -Mload=ondemand # Failed test (t/load.t at line 112) ok 141 - Open trace store load -Mload=dontscan Illegal Instruction ok 142 - Check trace ondemand -Mload=dontscan not ok 143 - Close trace ondemand -Mload=dontscan # Failed test (t/load.t at line 112) ok 144 - Open trace store load -Mload=now Do you have any clue what is going wrong? Let me know if I can supply additional information. Cheers, Marek
Problem seems to be caused by the use of an empty subroutine in the test-suite, _not_ with a problem of load itself. Perl 5.8.2 has problems handling empty subroutines in the form "sub foo {}". Just uploaded version 0.13 of load.pm to CPAN in which the test- suite is fixed (by using "sub empty { undef }").