Skip Menu |
 

This queue is for tickets about the Danga-Socket CPAN distribution.

Report information
The Basics
Id: 21751
Status: open
Priority: 0/
Queue: Danga-Socket

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

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



Subject: test hangs on MSWin32
Download (untitled) / with headers
text/plain 517b
ActiveState perl v5.8.7 built for MSWin32-x86-multi-thread Binary build 813 t/05-postloop.....ok 14/17Base class event_err called for Danga::Socket=ARRAY(0x1ade1b0) # Looks like you planned 17 tests but only ran 15. # Looks like your test died just after 15. t/05-postloop.....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 16-17 Failed 2/17 tests, 88.24% okay t/10-events.......ok 1/34 hangs here. Same error on Vanilla Perl. ------- Alexandr Ciornii, http://chorny.net
From: Alexandr Ciornii <alexchorny [...] gmail.com>
Also hangs on 1.54.
Download (untitled) / with headers
text/plain 451b
I've traced this issue to not being able to set non-blocking sockets. E.g. 10/event.t has lines like this: IO::Handle::blocking($sock, 0); The tests can be made to fail instead of later hanging by just checking the return value, e.g.: IO::Handle::blocking($sock, 0) or die "Couldn't set nonblocking socket: $!"; Alternatively, there do seem to be some ways to do non-blocking sockets on Win32. See http://www.perlmonks.org/?node_id=529812


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.