Skip Menu |

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

Report information
The Basics
Id: 27182
Status: resolved
Priority: 0/
Queue: POE-Component-Client-Keepalive

People
Owner: Nobody in particular
Requestors: kevin [...] scaldeferri.com
Cc:
AdminCc:

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



Subject: POE crash
Date: Thu, 17 May 2007 17:13:31 -0700
To: bug-POE [...] rt.cpan.org
From: Kevin Scaldeferri <kevin [...] scaldeferri.com>
This was spit out at the same time that my POE server unexpectedly terminated. I hope this is enough of the information I was supposed to mail. Please mail the following information to bug-POE@rt.cpan.org: <dt> Cannot resolve ``POE::Component::Client::Keepalive=ARRAY (0xd1342c8)'' into a session reference at /home/y/lib/perl5/site_perl/ 5.8/POE/Co\ mponent/Client/Keepalive.pm line 576 POE::Component::Client::Keepalive::free ('POE::Component::Client::Keepalive=ARRAY(0xd1342c8)', 'GLOB (0xd2a0dc4)') called at /home/y/li\ b/perl5/site_perl/5.8/POE/Component/Connection/Keepalive.pm line 44 POE::Component::Connection::Keepalive::DESTROY ('POE::Component::Connection::Keepalive=ARRAY(0xd2c17bc)') called at / home/y/lib/perl5/\ site_perl/5.8/POE/Component/Client/HTTP/Request.pm line 548 eval {...} called at /home/y/lib/perl5/site_perl/5.8/POE/ Component/Client/HTTP/Request.pm line 548 POE::Component::Client::HTTP::Request::DESTROY ('POE::Component::Client::HTTP::Request=ARRAY(0xd286b6c)') called at / home/y/lib/perl5/\ site_perl/5.8/POE/Resource/Events.pm line 268 eval {...} called at /home/y/lib/perl5/site_perl/5.8/POE/ Resource/Events.pm line 268 POE::Kernel::stop('POE::Kernel') called at /home/y/lib/perl5/ site_perl/5.8/POE/Resource/Events.pm line 268 POE::Kernel::_data_ev_dispatch_due('POE::Kernel=ARRAY (0xa268430)') called at /home/y/lib/perl5/site_perl/5.8/POE/Loop/ Select.pm line \ 315 POE::Kernel::loop_do_timeslice('POE::Kernel=ARRAY (0xa268430)') called at /home/y/lib/perl5/site_perl/5.8/POE/Loop/ Select.pm line 323 POE::Kernel::loop_run('POE::Kernel=ARRAY(0xa268430)') called at /home/y/lib/perl5/site_perl/5.8/POE/Kernel.pm line 1255 POE::Kernel::run('POE::Kernel') called at /home/y/lib/perl5/ site_perl/5.8/Coma/POE/Forensics.pm line 229 Coma::POE::Forensics::run('DispatchTable', 'HASH (0xa8854bc)', 'Started', 'CODE(0xa7efae8)', 'Handlers', 'ARRAY (0x9e6c888)') called at\ src/comaforensicsmastercontrolprogram line 72 -kevin
Hi, Kevin. It looks like this is caused by out-of-order destruction between the PoCo::Client::Keepalive object and the session for which it's acting as an interface. The solution seems to be to flag the object as already shut-down when the session catches _stop. That's what I've done for 0.1001. Thanks for the report!