Hi Tomas,
> Hello,
>
> we have a server with some config running an old version (1.4.25-1) of
> haproxy under Debian wheezy. The reason we've not updated it is that any
> new versions we had access to would crash.
>
> Today I was able to pinpoint where the problem lies:
Thanks for the detailed repro. This bug is fixed in release 1.5.10 by commit
ed061c0590 ("BUG/MEDIUM: config: do not propagate processes between stopped
processes") [1].
Quoting from the commit:
"Immo Goltz reported a case of segfault while parsing the config where
we try to propagate processes across stopped frontends (those with a
"disabled" statement). The fix is trivial. The workaround consists in
commenting out these frontends, although not always easy."
You can get latest haproxy build for debian here [2].
Maybe Vincent could queue this fix for a debian backport?
Regards,
Lukas
[1]
http://git.haproxy.org/?p=haproxy-1.5.git;a=commit;h=ed061c0590109dde6cd77cd963bebc46ba0cd0cc
[2] http://haproxy.debian.net/