Bug #78050 [Asn->Csd]: SegFault phpdbg + opcache on include file twice

From: Date: Tue, 04 Jun 2019 14:28:32 +0000
Subject: Bug #78050 [Asn->Csd]: SegFault phpdbg + opcache on include file twice
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221111@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78050&edit=1 ID: 78050 Updated by: nikic@php.net Reported by: dev at mabe dot berlin Summary: SegFault phpdbg + opcache on include file twice -Status: Assigned +Status: Closed Type: Bug Package: phpdbg Operating System: Linux Alpine PHP Version: 7.3.5 Assigned To: nikic Block user comment: N Private report: N New Comment: Automatic comment on behalf of nikita.ppv@gmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=a3e6b50442db106d354931ecaa0284a200609be6 Log: Fixed bug #78050 Previous Comments: ------------------------------------------------------------------------ [2019-06-04 14:24:06] nikic@php.net Just checked that this is fixed on 7.4. We need to backport https://github.com/php/php-src/commit/a9821255612a99f9773c3601ff1914de4e7a7e32. ------------------------------------------------------------------------ [2019-06-02 04:22:04] php-bugs at lists dot php dot net 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. ------------------------------------------------------------------------ [2019-05-23 07:12:37] dev at mabe dot berlin It seems to be related to enabling opcache.revalidate_path: I can reproduce this behavior on Linux and Mac: $ phpdbg -dzend_extension=opcache.so -dopcache.enable_cli=1 -dopcache.revalidate_path=1 -qrr /tmp/test.php int(0) Segmentation fault: 11 $ phpdbg -dzend_extension=opcache.so -dopcache.enable_cli=1 -dopcache.revalidate_path=0 -qrr /tmp/test.php int(0) int(0) ------------------------------------------------------------------------ [2019-05-22 14:41:56] sjon@php.net The reported test-scripts work fine for me; I ran $ phpdbg -dzend_extension=opcache.so -dopcache.enable_cli=1 -qrr /tmp/test.php p.s. posting your entire phpinfo here is not very useful and obscures other information ------------------------------------------------------------------------ [2019-05-22 14:20:27] requinix@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 https://bugs.php.net/bug.php?id=78050 -- Edit this bug report at https://bugs.php.net/bug.php?id=78050&edit=1

« previous php.bugs (#221111) next »