#28431 [NEW]: Apache 1 and 2 crash on gd2, exif, mbstring modules (maybe other too)
| From: | mastabog at hotmail dot com | Date: | Tue, 18 May 2004 11:33:27 +0000 |
| Subject: | #28431 [NEW]: Apache 1 and 2 crash on gd2, exif, mbstring modules (maybe other too) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-59727@lists.php.net to get a copy of this message | ||
From: mastabog at hotmail dot com
Operating system: WinXP
PHP version: 5CVS-2004-05-18 (dev)
PHP Bug Type: Reproducible crash
Bug description: Apache 1 and 2 crash on gd2, exif, mbstring modules (maybe other too)
Description:
------------
Starting a few days ago (on friday, may 14th i think) my apache under
winxp won't start if the gd2, mb_string and exif modules (maybe other too)
are activated. Please note that this is recent, and I have not modified
the php.ini nor the apache's httpd.conf files (i have also checked for
updated in the php.ini-recommanded).
The Apache2 (mine is 2.0.49) won't start and outputs the known apache's
pop-up crash window with 'debug' and 'close' and the php.log file inside
apache's dir states that:
----
[18-May-2004 13:16:17] PHP Notice: Constant MB_OVERLOAD_MAIL already
defined in Unknown on line 0
----
The Apache1.x (mine is 1.3.31) starts then dies afterwards with a generic
crash pop-up window (application error, the memory could not be read
.....) and the php.log file has more entries:
----
[18-May-2004 13:10:06] PHP Notice: Constant MB_OVERLOAD_MAIL already
defined in Unknown on line 0
[18-May-2004 13:10:06] PHP Notice: Constant MB_OVERLOAD_STRING already
defined in Unknown on line 0
[18-May-2004 13:10:06] PHP Notice: Constant MB_OVERLOAD_REGEX already
defined in Unknown on line 0
[18-May-2004 13:10:06] PHP Notice: Constant MB_CASE_UPPER already defined
in Unknown on line 0
[18-May-2004 13:10:06] PHP Notice: Constant MB_CASE_LOWER already defined
in Unknown on line 0
[18-May-2004 13:10:06] PHP Notice: Constant MB_CASE_TITLE already defined
in Unknown on line 0
[18-May-2004 13:10:06] PHP Notice: Constant EXIF_USE_MBSTRING already
defined in Unknown on line 0
----
It just seems apache 1.3 goes over more notices than apache2, but still
dies when a pae is requested.
The same happens when trying to load the gd2 module, as follows:
Apache2 dies again with an apache's pop-up crash window and php.log has:
----
[18-May-2004 13:22:48] PHP Notice: Constant IMG_GIF already defined in
Unknown on line 0
----
Apache1.x dies when starting thew service/executable as apche2 or later on
when a page is requested and php.log has:
----
[18-May-2004 13:25:00] PHP Notice: Constant IMG_GIF already defined in
Unknown on line 0
[18-May-2004 13:25:00] PHP Notice: Constant IMG_JPG already defined in
Unknown on line 0
[18-May-2004 13:25:00] PHP Notice: Constant IMG_JPEG already defined in
Unknown on line 0
....
----
there are 60+ messages of constant IMG_<XXX> already defined ....
Again apache1 goes over more php notices, but still dies.
Something has surely changed in the latest php5 code causing this sudden
reproducible crash ... and i badly needed both gd2 and exif ...
Thanks for looking into it.
Bogdan
--
Edit bug report at http://bugs.php.net/?id=28431&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28431&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28431&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28431&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28431&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28431&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28431&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28431&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28431&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28431&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28431&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28431&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28431&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28431&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28431&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28431&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28431&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28431&r=float