Bug #72796 [Fbk->NoF]: preg_replace crash apache (Segm.fault(11) on Linux, 3221225725 on Windows)

From: Date: Sun, 21 Aug 2016 04:22:26 +0000
Subject: Bug #72796 [Fbk->NoF]: preg_replace crash apache (Segm.fault(11) on Linux, 3221225725 on Windows)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203437@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72796&edit=1 ID: 72796 Updated by: php-bugs@lists.php.net Reported by: vlczech at vlczech dot cz Summary: preg_replace crash apache (Segm.fault(11) on Linux, 3221225725 on Windows) -Status: Feedback +Status: No Feedback Type: Bug Package: *Regular Expressions Operating System: Windows / Linux PHP Version: 5.6.24 Assigned To: cmb Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2016-08-09 16:32:49] cmb@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. I can't reproduce that with php-5.6.12-nts-Win32-VC11-x86 or php-5.6.23-nts-Win32-VC11-x86. ------------------------------------------------------------------------ [2016-08-09 14:03:15] vlczech at vlczech dot cz Description: ------------ preg_replace("#('(\\\\.|[^'\\\\])*')#sU", "$1", $content); or preg_replace('#(\'(\\\\.|[^\'\\\\])*\')#sU', '$1', $content); where $content is content of jquery.min.js of version 1.11.0 (https://code.jquery.com/jquery-1.11.0.min.js), which was loaded to $content by function file_get_contents. Linux with PHP 5.4.16: [Tue Aug 09 14:41:26.597648 2016] [core:notice] [pid 1409] AH00052: child pid 13046 exit signal Segmentation fault (11) Windows 10 with PHP 5.6.12: Parent: child process 18044 exited with status 3221225725 -- Restarting. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=72796&edit=1

« previous php.bugs (#203437) next »