Skip Menu |

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

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

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

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



Subject: Hard crash in Win32 ActiveState perl 5.8.x when too many sockets
The attached perl script causes an exception and hard crash of the perl process when run with ActiveState perl 5.8.x using Net::DNS 0.48 in Windows XP (both SP1 and SP2). I have been told it also crashes in Windows 2000. It appears to have something to do with the number of sockets, not the specific addresses and ports used. I suspect something like a buffer overflow in IO::Sockets or IO::Select, but I have not pursued converting this into a test case that does not use Net::DNS. This test case was distilled from a crash case in a bug report in SpamAssassin at http://bugzilla.spamassassin.org/show_bug.cgi?id=3924 There may not be any way for Net::DNS to work around this if it is indeed a problem in IO::whatever or a Windows limitation, but I'm posting this here to get it documented.

Message body is not shown because it is too large.

[guest - Fri Oct 29 23:19:00 2004]: Show quoted text
> The attached perl script causes an exception and hard crash of the > perl process when run with ActiveState perl 5.8.x using Net::DNS > 0.48 in Windows XP (both SP1 and SP2). I have been told it also > crashes in Windows 2000. >
I have just downloaded and installed Active Perl v.5.8.6 binary build 811 on my Windows XP SP2. The demotest.pm project runs without complaints. I also tried cygwin perl also no problems. puzzled. Stalling the ticket for now. Will close it if there is no (re)action in the next month or so. --Olaf
From: sidney [...] sidney.com
Since I first reported the bug I had a disk crash and reinstalled XP with perl 5.8.6. The test case works for me there too. It still crashed on another machine that runs 5.8.4. Just to make sure I uninstalled and reinstalled a fresh 5.8.4 on the machine where it worked. That crashed. Uninstalled and reinstalled 5.8.6 and no crash. I guess whatever the problem was has been fixed. -- sidney