Edit report at https://bugs.php.net/bug.php?id=63403&edit=1
ID: 63403 Updated by: larue...@php.net Reported by: to dot yashin at gmail dot com Summary: Segmentation fault with preg_match -Status: Open +Status: Not a bug Type: Bug Package: Reproducible crash Operating System: linux ubuntu PHP Version: 5.3.18 Block user comment: N Private report: N New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php stack overflow, see #45735 Previous Comments: ------------------------------------------------------------------------ [2012-10-31 06:44:35] to dot yashin at gmail dot com Description: ------------ reproduced on: php 5.3.10 php 5.4.6 Test script: --------------- $text = file_get_contents('http://dl.dropbox.com/u/31119503/php_segfault/data.txt'); preg_match('/(?:^.*$\n*)+/mx', $text); Expected result: ---------------- preg_match return false Actual result: -------------- Segmentation fault (core dumped) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63403&edit=1