Skip Menu |

This queue is for tickets about the Math-SymbolicX-Inline CPAN distribution.

Report information
The Basics
Id: 24125
Status: open
Priority: 0/
Queue: Math-SymbolicX-Inline

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

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



Subject: Make Test failures under FreeBSD 5.4-RELEASE and Perl 5.6.2
FreeBSD 5.4-RELEASE, Perl 5.6.2: Testing (/usr/ports/math/p5-Math-SymbolicX-Inline/work/Math-SymbolicX-Inline-1.01)... t/00pod.........skipped all skipped: Test::Pod 1.00 required for testing POD t/00podcover....skipped all skipped: Test::Pod::Coverage 1.00 required for testing POD coverage t/01basic.......dubious Test returned status 0 (wstat 139, 0x8b) DIED. FAILED tests 5-10 Failed 6/10 tests, 40.00% okay t/02examples....ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/01basic.t 0 139 10 12 5-10 2 tests skipped. Failed 1/4 test scripts. 6/28 subtests failed. Files=4, Tests=28, 4 wallclock secs ( 3.47 cusr + 0.17 csys = 3.64 CPU) Failed 1/4 test programs. 6/28 subtests failed.
On Thu Dec 28 10:39:58 2006, ACDALTON wrote: Show quoted text
> FreeBSD 5.4-RELEASE, Perl 5.6.2: > > Testing > (/usr/ports/math/p5-Math-SymbolicX-Inline/work/Math-SymbolicX-Inline- > 1.01)... > t/00pod.........skipped > all skipped: Test::Pod 1.00 required for testing POD > t/00podcover....skipped > all skipped: Test::Pod::Coverage 1.00 required for testing POD > coverage > t/01basic.......dubious > Test returned status 0 (wstat 139, 0x8b) > DIED. FAILED tests 5-10 > Failed 6/10 tests, 40.00% okay > t/02examples....ok > Failed Test Stat Wstat Total Fail List of Failed >
------------------------------------------------------------------------------- Show quoted text
> t/01basic.t 0 139 10 12 5-10 > 2 tests skipped. > Failed 1/4 test scripts. 6/28 subtests failed. > Files=4, Tests=28, 4 wallclock secs ( 3.47 cusr + 0.17 csys = 3.64 > CPU) > Failed 1/4 test programs. 6/28 subtests failed.
Thanks for the bug report, but I can't debug this problem without more verbose test output. Could you rerun the tests in verbose mode? From the distribution directory, please try running the following: perl -Ilib t/01basic.t Thanks, Steffen
On Sat Dec 30 12:43:00 2006, SMUELLER wrote: Show quoted text
> > Thanks for the bug report, but I can't debug this problem without more > verbose test output. Could you rerun the tests in verbose mode? > From the distribution directory, please try running the following: > > perl -Ilib t/01basic.t >
Of course. I apologize. Here's what I got: fivesix# perl -Ilib t/01basic.t 1..10 ok 1 - use Math::SymbolicX::Inline; ok 2 - basic example ok 3 - basic example outputs correct results ok 4 - external sub example Segmentation fault (core dumped) I don't have debugging symbols in (that needs to change) but here's what the trace gives me, for what it's worth: fivesix# gdb /usr/local/bin/perl perl.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... Core was generated by `perl'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/perl5/5.6.2/mach/CORE/libperl.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/perl5/5.6.2/mach/CORE/libperl.so Reading symbols from /lib/libm.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.3 Reading symbols from /lib/libc.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.5 Reading symbols from /lib/libcrypt.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.2 Reading symbols from /lib/libutil.so.4...(no debugging symbols found)...done. Loaded symbols for /lib/libutil.so.4 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x280d1e4b in Perl_mg_set () from /usr/local/lib/perl5/5.6.2/mach/CORE/libperl.so (gdb) where #0 0x280d1e4b in Perl_mg_set () from /usr/local/lib/perl5/5.6.2/mach/CORE/libperl.so #1 0x280fdf23 in Perl_leave_scope () from /usr/local/lib/perl5/5.6.2/mach/CORE/libperl.so #2 0x280fc628 in Perl_pop_scope () from /usr/local/lib/perl5/5.6.2/mach/CORE/libperl.so #3 0x280dffc1 in Perl_pp_leavesub () from /usr/local/lib/perl5/5.6.2/mach/CORE/libperl.so #4 0x280da8d9 in Perl_runops_standard () from /usr/local/lib/perl5/5.6.2/mach/CORE/libperl.so #5 0x28092286 in S_run_body () from /usr/local/lib/perl5/5.6.2/mach/CORE/libperl.so #6 0x28091f3d in perl_run () from /usr/local/lib/perl5/5.6.2/mach/CORE/libperl.so #7 0x080492e1 in main ()
On Sat Dec 30 13:22:50 2006, ACDALTON wrote: Show quoted text
> On Sat Dec 30 12:43:00 2006, SMUELLER wrote: > fivesix# perl -Ilib t/01basic.t > 1..10 > ok 1 - use Math::SymbolicX::Inline; > ok 2 - basic example > ok 3 - basic example outputs correct results > ok 4 - external sub example > Segmentation fault (core dumped) > > I don't have debugging symbols in (that needs to change) but here's what > the trace gives me, for what it's worth:
Given this module is a pure-Perl module and all of its non-core dependencies are, too, I doubt the problem lies within Math::SymbolicX::Inline. Furthermore, I haven't seen this problem on any perl >= 5.8.0, so I would guess it's a bug in 5.6.x. Could you try running the tests under 5.8 in the same environment? I won't compile a 5.6.2 "just" to track down this issue. It's not that I don't want to, I just can't afford to spend the time. Sorry! Steffen
From: ACDALTON [...] cpan.org
Show quoted text
> > Given this module is a pure-Perl module and all of its non-core > dependencies are, too, I doubt the problem lies within > Math::SymbolicX::Inline. Furthermore, I haven't seen this problem on any > perl >= 5.8.0, so I would guess it's a bug in 5.6.x. Could you try > running the tests under 5.8 in the same environment? > > I won't compile a 5.6.2 "just" to track down this issue. It's not that I > don't want to, I just can't afford to spend the time. Sorry! >
No problem, Steffen! The choice to support older Perls is always the authors. The only reason I reported it was because v1.00 didn't have the same incompatibility. For now I'll update the FreeBSD port entry to v1.01 and require Perl 5.8+. (My 5.8 tests don't encounter any problems.) I'll do a little diff-ing between v1.00 and 1.01 and see if there's a trivial way to reintroduce backward compatibility. If so, I'll send you a patch. Thanks for your time!
Well, as you no doubt already knew, there were no substantial code changes between 1.00 and 1.01, only test changes, so something odd is happening with that test 5. I'll be taking a closer look in the next little while and will let you know if I find anything.