ID: 47689
Updated by: vrana@php.net
Reported By: vrana@php.net
-Status: Feedback
+Status: Open
Bug Type: PCRE related
Operating System: Windows only
PHP Version: *
Assigned To: pajoye
New Comment:
Same result with VC9 TS and 500 lines under CLI.
Previous Comments:
------------------------------------------------------------------------
[2009-04-10 17:43:42] pajoye@php.net
Please try using 5.3.0 VC9 snapshots(ts or NTS): http://windows.php.net
------------------------------------------------------------------------
[2009-04-10 15:15:15] nlopess@php.net
this is the usual stack problem.
Since we now use the stack for PCRE recursion on Windows, I think we
could increase the stack size. The default (1 MB) is a little short..
Pierre: can you please increase the stack size on windows binaries to
e.g. 8 MB? It's a matter of adding one parameter to the compile
arguments.
More details at:
http://msdn.microsoft.com/en-us/library/tdkhxaks(VS.71).aspx
------------------------------------------------------------------------
[2009-03-19 10:22:04] vrana@php.net
Both configuration directives are on the default value 100000.
I've found out that with much longer input (600 lines) the script
crashes also in CLI.
There's no crash in PHP 5.2.8, only PHP 5.2.9 is affected.
------------------------------------------------------------------------
[2009-03-18 23:16:14] felipe@php.net
Hi Jakub,
please check the pcre.backtrack_limit and pcre.recursion_limit value.
------------------------------------------------------------------------
[2009-03-18 13:10:15] vrana@php.net
I've uploaded the backtrace analysis to
http://www.vrana.cz/phpbug47689.zip
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/47689--
Edit this bug report at http://bugs.php.net/?id=47689&edit=1