perl client crash after timeout while connecting

Rhesa Rozendaal perl at
Sun Jul 1 14:03:45 UTC 2007

Matthieu PATOU wrote:
> Dear list
> the current version (1.23 from SVN) of the memcached perl client crash when it once fail to connect an host and the
> success to connect to another host.
> I fix the bug by simplifying the code and splitting into smaller pieces (see the patch attached to this mail).

I can attest that this patch fixes the issue. I have a couple of long-running 
POE daemons that would consistently segfault whenever a memcached server went 
offline. With this patch in place, I no longer see those segfaults, nor am I 
able to induce them with force.

Thanks for the detective work, Matthieu!


More information about the memcached mailing list