Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.

Bug 571032

Summary: apr_strtoi64 (strings/apr_strings.c) does not reset errno
Product: Red Hat Enterprise Linux 5 Reporter: Ivan Szanto <szivan>
Component: aprAssignee: Web Stack Team <webstack-team>
Status: CLOSED CURRENTRELEASE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: high Docs Contact:
Priority: urgent    
Version: 5.4CC: aogburn, ebenes, jwest, mmillson, mpoole, tao, wsartori
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-23 07:07:30 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 647121    
Description Flags
add this to the conf.d directory of httpd-2.2.13-2.el5s2 none

Description Ivan Szanto 2010-03-06 08:40:06 EST
Created attachment 398213 [details]
add this to the conf.d directory of httpd-2.2.13-2.el5s2

Description of problem:

In certain circumstances, httpd does not start, and complains about an invalid configuration file.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. install the newest httpd from RH Application Stack (httpd-2.2.13-2.el5s2)
2. use the config file attached
3. try to start httpd
Actual results:

httpd does not start. Error msg:

Starting httpd: Syntax error on line 26 of /etc/httpd/conf.d/proxy_ajp.conf:
BalancerMember Ping/Pong timeout has wrong format

Expected results:

Since there is no problem in the config file, httpd should start.

Additional info:

While debugging in gdb, if I set errno to 0 before the call to apr_strtoi64 it works fine.

A workaround is included in the attachment: uncommenting the "CacheMaxFileSize 6400000" line sets the errno to 0.

This was fixed in upstream in December 2008, see


"Merge r727052 from trunk:

* Similar to apr_strtoff reset errno to zero in apr_strtoi64.
  Cases were observed where apr_strtoi64 returned with a
  previously set errno although the operation worked fine.

Submitted by: rpluem
Reviewed by: rpluem

git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.3.x@727605 

Ruediger Pluem (author)"
Comment 1 Ivan Szanto 2010-03-06 08:46:56 EST
Same complaint filed in the apache bugzilla

Comment 2 Joe Orton 2010-03-06 09:04:54 EST
Thanks for the report.
Comment 4 RHEL Product and Program Management 2010-08-09 15:14:11 EDT
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.