You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Dale Ghent <da...@elemental.org> on 2001/01/27 21:32:23 UTC

core dump on apache restart

This looks like it may be a APR problem, but when a HUP signal is sent to
apache to restart, it instead core dumps due to a null pointer dereference
in mod_cgid.c:

#0  0x57b9c in cgid_maint (reason=2, data=0x0, status=-1) at mod_cgid.c:221
221                 kill(*sd, SIGHUP);
(gdb) where
#0  0x57b9c in cgid_maint (reason=2, data=0x0, status=-1) at mod_cgid.c:221
#1  0xc2ed4 in apr_check_other_child () at otherchild.c:192
#2  0x73e6c in ap_reclaim_child_processes (terminate=1) at mpm_common.c:171
#3  0x5ca40 in ap_mpm_run (_pconf=0xf1b18, plog=0x11dd28, s=0xf2630)
    at dexter.c:1118
#4  0x65bf8 in main (argc=1, argv=0xffbefca4) at main.c:431

maybe apr_check_other_child() needs to check it's values?

/dale