Skip Menu |

This queue is for tickets about the Net-DNS CPAN distribution.

Report information
The Basics
Id: 5233
Status: resolved
Priority: 0/
Queue: Net-DNS

People
Owner: rt-cpan [...] triv.org
Requestors: chris [...] fatorange.com
Cc:
AdminCc:

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



Subject: Windows issues - Net::DNS::Select crashes(!) / probably obsolete; UDP status
Hi all, I'm working with the current build of Net::DNS with the current ActiveState 5.8 build and came across the following issues on both Windows 98 and XP: When a query times out; Net::DNS::Select's can_read() returns something really bogus which causes the perl process to exit when it's accessed. For example: my @ready = $sel->can_read($timeout); # fine here foreach my $ready (@ready) { # crash here! If there's a reply, this works correct. The first thing I did was to pull out Net::DNS::Select and use IO::Select instead, and it worked like a charm. There's a note saying the Net::DNS::Select wrapper is obsolete - everything seems to work fine without on my configurations. Also, why is the udp support deactivated in Win32.pm? Works fine for me too; this default fallback to TCP can be really ugly when there are communication problems, since there is no pre-defined TCP timeout, meaning Net::DNS will wait 2 minutes per query(!)...
From: philippe.simonet [...] swisscom.com
yes, this is the same remark as here https://rt.cpan.org/NoAuth/Bug.html?id=4293 On my system the IO:Select is workinig, well, please remove the bad emulation from Select.pm. Philippe
From: Chris
Yep, though https://rt.cpan.org/NoAuth/Bug.html?id=4293 states 'resolved' Net::DNS::Select still does this.
From: Chris Reinhardt <chris [...] dyndns.org>
Subject: Re: [cpan #5233] Windows issues - Net::DNS::Select crashes(!) / probably obsolete; UDP status
Date: Mon, 9 Feb 2004 19:15:57 -0500
To: bug-Net-DNS [...] rt.cpan.org
RT-Send-Cc:
On Feb 9, 2004, at 12:14 PM, Guest via RT wrote: Show quoted text
> Yep, though https://rt.cpan.org/NoAuth/Bug.html?id=4293 > states 'resolved' Net::DNS::Select still does this.
Yes. I was waiting for more reports on this, as I was not willing to make a change based on a single report. Given that there is more feedback coming in now, I plan to remove Net::DNS::Select from the package and turn on UDP support with windows. -- Chris Reinhardt -- chris@dyndns.org -- http://www.dyndns.org/ The power of accurate observation is frequently called cynicism by those who don't have it. --George Bernard Shaw
The latest CPAN release (0.45_01) has had the Net::DNS::Select module removed, and udp turned on for windows. While testing of developer releases is limited, I haven't heard anything bad on this front. I hope to release a stable CPAN release this weekend with the windows changes in it. -- Chris Reinhardt -- chris@dyndns.org -- http://www.dyndns.org/ I stayed up all night playing poker with tarot cards. I got a full house and four people died. --Steven Wright
From: Chris
[CREIN - Sat Feb 21 01:02:52 2004]: Show quoted text
> The latest CPAN release (0.45_01) has had the Net::DNS::Select module > removed, and udp > turned on for windows. While testing of developer releases is > limited, I haven't heard > anything bad on this front. I hope to release a stable CPAN release > this weekend with the > windows changes in it.
Great, thanks a lot! =)