Re: admin socket 1.4.x crash report

From: Cyril Bonté <cyril.bonte#free.fr>
Date: Thu, 3 Mar 2011 20:09:57 +0100


Hi Bryan,

Le jeudi 3 mars 2011 19:05:38, Bryan Talbot a écrit :
> I found a way that causes the 1.4.10 (and probably 1.4.11) releases to
> crash with a segfault. The message in /var/log/messages is
>
> Mar 3 12:44:34 host kernel: haproxy[16392]: segfault at
> 0000000000000000 rip 0000000000000000 rsp 00007fff7402a9d8 error 14

Reproduced here, this is also the case for "set weight". It happens when px->lbprm is null (it's the case when a proxy is disabled).

We should check the proxy state and capabilities before trying to change a server state.

Give me some time to prepare a patch, if no one is already working on it.

-- 
Cyril Bonté
Received on 2011/03/03 20:09

This archive was generated by hypermail 2.2.0 : 2011/03/03 20:15 CET