Subject: | segfault in |
I think it's trying to use EV, but maybe EV doesn't work on kernel 2.6.18 in OEL-n-busted Oracle Enterprise Linux 5.8... I've forgotten. -Mark
cpan[1]> install AnyEvent::Fork::Pool
CPAN: CPAN::SQLite loaded ok (v0.204)
CPAN: LWP::UserAgent loaded ok (v6.06)
Fetching with LWP:
http://cpan.perl.org/authors/01mailrc.txt.gz
CPAN: YAML loaded ok (v1.13)
Fetching with LWP:
http://cpan.perl.org/modules/02packages.details.txt.gz
Fetching with LWP:
http://cpan.perl.org/modules/03modlist.data.gz
Creating database file ...
Done!
Running install for module 'AnyEvent::Fork::Pool'
Fetching with LWP:
http://cpan.perl.org/authors/id/M/ML/MLEHMANN/AnyEvent-Fork-Pool-1.1.tar.gz
CPAN: Digest::SHA loaded ok (v5.92)
Fetching with LWP:
http://cpan.perl.org/authors/id/M/ML/MLEHMANN/CHECKSUMS
CPAN: Compress::Zlib loaded ok (v2.066)
Checksum for /tmp/cpan/sources/authors/id/M/ML/MLEHMANN/AnyEvent-Fork-Pool-1.1.tar.gz ok
Scanning cache /tmp/cpan/build for sizes
DONE
AnyEvent-Fork-Pool-1.1/
AnyEvent-Fork-Pool-1.1/Pool.pm
AnyEvent-Fork-Pool-1.1/t/
AnyEvent-Fork-Pool-1.1/t/00_load.t
AnyEvent-Fork-Pool-1.1/t/01_basic.t
AnyEvent-Fork-Pool-1.1/Changes
AnyEvent-Fork-Pool-1.1/META.json
AnyEvent-Fork-Pool-1.1/META.yml
AnyEvent-Fork-Pool-1.1/README
AnyEvent-Fork-Pool-1.1/Makefile.PL
AnyEvent-Fork-Pool-1.1/COPYING
AnyEvent-Fork-Pool-1.1/MANIFEST
CPAN: File::Temp loaded ok (v0.2304)
CPAN: Parse::CPAN::Meta loaded ok (v1.4414)
CPAN: CPAN::Meta loaded ok (v2.142690)
CPAN: Module::CoreList loaded ok (v5.20141002)
Configuring M/ML/MLEHMANN/AnyEvent-Fork-Pool-1.1.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for AnyEvent::Fork::Pool
Writing MYMETA.yml and MYMETA.json
MLEHMANN/AnyEvent-Fork-Pool-1.1.tar.gz
/ntfhome/local/bin/perl Makefile.PL -- OK
Running make for M/ML/MLEHMANN/AnyEvent-Fork-Pool-1.1.tar.gz
cp Pool.pm blib/lib/AnyEvent/Fork/Pool.pm
Manifying blib/man3/AnyEvent::Fork::Pool.3
MLEHMANN/AnyEvent-Fork-Pool-1.1.tar.gz
/usr/bin/make -j16 -j16 -- OK
Running make test
PERL_DL_NONLAZY=1 /ntfhome/local/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ... ok
t/01_basic.t .. Failed 15/63 subtests
Test Summary Report
-------------------
t/01_basic.t (Wstat: 139 Tests: 48 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 63 tests but ran 48.
Files=2, Tests=49, 1 wallclock secs ( 0.06 usr 0.00 sys + 0.12 cusr 0.03 csys = 0.21 CPU)
Result: FAIL
Failed 1/2 test programs. 0/49 subtests failed.
make: *** [test_dynamic] Error 255
MLEHMANN/AnyEvent-Fork-Pool-1.1.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports MLEHMANN/AnyEvent-Fork-Pool-1.1.tar.gz
Stopping: 'install' failed for 'AnyEvent::Fork::Pool'.
Failed during this command:
MLEHMANN/AnyEvent-Fork-Pool-1.1.tar.gz : make_test NO
Looks like t/01_basic.t dumps core:
sre@tst2.ntf.cftdev1 /tmp/foo/AnyEvent-Fork-Pool-1.1
2014-10-14 15:10:34 Tue $ perl -Mblib t/01_basic.t
1..63
ok 1
ok 2
ok # run
ok # return
ok # run
ok # run
ok # run
ok # return
ok # run
ok # run
ok # return
ok # return
ok # run
ok # return
ok # run
ok # run
ok # return
ok # run
ok # return
ok # run
ok # return
ok # run
ok # run
ok # return
ok # return
ok # run
ok # return
ok # run
ok # return
ok # return
ok # run
ok # run
ok # run
ok # return
ok # return
ok # run
ok # return
ok # return
ok # run
ok # run
ok # return
ok # return
ok # run
ok # return
ok # run
ok # return
ok # run
ok # run
ok # return
ok # run
ok # return
ok # run
ok # return
ok # run
ok # return
ok # run
ok # run
Segmentation fault (core dumped)
sre@tst2.ntf.cftdev1 /tmp/foo/AnyEvent-Fork-Pool-1.1
2014-10-14 15:13:54 Tue $ gdb /ntfhome/local/bin/perl core.8929
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-42.el5)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /ntfhome/local/bin/perl...(no debugging symbols found)...done.
[New Thread 8929]
Reading symbols from /lib64/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/libutil.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libutil.so.1
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /ntfhome/local/lib/perl5/5.20.0/x86_64-linux-thread-multi-ld/auto/Cwd/Cwd.so...(no debugging symbols found)...done.
Loaded symbols for /ntfhome/local/lib/perl5/5.20.0/x86_64-linux-thread-multi-ld/auto/Cwd/Cwd.so
Reading symbols from /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/List/Util/Util.so...(no debugging symbols found)...done.
Loaded symbols for /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/List/Util/Util.so
Reading symbols from /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/Guard/Guard.so...(no debugging symbols found)...done.
Loaded symbols for /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/Guard/Guard.so
Reading symbols from /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/Array/Heap/Heap.so...(no debugging symbols found)...done.
Loaded symbols for /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/Array/Heap/Heap.so
Reading symbols from /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/Socket/Socket.so...(no debugging symbols found)...done.
Loaded symbols for /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/Socket/Socket.so
Reading symbols from /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/IO/FDPass/FDPass.so...(no debugging symbols found)...done.
Loaded symbols for /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/IO/FDPass/FDPass.so
Reading symbols from /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/Proc/FastSpawn/FastSpawn.so...(no debugging symbols found)...done.
Loaded symbols for /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/Proc/FastSpawn/FastSpawn.so
Reading symbols from /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/EV/EV.so...(no debugging symbols found)...done.
Loaded symbols for /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/EV/EV.so
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff51d8d000
Core was generated by `perl -Mblib t/01_basic.t'.
Program terminated with signal 11, Segmentation fault.
#0 0x00002b24e058a86b in set_idx () from /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/Array/Heap/Heap.so
(gdb) bt
#0 0x00002b24e058a86b in set_idx () from /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/Array/Heap/Heap.so
#1 0x00002b24e058ad4a in downheap () from /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/Array/Heap/Heap.so
#2 0x00002b24e058b0e5 in XS_Array__Heap_adjust_heap ()
from /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/Array/Heap/Heap.so
#3 0x00000000004b4183 in Perl_pp_entersub ()
#4 0x00000000004ada2e in Perl_runops_standard ()
#5 0x000000000043768c in Perl_call_sv ()
#6 0x00002b24e0dab795 in e_cb () from /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/EV/EV.so
#7 0x00002b24e0d9fb15 in ev_invoke_pending () from /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/EV/EV.so
#8 0x00002b24e0dba8ed in ev_run () from /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/EV/EV.so
#9 0x00002b24e0dbb4f2 in XS_EV_run () from /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/auto/EV/EV.so
#10 0x00000000004b4183 in Perl_pp_entersub ()
#11 0x00000000004ada2e in Perl_runops_standard ()
#12 0x0000000000438083 in perl_run ()
#13 0x000000000041b74e in main ()