|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-02-22 08:22 UTC] nikic@php.net
-Assigned To:
+Assigned To: dmitry
[2021-02-24 09:20 UTC] dmitry@php.net
[2021-02-24 09:20 UTC] dmitry@php.net
-Status: Assigned
+Status: Closed
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 13:00:01 2025 UTC |
Description: ------------ php -d opcache.jit_hot_func=1 <?php define('LONG_MIN', PHP_INT_MIN); var_dump(LONG_MIN-1); DASM_S_RANGE_VREG php: /home/nikic/php/php-src/ext/opcache/jit/zend_jit.c:311: handle_dasm_error: Assertion `0' failed. Aborted (core dumped) The problem seems to be that https://github.com/php/php-src/blob/fd3692ba41a6338905a38a8007ad61fa380f6fc1/ext/opcache/jit/zend_jit_x86.dasc#L4344-L4350 assumes that res_addr is an integer zval/reg, but here has been allocated to xmm0 (the result always overflows).