Skip Menu |

This queue is for tickets about the POE CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: janne [...] janne.nu
Cc:
AdminCc:

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



Subject: Please mail the following information to bug-POE@rt.cpan.org:
Date: Tue, 28 Mar 2006 10:49:16 +0200
To: bug-POE [...] rt.cpan.org
From: Jan Sundberg <janne [...] janne.nu>
session 2 (POE::Session=ARRAY(0x857f4a8)) can't watch GLOB(0x8583590) in mode 1: session 2 (POE::Session=ARRAY(0x857f4a8)) is already watching it as GLOB(0x857f8a4) (closed) at /usr/lib/perl5/site_perl/5.8.7/POE/Resource/FileHandles.pm line 417 POE::Kernel::_data_handle_add('POE::Kernel=ARRAY(0x83d28dc)', 'GLOB(0x8583590)', 1, 'POE::Session=ARRAY(0x857f4a8)', 'POE::Wheel::SocketFactory(2) -> select connect', 'ARRAY(0x857f910)') called at /usr/lib/perl5/site_perl/5.8.7/POE/Kernel.pm line 2022 POE::Kernel::_internal_select('POE::Kernel=ARRAY(0x83d28dc)', 'POE::Session=ARRAY(0x857f4a8)', 'GLOB(0x8583590)', 'POE::Wheel::SocketFactory(2) -> select connect', 1, 'ARRAY(0x857f910)') called at /usr/lib/perl5/site_perl/5.8.7/POE/Kernel.pm line 2103 POE::Kernel::select_write('POE::Kernel=ARRAY(0x83d28dc)', 'GLOB(0x8583590)', 'POE::Wheel::SocketFactory(2) -> select connect') called at /usr/lib/perl5/site_perl/5.8.7/POE/Wheel/SocketFactory.pm line 344 POE::Wheel::SocketFactory::_define_connect_state('POE::Wheel::SocketFactory=ARRAY(0x857fa0c)') called at /usr/lib/perl5/site_perl/5.8.7/POE/Wheel/SocketFactory.pm line 992 POE::Wheel::SocketFactory::new('POE::Wheel::SocketFactory', 'SocketDomain', 2, 'RemoteAddress', 'localhost', 'RemotePort', 37333, 'SuccessEvent', 'connected', ...) called at msog.pl line 110 main::connect('undef', 'POE::Session=ARRAY(0x857f4a8)', 'POE::Kernel=ARRAY(0x83d28dc)', 'HASH(0x857f250)', 'reconnect', 'POE::Session=ARRAY(0x857f4a8)', 'undef', '/usr/lib/perl5/site_perl/5.8.7/POE/Kernel.pm', 1785, ...) called at /usr/lib/perl5/site_perl/5.8.7/POE/Session.pm line 628 POE::Session::_invoke_state('POE::Session=ARRAY(0x857f4a8)', 'POE::Session=ARRAY(0x857f4a8)', 'reconnect', 'ARRAY(0x8583650)', '/usr/lib/perl5/site_perl/5.8.7/POE/Kernel.pm', 1785, 'input') called at /usr/lib/perl5/site_perl/5.8.7/POE/Kernel.pm line 970 eval {...} called at /usr/lib/perl5/site_perl/5.8.7/POE/Kernel.pm line 956 POE::Kernel::_dispatch_event('POE::Kernel=ARRAY(0x83d28dc)', 'POE::Session=ARRAY(0x857f4a8)', 'POE::Session=ARRAY(0x857f4a8)', 'reconnect', 512, 'ARRAY(0x8583650)', '/usr/lib/perl5/site_perl/5.8.7/POE/Kernel.pm', 1785, 'input', ...) called at /usr/lib/perl5/site_perl/5.8.7/POE/Resource/Events.pm line 256 POE::Kernel::_data_ev_dispatch_due('POE::Kernel=ARRAY(0x83d28dc)') called at /usr/lib/perl5/site_perl/5.8.7/POE/Loop/Select.pm line 313 POE::Kernel::loop_do_timeslice('POE::Kernel=ARRAY(0x83d28dc)') called at /usr/lib/perl5/site_perl/5.8.7/POE/Loop/Select.pm line 321 POE::Kernel::loop_run('POE::Kernel=ARRAY(0x83d28dc)') called at /usr/lib/perl5/site_perl/5.8.7/POE/Kernel.pm line 1205 POE::Kernel::run('POE::Kernel') called at msog.pl line 102
On Tue Mar 28 03:50:34 2006, janne@janne.nu wrote: Show quoted text
> session 2 (POE::Session=ARRAY(0x857f4a8)) can't watch GLOB(0x8583590) > in mode 1: session 2 (POE::Session=ARRAY(0x857f4a8)) is already > watching it as GLOB(0x857f8a4) (closed) at > /usr/lib/perl5/site_perl/5.8.7/POE/Resource/FileHandles.pm line 417
Good morning. Your program appears to have a filehandle leak. This error message means that your code has closed a filehandle that is still being watched by POE. If your program is correct, please try to extract from it a small, stand-alone test case that triggers the error message. I'll be happy to dig for the problem once I can re-create it at will.
Ticket is closed. I've updated the message so POE doesn't take so much responsibility for user errors. Thanks again!