Skip Menu |

This queue is for tickets about the POE CPAN distribution.

Report information
The Basics
Id: 19455
Status: resolved
Priority: 0/
Queue: POE

People
Owner: Nobody in particular
Requestors: patrick.viet [...] gmail.com
Cc:
AdminCc:

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



Subject: bug in poe (crash ?)
Date: Wed, 24 May 2006 00:45:46 +0200
To: bug-POE [...] rt.cpan.org
From: "Patrick Viet" <patrick.viet [...] gmail.com>
Please mail the following information to bug-POE@rt.cpan.org: session 2 (POE::Session=ARRAY(0x87dfd4c)) can't watch IO::Socket::INET=GLOB(0x8bffb68) in mode 0: session 2 (POE::Session=ARRAY(0x87dfd4c)) is already watching it as IO::Socket::INET=GLOB(0x916609c) (closed) at /usr/local/share/perl/5.8.4/POE/Resource/FileHandles.pm line 417 POE::Kernel::_data_handle_add('POE::Kernel=ARRAY(0x8194828)', 'IO::Socket::INET=GLOB(0x8bffb68)', 0, 'POE::Session=ARRAY(0x87dfd4c)', 'dns_response_mx', 'ARRAY(0x8b2f070)') called at /usr/local/share/perl/5.8.4/POE/Kernel.pm line 2035 POE::Kernel::_internal_select('POE::Kernel=ARRAY(0x8194828)', 'POE::Session=ARRAY(0x87dfd4c)', 'IO::Socket::INET=GLOB(0x8bffb68)', 'dns_response_mx', 0, 'ARRAY(0x8b2f070)') called at /usr/local/share/perl/5.8.4/POE/Kernel.pm line 2093 POE::Kernel::select_read('POE::Kernel=ARRAY(0x8194828)', 'IO::Socket::INET=GLOB(0x8bffb68)', 'dns_response_mx', 3808) called at ./send.pl line 341 main::dns_query('neuf.fr', 'mx', 'HASH(0x88bba08)', 'neuf.fr') called at ./send.pl line 211 main::build_socks('undef', 'POE::Session=ARRAY(0x87dfd4c)', 'POE::Kernel=ARRAY(0x8194828)', 'HASH(0x8c47f08)', 'build_socks', 'POE::Session=ARRAY(0x87dfd4c)', 'undef', './send.pl', 527, ...) called at /usr/local/share/perl/5.8.4/POE/Session.pm line 629 POE::Session::_invoke_state('POE::Session=ARRAY(0x87dfd4c)', 'POE::Session=ARRAY(0x87dfd4c)', 'build_socks', 'ARRAY(0x8b22474)', './send.pl', 527, 'cron2s') called at /usr/local/share/perl/5.8.4/POE/Kernel.pm line 983 eval {...} called at /usr/local/share/perl/5.8.4/POE/Kernel.pm line 969 POE::Kernel::_dispatch_event('POE::Kernel=ARRAY(0x8194828)', 'POE::Session=ARRAY(0x87dfd4c)', 'POE::Session=ARRAY(0x87dfd4c)', 'build_socks', 1, 'ARRAY(0x8b22474)', './send.pl', 527, 'cron2s', ...) called at /usr/local/share/perl/5.8.4/POE/Resource/Events.pm line 256 POE::Kernel::_data_ev_dispatch_due('POE::Kernel=ARRAY(0x8194828)') called at /usr/local/share/perl/5.8.4/POE/Loop/Select.pm line 313 POE::Kernel::loop_do_timeslice('POE::Kernel=ARRAY(0x8194828)') called at /usr/local/share/perl/5.8.4/POE/Loop/Select.pm line 321 POE::Kernel::loop_run('POE::Kernel=ARRAY(0x8194828)') called at /usr/local/share/perl/5.8.4/POE/Kernel.pm line 1218 POE::Kernel::run('POE::Kernel=ARRAY(0x8194828)') called at ./send.pl line 123 session 2 (POE::Session=ARRAY(0x87dfd4c)) can't watch IO::Socket::INET=GLOB(0x8bffb68) in mode 0: session 2 (POE::Session=ARRAY(0x87dfd4c)) is already watching it as IO::Socket::INET=GLOB(0x916609c) (closed) at /usr/local/share/perl/5.8.4/POE/Resource/FileHandles.pm line 417 POE::Kernel::_data_handle_add('POE::Kernel=ARRAY(0x8194828)', 'IO::Socket::INET=GLOB(0x8bffb68)', 0, 'POE::Session=ARRAY(0x87dfd4c)', 'dns_response_mx', 'ARRAY(0x8b2f070)') called at /usr/local/share/perl/5.8.4/POE/Kernel.pm line 2035 POE::Kernel::_internal_select('POE::Kernel=ARRAY(0x8194828)', 'POE::Session=ARRAY(0x87dfd4c)', 'IO::Socket::INET=GLOB(0x8bffb68)', 'dns_response_mx', 0, 'ARRAY(0x8b2f070)') called at /usr/local/share/perl/5.8.4/POE/Kernel.pm line 2093 POE::Kernel::select_read('POE::Kernel=ARRAY(0x8194828)', 'IO::Socket::INET=GLOB(0x8bffb68)', 'dns_response_mx', 3808) called at ./send.pl line 341 main::dns_query('neuf.fr', 'mx', 'HASH(0x88bba08)', 'neuf.fr') called at ./send.pl line 211 main::build_socks('undef', 'POE::Session=ARRAY(0x87dfd4c)', 'POE::Kernel=ARRAY(0x8194828)', 'HASH(0x8c47f08)', 'build_socks', 'POE::Session=ARRAY(0x87dfd4c)', 'undef', './send.pl', 527, ...) called at /usr/local/share/perl/5.8.4/POE/Session.pm line 629 POE::Session::_invoke_state('POE::Session=ARRAY(0x87dfd4c)', 'POE::Session=ARRAY(0x87dfd4c)', 'build_socks', 'ARRAY(0x8b22474)', './send.pl', 527, 'cron2s') called at /usr/local/share/perl/5.8.4/POE/Kernel.pm line 983 eval {...} called at /usr/local/share/perl/5.8.4/POE/Kernel.pm line 969 POE::Kernel::_dispatch_event('POE::Kernel=ARRAY(0x8194828)', 'POE::Session=ARRAY(0x87dfd4c)', 'POE::Session=ARRAY(0x87dfd4c)', 'build_socks', 1, 'ARRAY(0x8b22474)', './send.pl', 527, 'cron2s', ...) called at /usr/local/share/perl/5.8.4/POE/Resource/Events.pm line 256 POE::Kernel::_data_ev_dispatch_due('POE::Kernel=ARRAY(0x8194828)') called at /usr/local/share/perl/5.8.4/POE/Loop/Select.pm line 313 POE::Kernel::loop_do_timeslice('POE::Kernel=ARRAY(0x8194828)') called at /usr/local/share/perl/5.8.4/POE/Loop/Select.pm line 321 POE::Kernel::loop_run('POE::Kernel=ARRAY(0x8194828)') called at /usr/local/share/perl/5.8.4/POE/Kernel.pm line 1218 POE::Kernel::run('POE::Kernel=ARRAY(0x8194828)') called at ./send.pl line 123
Thanks for the bug report. The message is related to a file descriptor leak in your code, not a problem within POE itself. I've fixed the message so that POE won't take so much responsibility for this problem in the future.