Hi,
Since upgrading from dev17 to dev18 I'm getting a segfault:
(gdb) run -f /etc/haproxy/haproxy.conf -p /var/run/haproxy.pid -db
Starting program: /usr/local/bin/haproxy -f /etc/haproxy/haproxy.conf -p
/var/run/haproxy.pid -db
Program received signal SIGSEGV, Segmentation fault.
smp_fetch_get_gpc0 (ts=0xccf2ad8a, smp=0xbffff334, table=<optimized out>)
at src/session.c:2590
It's caused by this configuration (which was OK in dev17). If I remove it,
haproxy runs fine.
frontend ...
stick-table type ip size 1m expire 20s store gpc0,http_req_rate(20s)
tcp-request connection track-sc1 src
tcp-request connection reject if { src_get_gpc0 gt 0 }
backend ...
acl abuse src_http_req_rate(f_web) ge 40
acl flag_abuser src_inc_gpc0(f_web)
tcp-request content reject if abuse flag_abuser
Tested versions: haproxy-1.5-dev18 + latest snapshot