Bug #78249 [NEW]: assert(0) hit in _zend_is_inconsistent
| From: | sjon@php.net | Date: | Thu, 04 Jul 2019 06:46:52 +0000 |
| Subject: | Bug #78249 [NEW]: assert(0) hit in _zend_is_inconsistent | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-221629@lists.php.net to get a copy of this message | ||
From: sjon
Operating system:
PHP version: 7.3.7RC3
Package: Reproducible crash
Bug Type: Bug
Bug description:assert(0) hit in _zend_is_inconsistent
Description:
------------
After upgrading 7.3.7 to contain
https://github.com/php/php-src/commit/21465ec0e1c1401751b35a21f45f1d57255d5be9
I still have segfaults. Here is a backtrace from my debugbuild (which
did not contain this fix)
#0 0x00007ffff72f5755 in raise () from /usr/lib/libc.so.6
#1 0x00007ffff72e0851 in abort () from /usr/lib/libc.so.6
#2 0x00007ffff72e0727 in __assert_fail_base.cold () from
/usr/lib/libc.so.6
#3 0x00007ffff72ee026 in __assert_fail () from /usr/lib/libc.so.6
#4 0x0000555555b35475 in _zend_is_inconsistent (ht=0x7fffd2147420,
file=0x55555637c570 "Zend/zend_hash.c", line=2100) at
Zend/zend_hash.c:67
#5 0x0000555555b3c5bc in _zend_hash_find_known_hash (ht=0x7fffd2147420,
key=0x7fffd3934b38) at Zend/zend_hash.c:2100
#6 0x0000555555b8183b in zend_hash_find_ex (ht=0x7fffd2147420,
key=0x7fffd3934b38, known_hash=1 '\001') at Zend/zend_hash.h:177
#7 0x0000555555b8190f in zend_hash_find_ex_ind (ht=0x7fffd2147420,
key=0x7fffd3934b38, known_hash=1 '\001') at Zend/zend_hash.h:352
#8 0x0000555555be55d8 in
ZEND_ISSET_ISEMPTY_DIM_OBJ_SPEC_CV_CONST_HANDLER () at
Zend/zend_vm_execute.h:41689
#9 0x0000555555bfe809 in execute_ex (ex=0x7ffff4e20030) at
Zend/zend_vm_execute.h:59813
#10 0x0000555555bff922 in zend_execute (op_array=0x7ffff4e82300,
return_value=0x0) at Zend/zend_vm_execute.h:60881
#11 0x0000555555b232b0 in zend_execute_scripts (type=8, retval=0x0,
file_count=2) at Zend/zend.c:1568
#12 0x0000555555a877e8 in php_execute_script
(primary_file=0x7fffffffd490) at main/main.c:2627
#13 0x0000555555c026ed in do_cli (argc=7, argv=0x555556548650) at
sapi/cli/php_cli.c:997
#14 0x0000555555c038cc in main (argc=7, argv=0x555556548650) at
sapi/cli/php_cli.c:1389
--
Edit bug report at https://bugs.php.net/bug.php?id=78249&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=78249&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=78249&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=78249&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=78249&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78249&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78249&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78249&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78249&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78249&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78249&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78249&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78249&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78249&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=78249&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=78249&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78249&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78249&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78249&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78249&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78249&r=mysqlcfg