Bug 1131006

Summary: Error in `/usr/sbin/httpd': free(): invalid pointer
Product: Red Hat Enterprise Linux 7 Reporter: Jeremy Eder <jeder>
Component: httpdAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED ERRATA QA Contact: Martin Frodl <mfrodl>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.1CC: extras-qa, isenfeld, jeder, jkaluza, jorton, mfrodl, pahan, zbyszek
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: httpd-2.4.6-23.el7 Doc Type: Bug Fix
Doc Text:
Cause: There was a race-condition in signals handling when httpd was running on foreground and user hit ctrl+c (sent SIGINT to httpd processes). Consequence: In that case, SIGINT was sent to all children followed by SIGTERM from the main process, which interrupted the SIGINT handler and lead to hanging process or crash. Fix: The problem has been fixed by ignoring the SIGINT signals in the child processes. Result: Httpd does not hang or crash in the mentioned situation.
Story Points: ---
Clone Of: 958934
: 1184034 (view as bug list) Environment:
Last Closed: 2015-03-05 07:13:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 958934    
Bug Blocks: 1184034    

Comment 8 Martin Frodl 2014-10-07 09:24:30 UTC
I reproduced the issue in Docker (inside a container to be precise), which is shipped only for x86_64 architecture if I am not mistaken. I have not been able to reproduce it anywhere else. Did you encounter the invalid pointer error in other environments too, Jeremy?

Comment 12 errata-xmlrpc 2015-03-05 07:13:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-0325.html