ID: 41148 Updated by: [EMAIL PROTECTED] 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:
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. Previous Comments: ------------------------------------------------------------------------ [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
