#16 Segmentation fault in httpd/mod_nss in the parent process while reloading via SIGHUP
Closed: Fixed Opened by mharmsen.

Apache httpd dies once in a while reporting a seg fault after receiving a SIGHUP:

[Nov 03 16:03:11 2015] [notice] SIGHUP received. Attempting to restart
ERR [Nov 03 16:03:11 2015] [notice] Digest: generating secret for digest authentication ...
ERR [Nov 03 16:03:11 2015] [notice] Digest: done
ERR [Nov 03 16:03:12 2015] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indic
ation support (RFC 4366)
ERR [Nov 03 16:03:15 2015] [notice] seg fault or similar nasty error detected in the parent process

How reproducible:

Looks random on production conditions, but can be reproduce when reloading in a loop.

Steps to Reproduce:

service httpd restart; sleep 1; time { RET=0; while [ $RET -ne 1 ]; do service httpd reload; sleep 1; service httpd status; RET=$?; done;
Usually occurred around a minute after the restart (it does not seems to matter if I remove the sleep 1 between reload and status).

Actual results:

httpd dies on seg fault

Expected results:

httpd keeps running even after thousands on SIGHUP.

Associated Bugs:


master: 9bcb9cef16895061d9de48b25b85c66f0ab17223

Metadata Update from @rcritten:
- Issue set to the milestone: mod_nss-1.0.13

Metadata