Bug #80786 [NEW]: PHP crash using JIT
| From: | gfpuba+phpbug at gmail dot com | Date: | Tue, 23 Feb 2021 00:14:00 +0000 |
| Subject: | Bug #80786 [NEW]: PHP crash using JIT | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-232330@lists.php.net to get a copy of this message | ||
From: gfpuba+phpbug at gmail dot com
Operating system: Windows 10 64bit
PHP version: 8.0.3RC1
Package: JIT
Bug Type: Bug
Bug description:PHP crash using JIT
Description:
------------
When JIT is enabled, running this code using PHP CLI or with Apache 2.4
results in a crash.
The program runs fine without JIT
I am running the 64bit version
It fails with all php 8 versions
Test script:
---------------
<?php
$a = new Test();
$a->TestFunc();
$a = false;
echo 'Program terminated';
class Test{
private $value = 11.3;
public function TestFunc(){
$this->value -= 10;
}
}
Expected result:
----------------
Displays Program terminated
Actual result:
--------------
crash in PHP
--
Edit bug report at https://bugs.php.net/bug.php?id=80786&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80786&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80786&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80786&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80786&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80786&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80786&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80786&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80786&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80786&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80786&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80786&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80786&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80786&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80786&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80786&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80786&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80786&r=mysqlcfg