#41148 [Opn->Bgs]: PHP 4.4.6 Segfault with PCRE 7.0 not with 6.6
ID: 41148
Updated by: tony2001@php.net
Reported By: baco at infomaniak dot ch
-Status: Open
+Status: Bogus
Bug Type: PCRE related
Operating System: Linux/Debian
PHP Version: 4.4.6
New Comment:
Because 4.4.6 has been release AFTER 5.2.1.
You don't HAVE to use the bundled PCRE, so please spend your time on
helping PCRE developers to fix this issue.
Thank you.
Previous Comments:
------------------------------------------------------------------------
[2007-04-20 16:09:58] baco at infomaniak dot ch
Juste a simple question :
Why PHP 4.4.6 "Stable" has PCRE 7.0 and PHP 5.2.1 "Stable" has PCRE
6.7 ?
------------------------------------------------------------------------
[2007-04-20 11:22:19] tony2001@php.net
A stack overflow in PCRE is known problem, but PCRE bugs should be
reported to PCRE developers.
Please search the database before reporting.
And yes, you don't have to apply any patches in order to build PHP with
external PCRE.
Use --with-pcre-regex=DIR option to do that.
------------------------------------------------------------------------
[2007-04-20 11:08:35] baco at infomaniak dot ch
Description:
------------
After upgrading PHP from 4.4.4 to 4.4.6 our customers using
SPIP, Joomla Mambot, etc. their websites display a blank page
or 500 due to a segfault of PHP.
I have backported PCRE from version 7.0 to 6.6 on PHP 4.4.6.
No more segfault of PHP and SPIP works as before.
http://www.infomaniak.ch/php4/php-4.4.6-downgrade_pcre.patch
http://www.infomaniak.ch/php4/
Best Regards,
Guy Baconniere <baco(A-T)infomaniak.ch>
REFERENCES
http://www.guiderdoni.net/Probleme-Spip-et-php-version-4-4-6.html
http://bugs.php.net/bug.php?id=41050
Reproduce code:
---------------
1. Compile PHP 4.4.6 without my patch
2. install any version of SPIP including 1.9.2 (http://www.spip.net)
N.B. Only 1.9.2a has a workaround see
http://trac.rezo.net/trac/spip/changeset/8844
I understand this maybe a bug in PCRE 7.0 (see bug #41050)
but why do you not downgrade to 6.6 until fixed so your last PHP 4.4.x
will be again more "stable" ?
Expected result:
----------------
SPIP working.
Actual result:
--------------
Blank page, HTTP 500, segfault of PHP.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41148&edit=1
Thread (8 messages)