Subject: jdresolve: Random crashes without explicit error message
Date: Fri, 29 Apr 2005 13:48:26 +0300
Package: jdresolve
Version: 0.6.1-4
Severity: important
Hi,
jdresolve crashed from time to time with the following error message:
Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/Net/DNS/Packet.pm line 333, <FILE> line 10044.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages jdresolve depends on:
ii libnet-dns-perl 0.48-1 Perform DNS queries from a Perl sc
ii perl 5.8.4-8 Larry Wall's Practical Extraction
-- no debconf information
<#secure method=pgpmime mode=sign>
--
Cyril Bouthors
Subject: Re: Bug#306911: jdresolve: Random crashes without explicit error message
Date: Fri, 29 Apr 2005 13:29:42 +0200
Cyril Bouthors wrote:
> jdresolve crashed from time to time with the following error message:
>
> Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/Net/DNS/Packet.pm line 333, <FILE> line 10044.
You can't pinpoint this to a specific log line ? Do you have a file
exhibiting the bug ? Could you send it to the bug report ?
Regards,
Frederic
On 29 Apr 2005, Frederic Peters wrote:
> You can't pinpoint this to a specific log line ? Do you have a file
> exhibiting the bug ? Could you send it to the bug report ?
The logfile is 8.7GB big.
It does not seem to be reproducible with a specific log line. I guess
it's rather a bug in the DNS code or something.
What if jdresolve runs on a machine where the resolver sometimes
fails?
--
Cyril Bouthors
Subject: Re: Bug#306911: jdresolve: Random crashes without explicit error message
Date: Fri, 29 Apr 2005 14:06:09 +0200
Cyril Bouthors wrote:
> What if jdresolve runs on a machine where the resolver sometimes
> fails?
It should handle this correctly (and does). Here it looks like a
broken DNS answer.
Could you try to edit line 855 of /usr/bin/jdresolve
- if ($packet) {
+ if ($packet and $packet->answer) {
?
Frederic
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.