What did you do? If possible, provide a simple script for reproducing the error.
What did you expect to see?
What did you see instead?
Program terminated with signal SIGSEGV, Segmentation fault.
#0 http2_build_header (body_length=0, buffer=0x7ffaa3dfcd60 "", ctx=0x7ffaa7c86900) at /tmp/pear/swoole-4.4.15/swoole_http2_server.cc:310
310/tmp/pear/swoole-4.4.15/swoole_http2_server.cc: No such file or directory.
(gdb) bt
#0 http2_build_header (body_length=0, buffer=0x7ffaa3dfcd60 "", ctx=0x7ffaa7c86900) at /tmp/pear/swoole-4.4.15/swoole_http2_server.cc:310
#1 swoole_http2_server_do_response (ctx=0x7ffaa7c86900, body=0x7ffaa3dfedb0) at /tmp/pear/swoole-4.4.15/swoole_http2_server.cc:369
#2 0x00007ffaa8fe6121 in swoole_http2_response_end (ctx=0x7ffaa7c86900, zdata=, return_value=0x7ffaa3dfee48) at /tmp/pear/swoole-4.4.15/swoole_http2_server.cc:921
#3 0x0000558e86195dac in execute_ex ()
#4 0x00007ffaa8fd73a5 in swoole::PHPCoroutine::main_func (arg=0x7ffcc57af290) at /tmp/pear/swoole-4.4.15/swoole_coroutine.cc:761
#5 0x00007ffaa8f88aba in swoole::Context::context_func (arg=0x558e88071718) at /tmp/pear/swoole-4.4.15/src/coroutine/context.cc:125
#6 0x00007ffaa9058bb1 in make_fcontext () at /tmp/pear/swoole-4.4.15/thirdparty/boost/asm/make_x86_64_sysv_elf_gas.S:64
#7 0x0000000000000000 in ?? ()
What version of Swoole are you using (show your php --ri swoole)?
4.4.15
What is your machine environment used (including version of kernel & php & gcc) ?
PHP 7.3.14
Linux d4815e8ee275 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64 Linux
gcc version 8.3.0 (Alpine 8.3.0)