Skip Menu |

This queue is for tickets about the POE CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: lokchungk [...] hotmail.com
Cc:
AdminCc:

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



Subject: Bug imformation report
Date: Mon, 21 Apr 2008 19:05:59 +0800
To: <bug-POE [...] rt.cpan.org>
From: "Baggio" <lokchungk [...] hotmail.com>
I receive that while I'm using Module POE I've just run two of the example script(tcp_watermarks.pl && wheels2.pl ) at the same port than, it crash. is it common? here is the bug information ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please mail the following information to bug-POE@rt.cpan.org: ================================================================================ ioctl(GLOB(0x1829d4c), FIONBIO, 1) fails: errno 10038 = Unknown error at C:/Perl/lib/POE/Resource/FileHandles.pm line 354 POE::Kernel::_data_handle_add('POE::Kernel=ARRAY(0x19fc44c)', 'GLOB(0x1829d4c)', 0, 'POE::Session=ARRAY(0x1c76d24)', 'POE::Wheel::ReadWrite(2) -> select read', 'ARRAY(0x1b173dc)') called at C:/Perl/lib/POE/Kernel.pm line 2053 POE::Kernel::_internal_select('POE::Kernel=ARRAY(0x19fc44c)', 'POE::Sess ion=ARRAY(0x1c76d24)', 'GLOB(0x1829d4c)', 'POE::Wheel::ReadWrite(2) -> select re ad', 0, 'ARRAY(0x1b173dc)') called at C:/Perl/lib/POE/Kernel.pm line 2111 POE::Kernel::select_read('POE::Kernel=ARRAY(0x19fc44c)', 'GLOB(0x1829d4c )', 'POE::Wheel::ReadWrite(2) -> select read') called at C:/Perl/lib/POE/Wheel/R eadWrite.pm line 326 POE::Wheel::ReadWrite::_define_read_state('POE::Wheel::ReadWrite=ARRAY(0 x1ce54f4)') called at C:/Perl/lib/POE/Wheel/ReadWrite.pm line 146 POE::Wheel::ReadWrite::new('POE::Wheel::ReadWrite', 'InputHandle', 'GLOB (0x1829d4c)', 'OutputHandle', 'GLOB(0x1829ddc)', 'Driver', 'POE::Driver::SysRW=A RRAY(0x1c76fc4)', 'Filter', 'POE::Filter::Stream=SCALAR(0x1cd5fb4)', ...) called at D:\Prog_Project\Perl Project\POE\wheels2.pl line 49 main::session_connect_success(undef, 'POE::Session=ARRAY(0x1c76d24)', 'P OE::Kernel=ARRAY(0x19fc44c)', 'HASH(0x1c76ca4)', 'connect_success', 'POE::Sessio n=ARRAY(0x1c76d24)', undef, 'C:/Perl/lib/POE/Wheel/SocketFactory.pm', 310, ...) called at C:/Perl/lib/POE/Session.pm line 465 POE::Session::_invoke_state('POE::Session=ARRAY(0x1c76d24)', 'POE::Sessi on=ARRAY(0x1c76d24)', 'connect_success', 'ARRAY(0x1afd624)', 'C:/Perl/lib/POE/Wh eel/SocketFactory.pm', 310, 'POE::Wheel::SocketFactory(1) -> select connect') ca lled at C:/Perl/lib/POE/Kernel.pm line 1701 POE::Kernel::call('POE::Kernel=ARRAY(0x19fc44c)', 'POE::Session=ARRAY(0x 1c76d24)', 'connect_success', 'GLOB(0x1c76ea4)', '\x{7f}\x{0}\x{0}\x{1}', 23, 1) called at C:/Perl/lib/POE/Wheel/SocketFactory.pm line 310 POE::Wheel::SocketFactory::__ANON__(undef, 'POE::Session=ARRAY(0x1c76d24 )', 'POE::Kernel=ARRAY(0x19fc44c)', 'HASH(0x1c76ca4)', 'POE::Wheel::SocketFactor y(1) -> select connect', 'POE::Session=ARRAY(0x1c76d24)', undef, 'C:/Perl/lib/PO E/Resource/FileHandles.pm', 254, ...) called at C:/Perl/lib/POE/Session.pm line 465 POE::Session::_invoke_state('POE::Session=ARRAY(0x1c76d24)', 'POE::Sessi on=ARRAY(0x1c76d24)', 'POE::Wheel::SocketFactory(1) -> select connect', 'ARRAY(0 x1c76c44)', 'C:/Perl/lib/POE/Resource/FileHandles.pm', 254, undef) called at C:/ Perl/lib/POE/Kernel.pm line 1012 eval {...} called at C:/Perl/lib/POE/Kernel.pm line 998 POE::Kernel::_dispatch_event('POE::Kernel=ARRAY(0x19fc44c)', 'POE::Sessi on=ARRAY(0x1c76d24)', 'POE::Session=ARRAY(0x1c76d24)', 'POE::Wheel::SocketFactor y(1) -> select connect', 1024, 'ARRAY(0x1c76c44)', 'C:/Perl/lib/POE/Resource/Fil eHandles.pm', 254, undef, ...) called at C:/Perl/lib/POE/Resource/Events.pm line 257 POE::Kernel::_data_ev_dispatch_due('POE::Kernel=ARRAY(0x19fc44c)') calle d at C:/Perl/lib/POE/Loop/Select.pm line 315 POE::Kernel::loop_do_timeslice('POE::Kernel=ARRAY(0x19fc44c)') called at C:/Perl/lib/POE/Loop/Select.pm line 323 POE::Kernel::loop_run('POE::Kernel=ARRAY(0x19fc44c)') called at C:/Perl/ lib/POE/Kernel.pm line 1254 POE::Kernel::run('POE::Kernel=ARRAY(0x19fc44c)') called at D:\Prog_Proje ct\Perl Project\POE\wheels2.pl line 154 Please mail the following information to bug-POE@rt.cpan.org: ioctl(GLOB(0x1829d4c), FIONBIO, 1) fails: errno 10038 = Unknown error at C:/Perl/lib/POE/Resource/FileHandles.pm line 354 POE::Kernel::_data_handle_add('POE::Kernel=ARRAY(0x19fc44c)', 'GLOB(0x18 29d4c)', 0, 'POE::Session=ARRAY(0x1c76d24)', 'POE::Wheel::ReadWrite(2) -> select read', 'ARRAY(0x1b173dc)') called at C:/Perl/lib/POE/Kernel.pm line 2053 POE::Kernel::_internal_select('POE::Kernel=ARRAY(0x19fc44c)', 'POE::Sess ion=ARRAY(0x1c76d24)', 'GLOB(0x1829d4c)', 'POE::Wheel::ReadWrite(2) -> select re ad', 0, 'ARRAY(0x1b173dc)') called at C:/Perl/lib/POE/Kernel.pm line 2111 POE::Kernel::select_read('POE::Kernel=ARRAY(0x19fc44c)', 'GLOB(0x1829d4c )', 'POE::Wheel::ReadWrite(2) -> select read') called at C:/Perl/lib/POE/Wheel/R eadWrite.pm line 326 POE::Wheel::ReadWrite::_define_read_state('POE::Wheel::ReadWrite=ARRAY(0 x1ce54f4)') called at C:/Perl/lib/POE/Wheel/ReadWrite.pm line 146 POE::Wheel::ReadWrite::new('POE::Wheel::ReadWrite', 'InputHandle', 'GLOB (0x1829d4c)', 'OutputHandle', 'GLOB(0x1829ddc)', 'Driver', 'POE::Driver::SysRW=A RRAY(0x1c76fc4)', 'Filter', 'POE::Filter::Stream=SCALAR(0x1cd5fb4)', ...) called at D:\Prog_Project\Perl Project\POE\wheels2.pl line 49 main::session_connect_success(undef, 'POE::Session=ARRAY(0x1c76d24)', 'P OE::Kernel=ARRAY(0x19fc44c)', 'HASH(0x1c76ca4)', 'connect_success', 'POE::Sessio n=ARRAY(0x1c76d24)', undef, 'C:/Perl/lib/POE/Wheel/SocketFactory.pm', 310, ...) called at C:/Perl/lib/POE/Session.pm line 465 POE::Session::_invoke_state('POE::Session=ARRAY(0x1c76d24)', 'POE::Sessi on=ARRAY(0x1c76d24)', 'connect_success', 'ARRAY(0x1afd624)', 'C:/Perl/lib/POE/Wh eel/SocketFactory.pm', 310, 'POE::Wheel::SocketFactory(1) -> select connect') ca lled at C:/Perl/lib/POE/Kernel.pm line 1701 POE::Kernel::call('POE::Kernel=ARRAY(0x19fc44c)', 'POE::Session=ARRAY(0x 1c76d24)', 'connect_success', 'GLOB(0x1c76ea4)', '\x{7f}\x{0}\x{0}\x{1}', 23, 1) called at C:/Perl/lib/POE/Wheel/SocketFactory.pm line 310 POE::Wheel::SocketFactory::__ANON__(undef, 'POE::Session=ARRAY(0x1c76d24 )', 'POE::Kernel=ARRAY(0x19fc44c)', 'HASH(0x1c76ca4)', 'POE::Wheel::SocketFactor y(1) -> select connect', 'POE::Session=ARRAY(0x1c76d24)', undef, 'C:/Perl/lib/PO E/Resource/FileHandles.pm', 254, ...) called at C:/Perl/lib/POE/Session.pm line 465 POE::Session::_invoke_state('POE::Session=ARRAY(0x1c76d24)', 'POE::Sessi on=ARRAY(0x1c76d24)', 'POE::Wheel::SocketFactory(1) -> select connect', 'ARRAY(0 x1c76c44)', 'C:/Perl/lib/POE/Resource/FileHandles.pm', 254, undef) called at C:/ Perl/lib/POE/Kernel.pm line 1012 eval {...} called at C:/Perl/lib/POE/Kernel.pm line 998 POE::Kernel::_dispatch_event('POE::Kernel=ARRAY(0x19fc44c)', 'POE::Sessi on=ARRAY(0x1c76d24)', 'POE::Session=ARRAY(0x1c76d24)', 'POE::Wheel::SocketFactor y(1) -> select connect', 1024, 'ARRAY(0x1c76c44)', 'C:/Perl/lib/POE/Resource/Fil eHandles.pm', 254, undef, ...) called at C:/Perl/lib/POE/Resource/Events.pm line 257 POE::Kernel::_data_ev_dispatch_due('POE::Kernel=ARRAY(0x19fc44c)') calle d at C:/Perl/lib/POE/Loop/Select.pm line 315 POE::Kernel::loop_do_timeslice('POE::Kernel=ARRAY(0x19fc44c)') called at C:/Perl/lib/POE/Loop/Select.pm line 323 POE::Kernel::loop_run('POE::Kernel=ARRAY(0x19fc44c)') called at C:/Perl/ lib/POE/Kernel.pm line 1254 POE::Kernel::run('POE::Kernel=ARRAY(0x19fc44c)') called at D:\Prog_Proje ct\Perl Project\POE\wheels2.pl line 154 Please mail the following information to bug-POE@rt.cpan.org: ioctl(GLOB(0x1829d4c), FIONBIO, 1) fails: errno 10038 = Unknown error at C:/Perl/lib/POE/Resource/FileHandles.pm line 354 POE::Kernel::_data_handle_add('POE::Kernel=ARRAY(0x19fc44c)', 'GLOB(0x18 29d4c)', 0, 'POE::Session=ARRAY(0x1c76d24)', 'POE::Wheel::ReadWrite(2) -> select read', 'ARRAY(0x1b173dc)') called at C:/Perl/lib/POE/Kernel.pm line 2053 POE::Kernel::_internal_select('POE::Kernel=ARRAY(0x19fc44c)', 'POE::Sess ion=ARRAY(0x1c76d24)', 'GLOB(0x1829d4c)', 'POE::Wheel::ReadWrite(2) -> select re ad', 0, 'ARRAY(0x1b173dc)') called at C:/Perl/lib/POE/Kernel.pm line 2111 POE::Kernel::select_read('POE::Kernel=ARRAY(0x19fc44c)', 'GLOB(0x1829d4c )', 'POE::Wheel::ReadWrite(2) -> select read') called at C:/Perl/lib/POE/Wheel/R eadWrite.pm line 326 POE::Wheel::ReadWrite::_define_read_state('POE::Wheel::ReadWrite=ARRAY(0 x1ce54f4)') called at C:/Perl/lib/POE/Wheel/ReadWrite.pm line 146 POE::Wheel::ReadWrite::new('POE::Wheel::ReadWrite', 'InputHandle', 'GLOB (0x1829d4c)', 'OutputHandle', 'GLOB(0x1829ddc)', 'Driver', 'POE::Driver::SysRW=A RRAY(0x1c76fc4)', 'Filter', 'POE::Filter::Stream=SCALAR(0x1cd5fb4)', ...) called at D:\Prog_Project\Perl Project\POE\wheels2.pl line 49 main::session_connect_success(undef, 'POE::Session=ARRAY(0x1c76d24)', 'P OE::Kernel=ARRAY(0x19fc44c)', 'HASH(0x1c76ca4)', 'connect_success', 'POE::Sessio n=ARRAY(0x1c76d24)', undef, 'C:/Perl/lib/POE/Wheel/SocketFactory.pm', 310, ...) called at C:/Perl/lib/POE/Session.pm line 465 POE::Session::_invoke_state('POE::Session=ARRAY(0x1c76d24)', 'POE::Sessi on=ARRAY(0x1c76d24)', 'connect_success', 'ARRAY(0x1afd624)', 'C:/Perl/lib/POE/Wh eel/SocketFactory.pm', 310, 'POE::Wheel::SocketFactory(1) -> select connect') ca lled at C:/Perl/lib/POE/Kernel.pm line 1701 POE::Kernel::call('POE::Kernel=ARRAY(0x19fc44c)', 'POE::Session=ARRAY(0x 1c76d24)', 'connect_success', 'GLOB(0x1c76ea4)', '\x{7f}\x{0}\x{0}\x{1}', 23, 1) called at C:/Perl/lib/POE/Wheel/SocketFactory.pm line 310 POE::Wheel::SocketFactory::__ANON__(undef, 'POE::Session=ARRAY(0x1c76d24 )', 'POE::Kernel=ARRAY(0x19fc44c)', 'HASH(0x1c76ca4)', 'POE::Wheel::SocketFactor y(1) -> select connect', 'POE::Session=ARRAY(0x1c76d24)', undef, 'C:/Perl/lib/PO E/Resource/FileHandles.pm', 254, ...) called at C:/Perl/lib/POE/Session.pm line 465 POE::Session::_invoke_state('POE::Session=ARRAY(0x1c76d24)', 'POE::Sessi on=ARRAY(0x1c76d24)', 'POE::Wheel::SocketFactory(1) -> select connect', 'ARRAY(0 x1c76c44)', 'C:/Perl/lib/POE/Resource/FileHandles.pm', 254, undef) called at C:/ Perl/lib/POE/Kernel.pm line 1012 eval {...} called at C:/Perl/lib/POE/Kernel.pm line 998 POE::Kernel::_dispatch_event('POE::Kernel=ARRAY(0x19fc44c)', 'POE::Session=ARRAY(0x1c76d24)', 'POE::Session=ARRAY(0x1c76d24)', 'POE::Wheel::SocketFactor y(1) -> select connect', 1024, 'ARRAY(0x1c76c44)', 'C:/Perl/lib/POE/Resource/FileHandles.pm', 254, undef, ...) called at C:/Perl/lib/POE/Resource/Events.pm line 257 POE::Kernel::_data_ev_dispatch_due('POE::Kernel=ARRAY(0x19fc44c)') called at C:/Perl/lib/POE/Loop/Select.pm line 315 POE::Kernel::loop_do_timeslice('POE::Kernel=ARRAY(0x19fc44c)') called at C:/Perl/lib/POE/Loop/Select.pm line 323 POE::Kernel::loop_run('POE::Kernel=ARRAY(0x19fc44c)') called at C:/Perl/lib/POE/Kernel.pm line 1254 POE::Kernel::run('POE::Kernel=ARRAY(0x19fc44c)') called at D:\Prog_Project\Perl Project\POE\wheels2.pl line 154 ================================================================================= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ thank you best regard; Baggio Kwok

Message body is not shown because it is too large.

On Mon Apr 21 06:52:30 2008, lokchungk@hotmail.com wrote: Show quoted text
> I receive that while I'm using Module POE > I've just run two of the example script(tcp_watermarks.pl && > wheels2.pl ) > at the same port > than, it crash. > > is it common? > > here is the bug information
[...] Thank you for the bug report. It's most likely a bug in tcp_watermarks.pl or wheels2.pl. Error 10038 is a Windows error. I tried running both examples on UNIX, but I don't get the error. I would like to be sure it's not a bug in POE, so I will need to try this on Windows the next time I'm running it.
Hello, I've followed up on your bug on my windows VM. After some digging around and consulting with other POE authors, we have reached the unfortunate conclusion. MSWin32 does not support select() on the console ( STDIN/STDOUT ) and we have put it on our TODO to investigate this when the situation gets better. When I looked around for a quick solution, I came across Win32::Console. However upon investigation, it would require some more coding in order to integrate it with POE. Maybe someday somebody will do that! ( hint hint :) Thanks again for taking the time to play around with the example and reporting it to us! We've added a sanity check to the example so it will let you know that it won't work on Win32 instead of throwing an unhelpful error message. -- ~Apocalypse