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.