Hi.

Please can you try to use 1.9.5 and see if still happen.

Best regards
Aleks


-------- Ursprüngliche Nachricht --------
Von: "Максим Куприянов" <maxim.kupriya...@gmail.com>
Gesendet: 24. März 2019 16:59:59 MEZ
An: HAProxy <haproxy@formilux.org>
Betreff: segfault in eb32sc_lookup_ge (1.9.4)

Hi!

I caught 2 segfaults on different machines. Both look the same:
haproxy[483437]: segfault at 8 ip 000055d7185283fa sp 00007f257955f5b8
error 4 in haproxy[55d7183b1000+1d7000]

Unfortunately I don't have core files and their configs are too big and
complex to share, but I figured out, the point of segfault if it could help:
pointer from segfault record: 0x000055d7185283fa - 0x55d7183b1000 = 0x1773fa
(gdb) info line *0x1773fa
Line 121 of "ebtree/eb32sctree.h" starts at address 0x1773fa
<eb32sc_lookup_ge+90> and ends at 0x1773fe <eb32sc_lookup_ge+94>.

executable info:
haproxy -v
HA-Proxy version 1.9.4-2 2019/02/28 - https://haproxy.org/
Build options :
  TARGET  = linux2628
  CPU     = generic
  CC      = gcc
  CFLAGS  = -O2 -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4
-Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-strict-aliasing
-Wdeclaration-after-statement -fwrapv -Wno-unused-label -Wno-sign-compare
-Wno-unused-parameter -Wno-old-style-declaration -Wno-ignored-qualifiers
-Wno-clobbered -Wno-missing-field-initializers -Wtype-limits
  OPTIONS = USE_GETADDRINFO=1 USE_ZLIB=1 USE_REGPARM=1 USE_OPENSSL=1
USE_LUA=1 USE_PCRE=1 USE_PCRE_JIT=1 USE_TFO=1 USE_NS=1

Default settings :
  maxconn = 2000, bufsize = 16384, maxrewrite = 1024, maxpollevents = 200

Built with OpenSSL version : OpenSSL 1.0.1f 6 Jan 2014
Running on OpenSSL version : OpenSSL 1.0.1f 6 Jan 2014
OpenSSL library supports TLS extensions : yes
OpenSSL library supports SNI : yes
OpenSSL library supports : SSLv3 TLSv1.0 TLSv1.1 TLSv1.2
Built with Lua version : Lua 5.3.1
Built with network namespace support.
Built with transparent proxy support using: IP_TRANSPARENT IPV6_TRANSPARENT
IP_FREEBIND
Built with zlib version : 1.2.8
Running on zlib version : 1.2.8
Compression algorithms supported : identity("identity"),
deflate("deflate"), raw-deflate("deflate"), gzip("gzip")
Built with PCRE version : 8.31 2012-07-06
Running on PCRE version : 8.31 2012-07-06
PCRE library supports JIT : no (libpcre build without JIT?)
Encrypted password support via crypt(3): yes
Built with multi-threading support.

Available polling systems :
      epoll : pref=300,  test result OK
       poll : pref=200,  test result OK
     select : pref=150,  test result OK
Total: 3 (3 usable), will use epoll.

Available multiplexer protocols :
(protocols marked as <default> cannot be specified using 'proto' keyword)
              h2 : mode=HTX        side=FE|BE
              h2 : mode=HTTP       side=FE
       <default> : mode=HTX        side=FE|BE
       <default> : mode=TCP|HTTP   side=FE|BE

Available filters :
[SPOE] spoe
[COMP] compression
[CACHE] cache
[TRACE] trace

--
Best regards,
Maksim Kupriianov

Reply via email to