Open leopeng1995 opened 5 years ago
I also see these issues https://github.com/Kong/kong/issues/4471 and https://github.com/Kong/openresty-patches/pull/39 on MacOS. I tried to compile openresty the same way on MacOS and got segmentation fault 11
similarly. It seems like pcre 8.43 bug. So I downgrade system pcre version to 8.41 and got the same error. I also tried to compile pcre in compilation option and failed.
./configure \
--with-cc-opt='-I/tmp/openssl-1.1.1b/include' \
--with-ld-opt='-L/tmp/openssl-1.1.1b/lib -Wl,-rpath,/tmp/openssl-1.1.1b/lib' \
--with-pcre=../pcre-8.41 \
--with-pcre-jit \
--with-http_ssl_module \
--with-http_realip_module \
--with-http_stub_status_module \
--with-http_v2_module \
--with-stream_ssl_preread_module \
--with-stream_realip_module \
--with-luajit-xcflags="-DLUAJIT_NUMMODE=2" \
-j4
pcre: stable 8.41 (bottled), HEAD
Perl compatible regular expressions library
http://www.pcre.org/
/usr/local/Cellar/pcre/8.41 (204 files, 5.4MB) *
Built from source on 2019-06-14 at 14:46:49
So I hope the Kong official and community could help me. Thanks.
I want to hack Kong 1.1.2 source codes, however I stuck in segmentation fault after source compilation.
Or compile OpenSSL 1.1.1b together with OpenResty 1.13.6.2:
After source compilation, I ran this command and got segmentation fault. Because of that, I cannot run tests.
However, if I do not apply openresty-patches, I won't get segmentation fault. But I got warning message about missing patches.