Bug #81311 [NEW]: Segfault running test suite with JIT enabled

From: Date: Thu, 29 Jul 2021 19:30:40 +0000
Subject: Bug #81311 [NEW]: Segfault running test suite with JIT enabled
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235465@lists.php.net to get a copy of this message
From: smokey101stair at gmail dot com Operating system: Windows 10 PHP version: 8.0.9 Package: JIT Bug Type: Bug Bug description:Segfault running test suite with JIT enabled Description: ------------ Getting a segfault when running a specific test in my test suite. It happens on both PHP 8.0.8 and 8.0.9, as well as Ubuntu. Unfortunately, I don't have a reduced test case, but have provided a core dump and backtrace. I was unable to reproduce in a debug build on Ubuntu, but was able to on Windows with debug symbols. VisualStudio says "execute_data->opline is nullptr". I can publish a branch with the test suite if needed. PHP 8.0.8 (cli) (built: Jun 29 2021 16:03:59) ( NTS Visual C++ 2019 x64 ) Copyright (c) The PHP Group Zend Engine v4.0.8, Copyright (c) Zend Technologies with Zend OPcache v8.0.8, Copyright (c), by Zend Technologies opcache.enable_cli=1 opcache.jit=1255 opcache.memory_consumption=256 opcache.jit_buffer_size=256M opcache.max_accelerated_files=20000 Core dumps: https://trowbotham.com/bug_tests/php_8.0.8.dumps.zip Actual result: -------------- Backtrace: [0x7ffd53677e86] php8!execute_ex+26 [D:\a\php-ftw\php-ftw\php\vs16\x64\php-8.0.8\Zend\zend_vm_execute.h @ 54335 + 6] D:\a\php-ftw\php-ftw\php\vs16\x64\php-8.0.8\Zend\zend_vm_execute.h @ 54335 + 6 [0x7ffd53666136] php8!zend_call_function+2c6 [D:\a\php-ftw\php-ftw\php\vs16\x64\php-8.0.8\Zend\zend_execute_API.c @ 896] D:\a\php-ftw\php-ftw\php\vs16\x64\php-8.0.8\Zend\zend_execute_API.c @ 896 [0x7ffd53665e3b] php8!zend_call_known_function+6b [D:\a\php-ftw\php-ftw\php\vs16\x64\php-8.0.8\Zend\zend_execute_API.c @ 986] D:\a\php-ftw\php-ftw\php\vs16\x64\php-8.0.8\Zend\zend_execute_API.c @ 986 [0x7ffd53b62ec8] php8!zend_std_call_getter+50 [D:\a\php-ftw\php-ftw\php\vs16\x64\php-8.0.8\Zend\zend_object_handlers.c @ 183] D:\a\php-ftw\php-ftw\php\vs16\x64\php-8.0.8\Zend\zend_object_handlers.c @ 183 [0x7ffd53a8c0d6] php8!zend_std_read_property+40fdb6 [D:\a\php-ftw\php-ftw\php\vs16\x64\php-8.0.8\Zend\zend_object_handlers.c @ 646] D:\a\php-ftw\php-ftw\php\vs16\x64\php-8.0.8\Zend\zend_object_handlers.c @ 646 [0x7ffd7d7bd8fc] php_opcache!zend_jit_fetch_obj_r_slow+4c [D:\a\php-ftw\php-ftw\php\vs16\x64\php-8.0.8\ext\opcache\jit\zend_jit_helpers.c @ 1550 + 1a] D:\a\php-ftw\php-ftw\php\vs16\x64\php-8.0.8\ext\opcache\jit\zend_jit_helpers.c @ 1550 + 1a [0x10001004c063] 0x00001000`1004c063 [0x00000001] 0x00000001 -- Edit bug report at https://bugs.php.net/bug.php?id=81311&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=81311&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=81311&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=81311&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=81311&r=needscript Try newer version: https://bugs.php.net/fix.php?id=81311&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=81311&r=support Expected behavior: https://bugs.php.net/fix.php?id=81311&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=81311&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=81311&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=81311&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=81311&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=81311&r=dst IIS Stability: https://bugs.php.net/fix.php?id=81311&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=81311&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=81311&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=81311&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=81311&r=mysqlcfg

« previous php.bugs (#235465) next »