Re: admin socket 1.4.x crash report

From: Willy Tarreau <w#1wt.eu>
Date: Fri, 4 Mar 2011 07:23:48 +0100


Hi Guys,

On Thu, Mar 03, 2011 at 08:09:57PM +0100, Cyril Bonté wrote:
> 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.

Thank you very much ! I was about to release 1.4.12 yesterday but fortunately I was to tired for that. I'll merge both of your fixes before the release !

Cheers!
Willy Received on 2011/03/04 07:23

This archive was generated by hypermail 2.2.0 : 2011/03/04 07:30 CET