Skip Menu |

This queue is for tickets about the IO-Async CPAN distribution.

Report information
The Basics
Id: 122548
Status: new
Priority: 0/
Queue: IO-Async

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

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



Subject: resolver falls into an endless write loop under komodo ide 7.1 interactive debugging
The following behavior does not happen when run on the command line without -d, or with normal -d. from irc: 20 13:13 (LeoNerd) Huhwait... that's writing... repeatedly. 20 13:13 (LeoNerd) Highly odd 20 13:14 (LeoNerd) After lunch I'll have a look st putting in some more debug state in IaFunction so we can see why -- use IO::Async::Loop; use IO::Async::Debug; $ENV{IO_ASYNC_DEBUG_SW} = 1; print IO::Async::Loop->VERSION . "\n"; $IO::Async::Debug::DEBUG = 2000; $IO::Async::Debug::DEBUG_FLAGS{Sw} = 1; IO::Async::Loop->new->connect( host => "abc", service => 80, socktype => 'stream', on_stream => sub { }, on_resolve_error => sub { die }, on_connect_error => sub { die }, ); __END__ 0.71 [Ia:Resolver] CALL getaddrinfo abc:80 [Ia:Stream{w=9}<-Ia:Channel<-Ia:Function::Worker<-Ia:Resolver] WRITE len=62 | 3A 00 00 00 3D F3 72 6C 03 00 28 2B 0A 6B 67 65 | :...=.rl..(+.kge | | 74 61 64 64 72 69 6E 66 6F 0A 64 68 6F 73 74 63 | taddrinfo.dhostc | | 61 62 63 67 73 65 72 76 69 63 65 20 50 65 66 6C | abcgservice Pefl | | 61 67 73 00 68 73 6F 63 6B 74 79 70 65 01 | ags.hsocktype. | [Ia:Stream{w=9}<-Ia:Channel<-Ia:Function::Worker<-Ia:Resolver] WRITE len=62 | 3A 00 00 00 3D F3 72 6C 03 00 28 2B 0A 6B 67 65 | :...=.rl..(+.kge | | 74 61 64 64 72 69 6E 66 6F 0A 64 68 6F 73 74 63 | taddrinfo.dhostc | | 61 62 63 67 73 65 72 76 69 63 65 20 50 65 66 6C | abcgservice Pefl | | 61 67 73 00 68 73 6F 63 6B 74 79 70 65 01 | ags.hsocktype. | [Ia:Stream{w=9}<-Ia:Channel<-Ia:Function::Worker<-Ia:Resolver] WRITE len=62 | 3A 00 00 00 3D F3 72 6C 03 00 28 2B 0A 6B 67 65 | :...=.rl..(+.kge | | 74 61 64 64 72 69 6E 66 6F 0A 64 68 6F 73 74 63 | taddrinfo.dhostc | | 61 62 63 67 73 65 72 76 69 63 65 20 50 65 66 6C | abcgservice Pefl | | 61 67 73 00 68 73 6F 63 6B 74 79 70 65 01 | ags.hsocktype. | ... # ad infinitum