Skip Menu |

This queue is for tickets about the AnyEvent CPAN distribution.

Report information
The Basics
Id: 35777
Status: resolved
Priority: 0/
Queue: AnyEvent

People
Owner: Nobody in particular
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

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



Subject: Hangs at t/handle/01_readline with Perl 5.8.8
Dear Marc Lehmann, Hi. This is imacat from Taiwan. I found that your AnyEvent-3.4 hangs at t/handle/01_readline when running "make test" with Perl 5.8.8. It seems to hang at "$cv->wait;" in t/handle/01_readline.t. This did not happen in AnyEvent-3.3, or in AnyEvent 3.4 with Perl 5.10.0 I do not know how to solve it. Maybe you can look into it. My environments are: Linux 2.6.22.10, Perl 5.8.8, i386 and x86_64. The terminal log is attached below. Hope that this helps. Please tell me if you need any more information, or if I could be of any help. Thank you. imacat@rinse tmp/AnyEvent-3.4 % perl -v This is perl, v5.8.8 built for x86_64-linux-thread-multi-ld Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. imacat@rinse tmp/AnyEvent-3.4 % perl Makefile.PL *** *** The EV or Event modules are recommended for performance, unless *** you have to use one of the other adaptors (Glib, Tk, etc.). *** Checking if your kit is complete... Looks good Writing Makefile for AnyEvent imacat@rinse tmp/AnyEvent-3.4 % make cp lib/AnyEvent/Impl/Perl.pm blib/lib/AnyEvent/Impl/Perl.pm cp lib/AnyEvent.pm blib/lib/AnyEvent.pm cp lib/AnyEvent/Impl/POE.pm blib/lib/AnyEvent/Impl/POE.pm cp lib/AnyEvent/Impl/EventLib.pm blib/lib/AnyEvent/Impl/EventLib.pm cp lib/AnyEvent/Impl/Qt.pm blib/lib/AnyEvent/Impl/Qt.pm cp lib/AnyEvent/Handle.pm blib/lib/AnyEvent/Handle.pm cp lib/AnyEvent/Impl/EV.pm blib/lib/AnyEvent/Impl/EV.pm cp lib/AnyEvent/Impl/Glib.pm blib/lib/AnyEvent/Impl/Glib.pm cp lib/AnyEvent/Impl/Tk.pm blib/lib/AnyEvent/Impl/Tk.pm cp lib/AnyEvent/Util.pm blib/lib/AnyEvent/Util.pm cp lib/AnyEvent/Impl/Event.pm blib/lib/AnyEvent/Impl/Event.pm Manifying blib/man3/AnyEvent::Impl::Perl.3 Manifying blib/man3/AnyEvent::Impl::EventLib.3 Manifying blib/man3/AnyEvent::Impl::POE.3 Manifying blib/man3/AnyEvent.3 Manifying blib/man3/AnyEvent::Impl::Qt.3 Manifying blib/man3/AnyEvent::Handle.3 Manifying blib/man3/AnyEvent::Impl::EV.3 Manifying blib/man3/AnyEvent::Impl::Glib.3 Manifying blib/man3/AnyEvent::Util.3 Manifying blib/man3/AnyEvent::Impl::Tk.3 Manifying blib/man3/AnyEvent::Impl::Event.3 imacat@rinse tmp/AnyEvent-3.4 % make test t/00_load.................ok t/01_basic................ok t/02_signals..............1/5 If the following test hangs for a long time or terminates with a signal you either found a bug in AnyEvent or, more likely, you have a defective perl (most windows perl distros are broken, cygwin perl works). If you do not rely on signal handlers you can force the installation of this module and the rest will likely work. Otherwise upgrading to a working perl is recommended. t/02_signals..............ok t/03_child................1/7 If the following test hangs for a long time you either found a bug in AnyEvent or, more likely, you have a defective perl (most windows perl distros are broken, cygwin perl works). If you do not rely on child handlers you can force the installation of this module and the rest will likely work. Otherwise upgrading to a working perl is recommended. t/03_child................ok t/04_condvar..............ok t/handle/00_load..........ok t/handle/01_readline......make: *** wait: No child processes. Stop. make: *** Waiting for unfinished jobs.... make: *** wait: No child processes. Stop. imacat@rinse tmp/AnyEvent-3.4 % perl -Iblib/lib -Iblib/arch t/handle/01_readline.t 1..3 imacat@rinse tmp/AnyEvent-3.4 %
thanks, you hit a bug in perl 5.8.8, fortunately a workaround is simple and available in 3.41 (please use the address in the module's manpage to report bugs in the future, thanks)