Skip Menu |

This queue is for tickets about the CDDB CPAN distribution.

Report information
The Basics
Id: 65060
Status: resolved
Priority: 0/
Queue: CDDB

Owner: Nobody in particular
Requestors: timo.santi [...]

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

Subject: Crashing on line 402 when trying to push undef to @cddbp_hosts
Date: Mon, 24 Jan 2011 13:05:14 +0100
To: "bug-CDDB [...]" <bug-CDDB [...]>
From: "Santi, Timo" <timo.santi [...]>
Download (untitled) / with headers
text/plain 875b
Hi, I would like to report a bug regarding v.1.220. crashes on 402 when trying to push undef to @cddbp_hosts. I noticed this bug when I tested my program against network failures. Steps to reproduce the bug. 1. Make a succesful search. adds undef element to @cddbp_hosts-array. 2. Disconnect your network. 3. Make a new search. HOST: while -loop goes through the @cddbp_hosts-array and crashes with the last element which was undef. I don't know the exact reason why the is manipulating the @cddbp_hosts-array. In case of network failure it clears the @cddbp_hosts-array and when the network is again up, there are now server entries in @cddbp_hosts-array. This way doesn't find any results until the called program is restarted. I made a temporarily fix, by moving @cddbp_hosts-array initialization to new(). Best regards, -Timo-
Download (untitled) / with headers
text/plain 579b
Thank you for using the bug tracker, without which I may have forgotten your report. commit c5467dc4260c3ceb57e8253957c1449d3d00617a Author: Rocco Caputo <> Date: Sun Aug 4 02:01:30 2013 -0400 [ 65060] Don't destroy the server list when connections fail. Connections may fail for transient reasons. It's better to assume the servers will come back eventually and take the performance hit on reconnect than to exhaust the list and never succeed again. If this fix helps you, thank Timo Santi for reporting the bug.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to