#47799 [Com]: Segfault with Regex
ID: 47799
Comment by: amr dot mostafa at gmail dot com
Reported By: mb at insidetheweb dot de
Status: No Feedback
Bug Type: PCRE related
Operating System: *
PHP Version: 5.2.9
New Comment:
I've tried jani at php(dot)net suggestion in
(http://bugs.php.net/bug.php?id=48153) to increase the stack size and
that fixed the issue.
Previous Comments:
------------------------------------------------------------------------
[2009-10-17 20:05:33] amr dot mostafa at gmail dot com
I've created a script to reproduce this. I was able to reproduce it on
*some* systems (Ubuntu 9.04) using PHP 5.2.10, 5.2.11 and 5.3.0 (using
vanilla PHP downloaded from php.net).
I've also tried compiling PHP 5.3.0 against vanilla PCRE 7.9 (using
--with-pcre-regex) but that didn't make any difference.
However, I cannot reproduce this issue on CentOS 5.3 and 4.6 with PHP
5.2.9 and 5.2.10 from Oracle RPMs.
Script:
http://gist.github.com/212434 (download directly:
http://gist.github.com/raw/212434/6cf1720cbac05340a5cb2a5c6431b2a4f6024e0d/pcre%20segfault)
------------------------------------------------------------------------
[2009-04-07 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2009-03-30 18:06:07] jani@php.net
You would find out how to generate the backtrace if you bother
reading the document in the link provided. And you don't need to do
it in web server, CLI is fine too.
------------------------------------------------------------------------
[2009-03-28 01:29:37] mb at insidetheweb dot de
Sorry, no clue how to get a backtrace on a running system.
This httpd -X does not work. Not even mod_backtrace.
Simply
Download the Text_Wiki with Mediawiki and parse some large Table. You
get the error then yourself. I really doubt its system related.
------------------------------------------------------------------------
[2009-03-27 16:16:34] felipe@php.net
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.
------------------------------------------------------------------------
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/47799
--
Edit this bug report at http://bugs.php.net/?id=47799&edit=1
Thread (7 messages)