Hi Maciej,
On Thu, May 09, 2019 at 02:19:26PM +0200, Maciej Zdeb wrote:
> Hi Willy,
>
> I've built 1.9 from head, unfortunately something is wrong, right now I've
> got segfault:
>
> Core was generated by `/usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p
> /var/run/haproxy.pid -D -sf 75'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0 0x0000000000484ab4 in h2_process_mux (h2c=0x1cda990) at
> src/mux_h2.c:2609
> 2609 list_for_each_entry_safe(h2s, h2s_back, &h2c->send_list, list) {
> (gdb) bt f
> #0 0x0000000000484ab4 in h2_process_mux (h2c=0x1cda990) at
> src/mux_h2.c:2609
> h2s = 0x2
> h2s_back = <optimized out>
> #1 h2_send (h2c=0x1cda990) at src/mux_h2.c:2747
> flags = <optimized out>
> conn = 0x2d12190
> done = 0
> sent = 0
> #2 0x000000000048d488 in pool_free (ptr=0x1cdaa68, pool=0x0) at
> include/common/memory.h:327
> No locals.
> #3 __b_drop (buf=<optimized out>) at include/common/buffer.h:112
> No locals.
> #4 b_drop (buf=0x1cda9b8) at include/common/buffer.h:119
> No locals.
> #5 b_free (buf=0x1cda9b8) at include/common/buffer.h:125
> No locals.
> #6 h2_release_buf (h2c=0x1cda990, bptr=0x1cda9b8) at src/mux_h2.c:407
> bptr = 0x1cda9b8
> #7 h2_process (h2c=0x1cda990) at src/mux_h2.c:2889
> conn = 0xfffffffffffdd7b8
> #8 0x00000000004bf425 in run_thread_poll_loop (data=0x0) at
> src/haproxy.c:2710
> ptif = <optimized out>
> ptdf = <optimized out>
> start_lock = 0
> #9 0x0000000000000001 in ?? ()
> No symbol table info available.
> #10 0x000000000041fb86 in main (argc=<optimized out>, argv=0x7ffe885af938)
> at src/haproxy.c:3354
> tids = 0x1924900
> threads = 0xfffffffffffffffc
> i = <optimized out>
> old_sig = {__val = {0, 140199073187936, 140199073187072,
> 140199071033905, 0, 140199073173696, 1, 0, 18446603340516163585,
> 140199073187072, 1, 140199073235400, 0, 140199073236256, 0, 24}}
> blocked_sig = {__val = {18446744067199990583, 18446744073709551615
> <repeats 15 times>}}
> err = <optimized out>
> retry = <optimized out>
> limit = {rlim_cur = 1000000, rlim_max = 1000000}
> errmsg = "\000\000\000\000\000\000\000\000n\000\000\000w", '\000'
> <repeats 11 times>,
> "p1K\243\202\177\000\000\000\000\000\000\000\000\000\000`'\\\242\202\177\000\000\030\000\000\000\000\000\000\000\200f4\001\000\000\000\000>\001\000\024\000\000\000\000
> \352J\243\202\177\000\000`\221\065\001\000\000\000\000\340*(\242\202\177\000\000\370\371Z\210"
> pidfd = <optimized out>
>
I pushed 07a9f0265e11f5071785fa0ce28dcd3d473d79e3 1 hour ago, and that may
fix that problem. If you don't already have it, can you upgrade to the latest
and greatest 1.9 ?
Thanks a lot !
Olivier