Hello all,

First, I wanted to say a huge thanks to the team for a producing a quality 
piece of software. My company just moved all of our traffic over, and the 
performance and nimbleness of haproxy is impressive. I'm testing 1.9.2 for 
migration as soon as it's stable for our use-case.

I'm experiencing a segfault when running in mode http, option http-use-htx, 
with h2 backends (alpn h2) and an assigned source address. A sanitized config 
is as follows:

defaults
   source [<ipv6 address>]
   mode http
   http-reuse always
   option http-use-htx

listen test
   bind :443 ssl crt <cert> alpn h2,http/1.1
   server backend ipv6@<server addr:port> check ssl crt <crt-file> ca-file 
<ca-file> verifyhost <sni-host> alpn h2,http/1.1 check-alpn http/1.1

If I disable h2 on the backend, it works correctly. If I disable the source in 
defaults, it works correctly. I've attached the backtrace below.

Best,
Luke

#0  0x0000555555672f2e in memset (__len=128, __ch=0, __dest=0x98) at 
/usr/include/x86_64-linux-gnu/bits/string3.h:90
#1  assign_tproxy_address (s=0x555555dd6500) at src/backend.c:1047
#2  connect_server (s=s@entry=0x555555dd6500) at src/backend.c:1379
#3  0x00005555555e87dc in sess_update_stream_int (s=0x555555dd6500) at 
src/stream.c:928
#4  process_stream (t=<optimized out>, context=0x555555dd6500, state=<optimized 
out>) at src/stream.c:2305
#5  0x00005555556b3f94 in process_runnable_tasks () at src/task.c:432
#6  0x000055555562d051 in run_poll_loop () at src/haproxy.c:2619
#7  run_thread_poll_loop (data=<optimized out>) at src/haproxy.c:2684
#8  0x00005555555869c2 in main (argc=<optimized out>, argv=<optimized out>) at 
src/haproxy.c:3313

—
Luke Seelenbinder
Stadia Maps | Founder
https://stadiamaps.com

Reply via email to