Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2017 13:07:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 218846] HAProxy will crash every 49.7 days
Message-ID:  <bug-218846-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218846

            Bug ID: 218846
           Summary: HAProxy will crash every 49.7 days
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: sebastianwjauch@gmail.com

Haproxy relies on signed integer wraparound on overflow, however this is
really an undefined behavior, so the C compiler is allowed to do whatever
it wants, and clang does exactly that, and that causes problems when the
timer goes from <=3D INT_MAX to > INT_MAX, and explains the various hangs
reported on FreeBSD every 49.7 days.

https://www.mail-archive.com/haproxy@formilux.org/msg25093.html

The fix is already committed in haproxy-git

http://git.haproxy.org/?p=3Dhaproxy-1.7.git;a=3Dcommit;h=3D53109b2b66126308=
2e5f67874ceb1bb0e0792eb7

The last occurence was on 18th of april and this bug will occur again on 6t=
h of
june and it will hang all haproxies processes, so they become unresponsive
causing also failures to clusters etc. I guess you can make many people hap=
py
to ship this before june ;-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218846-13>