Bug #81325 [NEW]: Segfault in zif_simplexml_import_dom

From: Date: Tue, 03 Aug 2021 09:39:25 +0000
Subject: Bug #81325 [NEW]: Segfault in zif_simplexml_import_dom
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235542@lists.php.net to get a copy of this message
From: remi Operating system: PHP version: 8.0.9 Package: SimpleXML related Bug Type: Bug Bug description:Segfault in zif_simplexml_import_dom Description: ------------ Discovered in Fedora CI for laminas-xmlrpc Segfault in test suite. (gdb) bt #0 0x00007ffff28c923b in zif_simplexml_import_dom (execute_data=<optimized out>, return_value=0x7ffff72150e0) at /usr/src/debug/php80-php-8.0.9-1.fc33.remi.x86_64/ext/simplexml/simplexml.c:2638 #1 0x0000555555849f3e in ZEND_DO_FCALL_BY_NAME_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php80-php-8.0.9-1.fc33.remi.x86_64/Zend/zend_vm_execute.h:1554 #2 execute_ex (ex=0x55555647b1f0) at /usr/src/debug/php80-php-8.0.9-1.fc33.remi.x86_64/Zend/zend_vm_execute.h:54544 #3 0x000055555584c71d in zend_execute (op_array=0x7ffff727c100, return_value=0x0) at /usr/src/debug/php80-php-8.0.9-1.fc33.remi.x86_64/Zend/zend_vm_execute.h:58871 #4 0x00005555557e1770 in zend_execute_scripts (type=type@entry=8, retval=retval@entry=0x0, file_count=file_count@entry=3) at /usr/src/debug/php80-php-8.0.9-1.fc33.remi.x86_64/Zend/zend.c:1680 #5 0x000055555577c68a in php_execute_script (primary_file=<optimized out>) at /usr/src/debug/php80-php-8.0.9-1.fc33.remi.x86_64/main/main.c:2524 #6 0x00005555558723b7 in do_cli (argc=3, argv=0x555555e22710) at /usr/src/debug/php80-php-8.0.9-1.fc33.remi.x86_64/sapi/cli/php_cli.c:948 #7 0x000055555563a6ae in main (argc=3, argv=0x555555e22710) at /usr/src/debug/php80-php-8.0.9-1.fc33.remi.x86_64/sapi/cli/php_cli.c:1336 -- Edit bug report at https://bugs.php.net/bug.php?id=81325&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=81325&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=81325&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=81325&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=81325&r=needscript Try newer version: https://bugs.php.net/fix.php?id=81325&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=81325&r=support Expected behavior: https://bugs.php.net/fix.php?id=81325&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=81325&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=81325&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=81325&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=81325&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=81325&r=dst IIS Stability: https://bugs.php.net/fix.php?id=81325&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=81325&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=81325&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=81325&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=81325&r=mysqlcfg

« previous php.bugs (#235542) next »