Bug 57477

Summary: mod_auth_digest AH00052: child pid $pid exit signal Floating point exception
Product: Apache httpd-2 Reporter: ohauer <ohauer>
Component: mod_auth_digestAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: normal CC: takashi.asfbugzilla
Priority: P2    
Version: 2.4.10   
Target Milestone: ---   
Hardware: PC   
OS: FreeBSD   

Description ohauer 2015-01-21 18:08:05 UTC
I have a system with many similar AJP backends, defining them one by one (without mod macro) this works fine, defining them with mod_macro the log fills up with AH00052 errors even only one client backend is defined with "Use ..."


<Macro AJP_REV_CLIENT $path $IP>
    <Proxy balancer://$path>
        BalancerMember ajp://$IP:8009/testproject keepalive=On ttl=60
    </Proxy>
    <Location /$path>
        ProxyPass        balancer://$path
        ProxyPassReverse balancer://$path
        RequestHeader set X-company-context /$path
        Header edit Set-Cookie "^(.*; Path=)/testproject/?(.*)" $1/$path/$2
    </Location>
</Macro>

Use AJP_REV_CLIENT username1 4.3.2.1
Use AJP_REV_CLIENT username2 4.3.2.2
Use AJP_REV_CLIENT username3 4.3.2.3
...
...


[Wed Jan 21 11:36:08.112206 2015] [core:notice] [pid 18157:tid 34401707008] AH00052: child pid 18162 exit signal Floating point exception (8)
[Wed Jan 21 11:36:08.114720 2015] [core:notice] [pid 18157:tid 34401707008] AH00052: child pid 18161 exit signal Floating point exception (8)
[Wed Jan 21 11:36:08.115625 2015] [core:notice] [pid 18157:tid 34401707008] AH00052: child pid 18160 exit signal Segmentation fault (11)
[Wed Jan 21 11:36:09.132899 2015] [core:notice] [pid 18157:tid 34401707008] AH00052: child pid 18163 exit signal Floating point exception (8)
[Wed Jan 21 11:36:10.154951 2015] [core:notice] [pid 18157:tid 34401707008] AH00052: child pid 18165 exit signal Floating point exception (8)
[Wed Jan 21 11:36:10.161999 2015] [core:notice] [pid 18157:tid 34401707008] AH00052: child pid 18164 exit signal Floating point exception (8)
[Wed Jan 21 11:36:11.173308 2015] [core:notice] [pid 18157:tid 34401707008] AH00052: child pid 18169 exit signal Floating point exception (8)
[Wed Jan 21 11:36:11.173398 2015] [core:notice] [pid 18157:tid 34401707008] AH00052: child pid 18166 exit signal Floating point exception (8)
[Wed Jan 21 11:36:28.524817 2015] [core:notice] [pid 18157:tid 34401707008] AH00052: child pid 18170 exit signal Floating point exception (8)
[Wed Jan 21 11:36:28.526117 2015] [core:notice] [pid 18157:tid 34401707008] AH00052: child pid 18168 exit signal Floating point exception (8)
[Wed Jan 21 11:36:28.528285 2015] [core:notice] [pid 18157:tid 34401707008] AH00052: child pid 18167 exit signal Floating point exception (8)
[Wed Jan 21 11:36:29.543254 2015] [core:notice] [pid 18157:tid 34401707008] AH00052: child pid 18171 exit signal Floating point exception (8)
[Wed Jan 21 11:36:30.565002 2015] [core:notice] [pid 18157:tid 34401707008] AH00052: child pid 18173 exit signal Floating point exception (8)
[Wed Jan 21 11:36:30.567778 2015] [core:notice] [pid 18157:tid 34401707008] AH00052: child pid 18172 exit signal Floating point exception (8)
[Wed Jan 21 11:36:31.600819 2015] [core:notice] [pid 18157:tid 34401707008] AH00052: child pid 18177 exit signal Floating point exception (8)
Comment 1 ohauer 2015-01-21 19:19:15 UTC
Hm, after searching other bugs I got a hint in bug #55284 
It suspect the issue is triggered by "AuthDigestNonceLifetime 900" or "AuthDigestNcCheck on" that is only defined in the config containing the mod_macro instructions.

Will retest without "AuthDigest..." in the next days.
Comment 2 ohauer 2015-02-01 19:20:58 UTC
The Issue was mod_digest related, after removing AuthDigestNcCheck, and AuthDigestNonceLifetime the crashes are no longer present.

Change issue component to mod_auth_digest.