From:             baco at infomaniak dot ch
Operating system: Linux/Debian
PHP version:      4.4.6
PHP Bug Type:     PCRE related
Bug description:  PHP 4.4.6 Segfault with PCRE 7.0 not with 6.6

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 bug report at http://bugs.php.net/?id=41148&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=41148&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=41148&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=41148&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=41148&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=41148&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=41148&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=41148&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=41148&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=41148&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=41148&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=41148&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=41148&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=41148&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=41148&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=41148&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=41148&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=41148&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=41148&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=41148&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=41148&r=mysqlcfg

Reply via email to