Skip Menu |

This queue is for tickets about the POE-Loop-EV CPAN distribution.

Report information
The Basics
Id: 73405
Status: resolved
Priority: 0/
Queue: POE-Loop-EV

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

Bug Information
Severity: (no value)
Broken in: 0.06
Fixed in: 0.10



Subject: tests hang in t/30_loops/60_ev_poll/k_sig_child.t
test hangs and does not complete. hangs in t/30_loops/60_ev_epoll/k_sig_child.t after failing to find _data_stat_add in POE::Kernel My Versions: perl: 5.10.1 POE: 1.350 EV: 4.03 Test::More 0.98 POE::Loop::EV 0.06 uname -a Linux vm42 2.6.38-8-server #42-Ubuntu SMP Mon Apr 11 03:49:04 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux === 1569 === <ev> enqueued event 11 ``_garbage_collect'' from session 2 to session 2 at 1324455432.27846 at /home/vm42/perl5/lib/perl5/POE/Resource/Events.pm line 94 Can't locate object method "_data_stat_add" via package "POE::Kernel" at /home/vm42/perl5/lib/perl5/POE/Loop/EV.pm line 73. Compilation failed in require at t/30_loops/60_ev_epoll/k_sig_child.t line 13. # Looks like you planned 15 tests but ran 2. # Looks like your test exited with 255 just after 2. [... snip ...] === 1569 === reaping_time_is_up = CODE(0x1056f78) === 1569 === ----- Session POE::Session=ARRAY(0x10572a8) Leak Check ----- -- Namespace (HEAP): $VAR1 = {}; -- Options: === 1569 === default = 1 === 1569 === -- States: === 1569 === _start = CODE(0xbe3b68) === 1569 === _stop = CODE(0x104e3b0) === 1569 === catch = CODE(0x1044b48) === 1569 === got_chld = CODE(0x104e080) === 1569 === got_sigchld = CODE(0x104e2a8) === 1569 === remove_alias = CODE(0x10448c0) [...hangs...]
attaching test-output.err produced when manually running t/30_loops/60_ev_poll/k_sig_child.t
Subject: test-output.err
Download test-output.err
application/octet-stream 24.9k

Message body not shown because it is not plain text.

data_stat is one issue, easily solved by just deleting it from the lib source but even if you do that test fails on k_sig_child.t when run through make test, something about decrementing ref count of a session that does not exist if you run it manually (perl k_sig_child.t) it works! I tried removing require 'begin_epoll.pm'; from k_sig_child.t in 60_ev_epoll and it still fails with make test so it's either a test program bug or a poe bug
Hi, I have updated the module to fix this and other bugs, to support recent versions of POE and EV, to use POE::Test::Loops for testing and POE::Loop::PerlSignals for signal handling. The changes are in my git repo: https://github.com/Grinnz/POE-Loop-EV (changes: https://github.com/Grinnz/POE-Loop-EV/compare/gitpan:master...master) This passes all tests from POE::Test::Loops and I am willing to do a new release if the author wishes.
Test hangs should be fixed in 0.10