Red Hat Bugzilla – Bug 675527
Apache httpd segmentation fault through libphp5
Last modified: 2011-06-24 04:57:46 EDT
Created attachment 477283 [details]
Description of problem:
Installing/running OpenX causes Apache http daemon (child) to crash with a segmentation fault.
Appears to be caused by a libphp5 call to libc.
Version-Release number of selected component (if applicable):
installing OpenX Source version 2.8.7
Linux version 2.6.18-194.32.1.el5.centos.plus (email@example.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Wed Jan 5 18:13:47 EST 2011
rpm -qa | grep httpd && rpm -qa | grep php
Fault occurs every time when the OpenX installer PHP script is installing the plugins, but also later on when trying to click a link/button in the OpenX management interface.
Steps to Reproduce:
1. Install OpenX Source.
2. First segmentation fault occurs when installer script is installing
3. Clicking a link/button in the OpenX management interface gives a
segmentation fault each time.
Segmentation fault of Apache child
Log file results attached, showing a problem in a call from php5 to libc.
Can you reproduce this with a RHEL installation, rather than CentOS? If so, can you narrow it down to the execution of a particular script?
Sorry, currently don't have a RHEL system at hand.
But I did find out more about the location: I think the problem is located in the statement:
$serialized_session = $dal->getSerializedSession($_COOKIE['sessionID']);
in function phpAds_SessionDataFetch (defined in file www/admin/lib-sessions.inc.php).
Function phpAds_SessionDataFetch is called by function OA_Start (defined in file www/admin/config.php).
And config.php is included in all management scripts, spreading it all over the interface.
Found the function definition of getSerializedSession in lib/max/Dal/Admin/Session.php
Hope this helps...
Just installed PHP 5.2. on my CentOS site. See here for a description:
The installation of OpenX now works fine; problem "solved".