Skip Menu |

This queue is for tickets about the Senna CPAN distribution.

Report information
The Basics
Id: 13933
Status: open
Priority: 0/
Queue: Senna

People
Owner: dmaki [...] cpan.org
Requestors: aaron [...] daltons.ca
Cc:
AdminCc:

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



Subject: make test fails with Perl core dump on FreeBSD 5.3-RELEASE, Perl 5.8.7
make test fails with Perl silently coredumping on FreeBSD 5.3-RELEASE, Perl 5.8.7. moondance# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01-sanity....dubious Test returned status 0 (wstat 139, 0x8b) DIED. FAILED tests 14-40 Failed 27/40 tests, 32.50% okay t/02-morph.....ok t/03-ngram.....ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/01-sanity.t 0 139 40 54 135.00% 14-40 Failed 1/3 test scripts, 66.67% okay. 27/54 subtests failed, 50.00% okay. *** Error code 255 After this a perl5.8.7.core dump is produced. I can provide it if it would be of use to anyone. Aaron
[guest - Sat Jul 30 23:48:01 2005]: Show quoted text
> make test fails with Perl silently coredumping on FreeBSD 5.3-RELEASE, > Perl 5.8.7. > > moondance# make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/01-sanity....dubious > Test returned status 0 (wstat 139, 0x8b) > DIED. FAILED tests 14-40 > Failed 27/40 tests, 32.50% okay > t/02-morph.....ok > t/03-ngram.....ok > Failed Test Stat Wstat Total Fail Failed List of Failed >
------------------------------------------------------------------------------ - Show quoted text
> t/01-sanity.t 0 139 40 54 135.00% 14-40 > Failed 1/3 test scripts, 66.67% okay. 27/54 subtests failed, 50.00% > okay. > *** Error code 255 > > After this a perl5.8.7.core dump is produced. I can provide it if it > would be of use to anyone. > > Aaron
Weird. Can you please post the stack trace and also tell us the version of libsenna that you are using?
There was a hoopla between the developer of libsenna and myself. Hopefully sen_index_info() will be fixed in a future release of lbsenna, but meanwhile, Senna-0.07_01 that I'm about to upload will work.
[aaron@daltons.ca - Tue Aug 2 22:45:50 2005]: Show quoted text
> via RT wrote:
> > Full context and any attached attachments can be found at: > > <URL: http://rt.cpan.org/NoAuth/Bug.html?id=13933 > > > > > There was a hoopla between the developer of libsenna and myself. > > Hopefully sen_index_info() will be fixed in a future release of > > lbsenna, but meanwhile, Senna-0.07_01 that I'm about to upload will > > work.
> > I just downloaded 0.07_01 but all the tests failed. No coredump this > time though. It must have something to do with what version of Senna > FreeBSD is currently running. The port reports a version of 20050628. > 'senna-cfg --version' reports v.0.2.0. Senna Build.PL says it does > not > recognize this version.
It doesn't recognize any verion yet. Versioning hasn't been a top priority from the developer. I was about to blacklist senna <= 0.2.0 after verifying that this fix works. Show quoted text
> $ ./Build test > t/01-sanity....dubious > Test returned status 0 (wstat 138, 0x8a) > DIED. FAILED tests 1-41 > Failed 41/41 tests, 0.00% okay > t/02-morph.....dubious > Test returned status 0 (wstat 138, 0x8a) > t/03-ngram.....dubious > Test returned status 0 (wstat 138, 0x8a)
Can you please provide a stack trace?
Show quoted text
> Hrm, all I could get was this. I'm pretty sure this will not be helpful > though. Is there another way for me to get the stack trace you need? > > Aaron > > (gdb) core perl.core > Core was generated by `perl'. > Program terminated with signal 10, Bus error. > #0 0x282d979f in ?? () > (gdb) up > #1 0x0809a004 in ?? () > (gdb)
Hmm, I guess the quickest thing to do is to modify Build.PL and change the line extra_compiler_flags => $config->{INC}, to extra_compiler_flags => [ @{$config->{INC}}, '-ggdb' ], and redo the build process. (I'll add a way to pass this in the next release)