Skip Menu |

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

Report information
The Basics
Id: 18018
Status: open
Priority: 0/
Queue: IO-Socket-INET6

People
Owner: Nobody in particular
Requestors: chriswhite [...] gentoo.org
Cc:
AdminCc:

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



Subject: t/io_sock6 test case freeze at test 11
I was trying to install the module, and come to the make test sequence. What happened was: chrisw IO-Socket-INET6-2.51 # make test PERL_DL_NONLAZY=1 /usr/bin/perl5.8.7 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/io_multihomed6....ok t/io_sock6..........ok 11/20Died at t/io_sock6.t line 39, <GEN5> line 2. t/io_sock6..........dubious Test returned status 4 (wstat 1024, 0x400) It frooze for about 2 minutes at ok 11/20 then finally died out. Here's my system information: Linux chrisw 2.6.15-gentoo-r5 #9 SMP Wed Feb 22 13:08:35 PST 2006 x86_64 Intel(R) Pentium(R) D CPU 2.80GHz GenuineIntel GNU/Linux as the pentium D has EMT64 technology, it should be thought of as an amd64 with regards to any sort of architecture specific functionality.
I've stumbled over the same problem. Problem seems to be the creating of the UDP server in the test: 160 $sock = IO::Socket->new(Domain => AF_INET6, 161 PeerAddr => "localhost:$port") 162 || IO::Socket->new(Domain => AF_INET6, 163 PeerAddr => "[::1]:$port"); If I change the IO::Socket->new to IO::Socket::INET6->new it works. Given that it seems to work with the right domain for TCP sockets (subtest 11) it probably changed something in IO::Socket which causes the shorter version to work for UDP. My System is perl5.8.7 Show quoted text
> t/io_sock6..........ok 11/20Died at t/io_sock6.t line 39, <GEN5> line > 2. > t/io_sock6..........dubious > Test returned status 4 (wstat 1024, 0x400) > > It frooze for about 2 minutes at ok 11/20 then finally died out.