Bug #77287 [Com]: Fatal error: Uncaught TypeError

From: Date: Fri, 11 Jan 2019 11:27:39 +0000
Subject: Bug #77287 [Com]: Fatal error: Uncaught TypeError
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218903@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77287&edit=1 ID: 77287 Comment by: stevenlewis at gowebprint dot com Reported by: someone dot is dot alive at gmail dot com Summary: Fatal error: Uncaught TypeError Status: Assigned Type: Bug Package: opcache Operating System: Windows PHP Version: 7.3.0 Assigned To: nikic Block user comment: N Private report: N New Comment: I can confirm the same problem on CentOS 7.6 x64 I can also confirm it only happens when xdebug and opcache are enabled I also get a segfualt logged to syslog that look like Jan 11 11:17:41 dev kernel: php-fpm[27762]: segfault at ffffffffffffffff ip 000056373fb92058 sp 00007ffffbfdc968 error 7 in php-fpm[56373fab5000+14b000] Jan 11 11:17:41 dev kernel: php-fpm[27760]: segfault at ffffffffffffffff ip 000056373fe17718 sp 00007ffffbfdced0 error 7 in php-fpm[56373fe00000+113000] Jan 11 11:17:45 dev kernel: php-fpm[27764]: segfault at 100000001 ip 000056373fb92058 sp 00007ffffbfdc968 error 6 in php-fpm[56373fab5000+14b000] Jan 11 11:17:51 dev kernel: php-fpm[27763]: segfault at 100000001 ip 000056373fb92058 sp 00007ffffbfdc968 error 6 in php-fpm[56373fab5000+14b000] Jan 11 11:17:54 dev kernel: php-fpm[27768]: segfault at 2 ip 000056373fb92058 sp 00007ffffbfdd748 error 6 in php-fpm[56373fab5000+14b000] Previous Comments: ------------------------------------------------------------------------ [2019-01-03 08:29:41] nikic@php.net Thanks. So no 32-bit, but also using the combination of opcache and xdebug. ------------------------------------------------------------------------ [2019-01-03 07:14:00] someone dot is dot alive at gmail dot com My setup: Windows 10, build 17763, x64 Apache 2.4.34, x64 PHP x64 TS Xdebug v2.7.0beta1 ------------------------------------------------------------------------ [2019-01-02 13:15:48] nikic@php.net If you are using a 32-bit build, then I've committed a possible fix in https://github.com/php/php-src/commit/325a1139744413420a62d3006c04914587628810. If not, then the issue must be somewhere else... ------------------------------------------------------------------------ [2019-01-02 12:20:20] nikic@php.net Could it be that you're on a 32-bit system (or use a 32-bit PHP build)? ------------------------------------------------------------------------ [2018-12-28 11:35:55] pirogen at protonmail dot com It looks like the bug only occurs with *both* opcache and xdebug enabled. Disabling *either* makes the issue go away. ------------------------------------------------------------------------ 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=77287 -- Edit this bug report at https://bugs.php.net/bug.php?id=77287&edit=1

« previous php.bugs (#218903) next »