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

From: Date: Tue, 09 Aug 2016 16:32:51 +0000
Subject: Bug #72796 [Opn->Fbk]: 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-203119@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: cmb@php.net Reported by: vlczech at vlczech dot cz Summary: preg_replace crash apache (Segm.fault(11) on Linux, 3221225725 on Windows) -Status: Open +Status: Feedback Type: Bug Package: *Regular Expressions Operating System: Windows / Linux PHP Version: 5.6.24 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N 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. I can't reproduce that with php-5.6.12-nts-Win32-VC11-x86 or php-5.6.23-nts-Win32-VC11-x86. Previous Comments: ------------------------------------------------------------------------ [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 (#203119) next »