Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the POE-Component-MessageQueue CPAN distribution.

Report information
The Basics
Id: 52721
Status: resolved
Priority: 0/
Queue: POE-Component-MessageQueue

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

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



Subject: test fails in 07_send_disconnect_send.t at stop_mq()
I'm having trouble getting the tests to pass. The first test that fails is the last test (test 8) in 07_send_disconnect_send.t where it does: ok(stop_mq($pid), 'MQ shut down.'); I tried to do some debugging and in stop_mq() there is: sub stop_mq { my $pid = shift; return (kill('TERM', $pid) == 1) && (waitpid($pid, 0) == $pid) && ($? == 0); } I put some debugging prints and get the following values: pid: 31631 kill returns: 1 waitpid returns: 31631 $? is: 65280 I am running this on ubuntu 9.10. I tried on a 32 bit and 64 bit machine.
Also, it may be useful to know that during that test this is printed: <sg> Kernel now running in a different process (is=31631 was=31630). You must c all call $poe_kernel->has_forked in the child process. ----- at /usr/local/share/perl/5.10.0/POE/Resource/Signals.pm line 793 POE::Kernel::_data_sig_pipe_send('POE::Kernel', 'TERM') called at /usr/l ocal/share/perl/5.10.0/POE/Loop/PerlSignals.pm line 27 POE::Kernel::_loop_signal_handler_generic('TERM') called at /usr/local/s hare/perl/5.10.0/POE/Loop/Select.pm line 199 eval {...} called at /usr/local/share/perl/5.10.0/POE/Loop/Select.pm lin e 199 POE::Kernel::loop_do_timeslice('POE::Kernel=ARRAY(0x8fca0d8)') called at /usr/local/share/perl/5.10.0/POE/Loop/Select.pm line 323 POE::Kernel::loop_run('POE::Kernel=ARRAY(0x8fca0d8)') called at /usr/loc al/share/perl/5.10.0/POE/Kernel.pm line 1261 POE::Kernel::run('POE::Kernel=ARRAY(0x8fca0d8)') called at t/lib/POE/Com ponent/MessageQueue/Test/MQ.pm line 46 POE::Component::MessageQueue::Test::MQ::start_mq() called at t/07_send_d isconnect_send.t line 14