apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Ghent <da...@elemental.org>
Subject core dump on apache restart
Date Sat, 27 Jan 2001 20:32:23 GMT

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


Mime
View raw message