Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 107407

Summary: httpd crashes when using gd from php
Product: [Retired] Red Hat Raw Hide Reporter: Oskari Saarenmaa <oskari>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: chris.ricker
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-12-01 11:10:36 UTC Type: ---
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:    
Bug Blocks: 100644    

Description Oskari Saarenmaa 2003-10-17 19:46:35 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5)
Gecko/20031007 Firebird/0.7

Description of problem:
The current rawhide version of PHP (inside Apache) crashes randomly when GD
functions are used.  Apparently this happens because Rawhide's PHP is linked
against external GD library that is not thread safe and it causes random memory
corruption.  Using the gd library that is bundled with PHP fixes the problem.

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

How reproducible:
Always

Steps to Reproduce:
1. Install gd, httpd, and php
2. Make a simple script using gd
3. Load a few pages and see it crash
    

Additional info:

Comment 1 Joe Orton 2003-10-22 08:14:51 UTC
Should be fixed in php-4.3.3-6.

Comment 2 Joe Orton 2003-12-01 11:10:36 UTC
Thanks a lot for tracking that down: do you have more information on
why it crashes?

Comment 3 Oskari Saarenmaa 2003-12-02 13:32:46 UTC
I haven't had time to check what exactly is wrong with the GD in
Rawhide and Fedora, but I have verified that the problem is fixed by
php-4.3.3-6 and php-4.3.4-1.1