Hi,

I've compiled 1.5-dev20 on debian wheezy and now I get a double free or corruption bug. Haproxy will not start.

*** glibc detected *** /usr/sbin/haproxy: double free or corruption (fasttop): 0x0000000003c5a880 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x76d76)[0x6853e222fd76]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x6853e2234aac]
/usr/sbin/haproxy[0x466c36]
/usr/sbin/haproxy[0x467224]
/usr/sbin/haproxy[0x460ddd]
/usr/sbin/haproxy[0x46129e]
/usr/sbin/haproxy[0x418549]
/usr/sbin/haproxy[0x421472]
/usr/sbin/haproxy[0x407f2a]
/usr/sbin/haproxy[0x406639]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x6853e21d7ead]
/usr/sbin/haproxy[0x4071fd]
======= Memory map: ========
00400000-00496000 r-xp 00000000 08:05 65203 /usr/sbin/haproxy 00695000-0069d000 rw-p 00095000 08:05 65203 /usr/sbin/haproxy
0069d000-006a9000 rw-p 00000000 00:00 0
006a9000-03b8e000 ---p 00000000 00:00 0
03b8e000-03c68000 rw-p 00000000 00:00 0 [heap]
6853dc000000-6853dc021000 rw-p 00000000 00:00 0
6853dc021000-6853e0000000 ---p 00000000 00:00 0
6853e1568000-6853e157d000 r-xp 00000000 08:02 211757 /lib/x86_64-linux-gnu/libgcc_s.so.1 6853e157d000-6853e177d000 ---p 00015000 08:02 211757 /lib/x86_64-linux-gnu/libgcc_s.so.1 6853e177d000-6853e177e000 rw-p 00015000 08:02 211757 /lib/x86_64-linux-gnu/libgcc_s.so.1 6853e177e000-6853e1789000 r-xp 00000000 08:02 211810 /lib/x86_64-linux-gnu/libnss_files-2.13.so 6853e1789000-6853e1988000 ---p 0000b000 08:02 211810 /lib/x86_64-linux-gnu/libnss_files-2.13.so 6853e1988000-6853e1989000 r--p 0000a000 08:02 211810 /lib/x86_64-linux-gnu/libnss_files-2.13.so 6853e1989000-6853e198a000 rw-p 0000b000 08:02 211810 /lib/x86_64-linux-gnu/libnss_files-2.13.so 6853e198a000-6853e1994000 r-xp 00000000 08:02 211924 /lib/x86_64-linux-gnu/libnss_nis-2.13.so 6853e1994000-6853e1b93000 ---p 0000a000 08:02 211924 /lib/x86_64-linux-gnu/libnss_nis-2.13.so 6853e1b93000-6853e1b94000 r--p 00009000 08:02 211924 /lib/x86_64-linux-gnu/libnss_nis-2.13.so 6853e1b94000-6853e1b95000 rw-p 0000a000 08:02 211924 /lib/x86_64-linux-gnu/libnss_nis-2.13.so 6853e1b95000-6853e1baa000 r-xp 00000000 08:02 211919 /lib/x86_64-linux-gnu/libnsl-2.13.so 6853e1baa000-6853e1da9000 ---p 00015000 08:02 211919 /lib/x86_64-linux-gnu/libnsl-2.13.so 6853e1da9000-6853e1daa000 r--p 00014000 08:02 211919 /lib/x86_64-linux-gnu/libnsl-2.13.so 6853e1daa000-6853e1dab000 rw-p 00015000 08:02 211919 /lib/x86_64-linux-gnu/libnsl-2.13.so
6853e1dab000-6853e1dad000 rw-p 00000000 00:00 0
6853e1dad000-6853e1db4000 r-xp 00000000 08:02 211824 /lib/x86_64-linux-gnu/libnss_compat-2.13.so 6853e1db4000-6853e1fb3000 ---p 00007000 08:02 211824 /lib/x86_64-linux-gnu/libnss_compat-2.13.so 6853e1fb3000-6853e1fb4000 r--p 00006000 08:02 211824 /lib/x86_64-linux-gnu/libnss_compat-2.13.so 6853e1fb4000-6853e1fb5000 rw-p 00007000 08:02 211824 /lib/x86_64-linux-gnu/libnss_compat-2.13.so 6853e1fb5000-6853e1fb7000 r-xp 00000000 08:02 211807 /lib/x86_64-linux-gnu/libdl-2.13.so 6853e1fb7000-6853e21b7000 ---p 00002000 08:02 211807 /lib/x86_64-linux-gnu/libdl-2.13.so 6853e21b7000-6853e21b8000 r--p 00002000 08:02 211807 /lib/x86_64-linux-gnu/libdl-2.13.so 6853e21b8000-6853e21b9000 rw-p 00003000 08:02 211807 /lib/x86_64-linux-gnu/libdl-2.13.so 6853e21b9000-6853e2339000 r-xp 00000000 08:02 211866 /lib/x86_64-linux-gnu/libc-2.13.so 6853e2339000-6853e2539000 ---p 00180000 08:02 211866 /lib/x86_64-linux-gnu/libc-2.13.so 6853e2539000-6853e253d000 r--p 00180000 08:02 211866 /lib/x86_64-linux-gnu/libc-2.13.so 6853e253d000-6853e253e000 rw-p 00184000 08:02 211866 /lib/x86_64-linux-gnu/libc-2.13.so
6853e253e000-6853e2543000 rw-p 00000000 00:00 0
6853e2543000-6853e257f000 r-xp 00000000 08:02 211948 /lib/x86_64-linux-gnu/libpcre.so.3.13.1 6853e257f000-6853e277f000 ---p 0003c000 08:02 211948 /lib/x86_64-linux-gnu/libpcre.so.3.13.1 6853e277f000-6853e2780000 rw-p 0003c000 08:02 211948 /lib/x86_64-linux-gnu/libpcre.so.3.13.1 6853e2780000-6853e2782000 r-xp 00000000 08:05 978315 /usr/lib/x86_64-linux-gnu/libpcreposix.so.3.13.1 6853e2782000-6853e2981000 ---p 00002000 08:05 978315 /usr/lib/x86_64-linux-gnu/libpcreposix.so.3.13.1 6853e2981000-6853e2982000 rw-p 00001000 08:05 978315 /usr/lib/x86_64-linux-gnu/libpcreposix.so.3.13.1 6853e2982000-6853e2b39000 r-xp 00000000 08:05 978264 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 6853e2b39000-6853e2d38000 ---p 001b7000 08:05 978264 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 6853e2d38000-6853e2d53000 r--p 001b6000 08:05 978264 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 6853e2d53000-6853e2d62000 rw-p 001d1000 08:05 978264 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
6853e2d62000-6853e2d66000 rw-p 00000000 00:00 0
6853e2d66000-6853e2dbc000 r-xp 00000000 08:05 978265 /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 6853e2dbc000-6853e2fbb000 ---p 00056000 08:05 978265 /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 6853e2fbb000-6853e2fbe000 r--p 00055000 08:05 978265 /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 6853e2fbe000-6853e2fc5000 rw-p 00058000 08:05 978265 /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 6853e2fc5000-6853e2fdb000 r-xp 00000000 08:02 211842 /lib/x86_64-linux-gnu/libz.so.1.2.7 6853e2fdb000-6853e31da000 ---p 00016000 08:02 211842 /lib/x86_64-linux-gnu/libz.so.1.2.7 6853e31da000-6853e31db000 r--p 00015000 08:02 211842 /lib/x86_64-linux-gnu/libz.so.1.2.7 6853e31db000-6853e31dc000 rw-p 00016000 08:02 211842 /lib/x86_64-linux-gnu/libz.so.1.2.7 6853e31dc000-6853e31e4000 r-xp 00000000 08:02 211867 /lib/x86_64-linux-gnu/libcrypt-2.13.so 6853e31e4000-6853e33e3000 ---p 00008000 08:02 211867 /lib/x86_64-linux-gnu/libcrypt-2.13.so 6853e33e3000-6853e33e4000 r--p 00007000 08:02 211867 /lib/x86_64-linux-gnu/libcrypt-2.13.so 6853e33e4000-6853e33e5000 rw-p 00008000 08:02 211867 /lib/x86_64-linux-gnu/libcrypt-2.13.so
6853e33e5000-6853e3413000 rw-p 00000000 00:00 0
6853e3413000-6853e3433000 r-xp 00000000 08:02 211917 /lib/x86_64-linux-gnu/ld-2.13.so
6853e3625000-6853e362a000 rw-p 00000000 00:00 0
6853e362c000-6853e3630000 rw-p 00000000 00:00 0
6853e3630000-6853e3632000 r-xp 00000000 00:00 0 [vdso] 6853e3632000-6853e3633000 r--p 0001f000 08:02 211917 /lib/x86_64-linux-gnu/ld-2.13.so 6853e3633000-6853e3634000 rw-p 00020000 08:02 211917 /lib/x86_64-linux-gnu/ld-2.13.so
6853e3634000-6853e3635000 rw-p 00000000 00:00 0
7304806dd000-7304806fe000 rw-p 00000000 00:00 0 [stack] ffffffffff600000-ffffffffff601000 r--p 00000000 00:00 0 [vsyscall]

HA-Proxy version 1.5-dev20-11f64d6 2013/12/16
Copyright 2000-2013 Willy Tarreau <[email protected]>

Build options :
  TARGET  = linux26
  CPU     = generic
  CC      = gcc
  CFLAGS  = -O2 -g -fno-strict-aliasing
OPTIONS = USE_LINUX_SPLICE=1 USE_LINUX_TPROXY=1 USE_LIBCRYPT=1 USE_GETADDRINFO=1 USE_ZLIB=1 USE_OPENSSL=1 USE_PCRE=1

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

Encrypted password support via crypt(3): yes
Built with zlib version : 1.2.7
Compression algorithms supported : identity, deflate, gzip
Built with OpenSSL version : OpenSSL 1.0.1e 11 Feb 2013
Running on OpenSSL version : OpenSSL 1.0.1e 11 Feb 2013
OpenSSL library supports TLS extensions : yes
OpenSSL library supports SNI : yes
OpenSSL library supports prefer-server-ciphers : yes
Built with PCRE version : 8.30 2012-02-04
PCRE library supports JIT : no (USE_PCRE_JIT not set)
Built with transparent proxy support using: IP_TRANSPARENT IPV6_TRANSPARENT IP_FREEBIND

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.


Reply via email to