# Haproxy1.6.8 crash

**URL:** <https://discourse.haproxy.org/t/haproxy1-6-8-crash/572>\
**Category:** Help!\
**Created:** [August 17, 2016, 2:10am UTC](https://discourse.haproxy.org/t/haproxy1-6-8-crash/572 "2016-08-17T02:10:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lalala](https://avatars.discourse-cdn.com/v4/letter/l/eb8c5e/32.png) [@lalala](https://discourse.haproxy.org/u/lalala)\
**Post date:** [August 17, 2016, 2:10am UTC](https://discourse.haproxy.org/t/haproxy1-6-8-crash/572/1 "2016-08-17T02:10:37Z")

</div>

who can resolve this problem ?

00000004:lua.clihdr[000b:000c]: If-Modified-Since: Wed, 03 Aug 2016 10:05:28 GMT  
haproxy: malloc.c:2842: mremap\_chunk: Assertion `((size + offset) & (\_rtld\_global\_ro.\_dl\_pagesize - 1)) == 0’ failed.

sudo haproxy -vv  
HA-Proxy version 1.6.8 2016/08/14  
Copyright 2000-2016 Willy Tarreau [willy@haproxy.org](mailto:willy@haproxy.org)

Build options :  
TARGET = linux26  
CPU = generic  
CC = gcc  
CFLAGS = -O2 -g -fno-strict-aliasing -Wdeclaration-after-statement  
OPTIONS = USE\_LINUX\_SPLICE=1 USE\_LINUX\_TPROXY=1 USE\_CRYPT\_H=1 USE\_ZLIB=1 USE\_VSYSCALL=1 USE\_REGPARM=1 USE\_OPENSSL=1 USE\_LUA=1 USE\_STATIC\_PCRE=1 USE\_PCRE\_JIT=1 USE\_TFO=1 USE\_NS=1

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

Encrypted password support via crypt(3): yes  
Built with zlib version : 1.2.8  
Compression algorithms supported : identity(“identity”), deflate(“deflate”), raw-deflate(“deflate”), gzip(“gzip”)  
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 prefer-server-ciphers : yes  
Built with PCRE version : 8.31 2012-07-06  
PCRE library supports JIT : no (libpcre build without JIT?)  
Built with Lua version : Lua 5.3.3  
Built with transparent proxy support using: IP\_TRANSPARENT IPV6\_TRANSPARENT IP\_FREEBIND  
Built with network namespace 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.

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [August 17, 2016, 4:43pm UTC](https://discourse.haproxy.org/t/haproxy1-6-8-crash/572/2 "2016-08-17T16:43:02Z")

</div>

Please share the configuration and some specifics about the crash (when does it crash? how does it crash? under load, or when a specific request comes in?).

Can you reliably reproduce the crash?

Please provide a backtrace, preferably without compiler optimizations:

1. compile with CFLAGS="-O0 -g -fno-strict-aliasing -Wdeclaration-after-statement"
2. enable coredumping: ulimit -c unlimited (before starting haproxy)
3. reproduce the crash
4. use gdb to provide a backtrace (“gdb haproxy core” and “bt full” in the gdb cli)

Please report those findings to the mailing list at haproxy at formilux dot org (no need to subscribe).

Thanks!
