#37326 [Opn->Fbk]: Win32 PHP crash

From: Date: Fri, 05 May 2006 11:12:44 +0000
Subject: #37326 [Opn->Fbk]: Win32 PHP crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-96650@lists.php.net to get a copy of this message
ID: 37326 Updated by: tony2001@php.net Reported By: alex at onix-systems dot com -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: WinXP PHP Version: 5.1.4 New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Not reproducible on Linux. Previous Comments: ------------------------------------------------------------------------ [2006-05-05 11:02:43] alex at onix-systems dot com Description: ------------ Can be reproduced on Win32. Works fine on Linux. Appieared in PHP-5.1.3 ans still exists in PHP-5.1.4 Code works fine if $a < 1560 Reproduce code: --------------- <? $value = ""; for( $a=0; $a < 1561; $a++ ) { $value .= "t"; } $res = preg_split( '/(?:(?:(?:(?<!\\\\)(?:[\\\\](?:[\\\\]{2})*))+[\$])|[^\$])*/', $value ); ?> Expected result: ---------------- nothing in this example Actual result: -------------- PHP crash ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37326&edit=1

« previous php.bugs (#96650) next »