Skip Menu |

This queue is for tickets about the AnyEvent-Fork-Pool CPAN distribution.

Report information
The Basics
Id: 99492
Status: resolved
Priority: 0/
Queue: AnyEvent-Fork-Pool

People
Owner: MLEHMANN [...] cpan.org
Requestors: MARKLE [...] cpan.org
Cc:
AdminCc:

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



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 ()
Subject: Re: [rt.cpan.org #99492] segfault in
Date: Thu, 16 Oct 2014 20:13:48 +0200
To: Mark Hedges via RT <bug-AnyEvent-Fork-Pool [...] rt.cpan.org>
From: Marc Lehmann <schmorp [...] schmorp.de>
Hi! Please send your bug report to the official contact/author address for the module in question (or send it to rt.cpan.org@schmorp.de, that's fine as well). What follows is the rationale for this request, you don't have to read it if you don't care. Why is this necessary? rt.cpan.org has many deficiencies which makes it tedious and hard to use, increasing the workload on the people who provide all the perl modules you probably appreciate (and that is really to be avoided - module authors should be able to invest all their time into improving their modules and not fighting with rt.cpan.org's bugs). Still, for some people, rt.cpan.org is useful to have, and some people even like it and really want to use it. That is fine, too. Unfortunately, the designers of rt.cpan.org didn't make their "service" optional - you can neither opt-in nor opt-out of rt.cpan.org as a module author. Just like a spammer, rt.cpan.org forces its "service" (whether wanted or unwanted) on everybody. Just like a spammer, they don't care for the people they actively hurt. Just like a spammer, they don't don't care to fix these issues and make their "service" ethically acceptable. You cannot even configure it to redirect tickets to somewhere else. Unfortunately, ignoring rt.cpan.org is not an option either: for people reporting possible bugs there is no indication that their report will be ignored, and for module authors it means they miss potentially vital bug reports such as yours (and of course it's a great impression if rt.cpan.org has lots of bug reports that are unanswered, making a module look unmaintained when in fact the opposite might be true). I am sorry that this wasted a bit of your time, but please understand that I am just as much a victim as you are - the problem is the unethical stance of the rt.cpan.org providers who force their "service" on everybody. Please redirect your bug report as stated in the beginning of this mail, and please consider petitioning the rt.cpan.org providers to stop their unethical behaviour and allow opt-in, opt-out, or some redirect option. One last issue: many people mail me that this can be "fixed" by including the bugtracker element in my module meta file. This is not true: 1. This field only affects search.cpan.org and maybe similar services. (Many people confuse rt.cpan.org with search.cpan.org for some reason). 2. It doesn't even work (there are still links to rt.cpan.org displayed). 3. Even if search.cpan.org does no longer display the link, it doesn't actually affect rt.cpan.org (and tests have shown that people go to rt.cpan.org regardless) Even *iff* rt.cpan.org would start listening on the bugtracker field, however, it's still wrong. I have a lot of modules, and each time a service like rt.cpan.org comes out, I would have to make dummy releases for all my modules. This not only creates a lot of extra work for me (I take releases very seriously) but also users, who would wonder why there is a new release. Thanks a lot, Marc Lehmann <rt.cpan.org@schmorp.de> Last updated: 2012-04-22