Apache 2.4.25 seg fault or similar nasty error detected in the par

zl0y

Verified User
Joined
Feb 12, 2009
Messages
20
Location
Sevastopol/Crimea
Hello

Faced with this issue on 3+ servers. Trying "service httpd reload" 2-3 times and have

[Tue Jan 03 20:49:28.989355 2017] [core:notice] [pid 25890] AH00060: seg fault or similar nasty error detected in the parent process

and apache main process crashed. Apache 2.4.23 not affected. Build with default configure.apache file. OS: Latest Centos 7 x64.

Anyone have this issue?
 
Version DA?
Version custombuild?
Some config info about settings versions and customizing parts could help for support.

Tried httpd- restart?

Wen did the updates takes place and where they from apache 2.4.23 to 2.4.25 ?
 
I'm try to reproduce and found than problem into http2 module. By default apache build detected nghttp2 library and enable http2_module:

checking whether to enable mod_http2... checking dependencies
checking for OpenSSL... (cached) yes
setting MOD_LDFLAGS to " -lssl -lcrypto -lrt -lcrypt -lpthread -ldl"
setting MOD_CFLAGS to " "
setting MOD_CPPFLAGS to "-DH2_OPENSSL"
checking for nghttp2... checking for user-provided nghttp2 base directory... none
checking for pkg-config along ... checking for nghttp2 version >= 1.2.1... OK
adding "-lnghttp2" to MOD_LDFLAGS
adding "-lnghttp2" to LIBS
adding "-lrt" to LIBS
adding "-lcrypt" to LIBS
adding "-lpthread" to LIBS
adding "-ldl" to LIBS
checking nghttp2/nghttp2.h usability... yes
checking nghttp2/nghttp2.h presence... yes
checking for nghttp2/nghttp2.h... yes
checking for nghttp2_session_server_new2... yes
checking for nghttp2_stream_get_weight... yes
checking for nghttp2_session_change_stream_priority... yes
adding "-DH2_NG2_CHANGE_PRIO" to MOD_CPPFLAGS
checking for nghttp2_session_callbacks_set_on_invalid_header_callback... yes
adding "-DH2_NG2_INVALID_HEADER_CB" to MOD_CPPFLAGS
yes
checking whether to enable mod_http2... static (most)

http2_module contain bug: https://bz.apache.org/bugzilla/show_bug.cgi?id=60510

For resolving this issue need to add "--disable-http2" to configure.apache and rebuild apache. I hope this info help someones.
 
Back
Top