Bug 107407 - httpd crashes when using gd from php
Summary: httpd crashes when using gd from php
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: php
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks: CambridgeTarget
TreeView+ depends on / blocked
 
Reported: 2003-10-17 19:46 UTC by Oskari Saarenmaa
Modified: 2007-04-18 16:58 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-12-01 11:10:36 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.