remi
2023-12-12 09:24
reporter
~0006722
Last edited: 2023-12-12 09:27
|
Reproduced un emulated ppc64le running Fedora 39
(gdb) run -n -d "output_handler=" -d "open_basedir=" -d "disable_functions=" -d "output_buffering=Off" -d "error_reporting=32767" -d "display_errors=1" -d "display_startup_errors=1" -d "log_errors=0" -d "html_errors=0" -d "track_errors=0" -d "report_memleaks=1" -d "report_zend_debug=0" -d "docref_root=" -d "docref_ext=.html" -d "error_prepend_string=" -d "error_append_string=" -d "auto_prepend_file=" -d "auto_append_file=" -d "ignore_repeated_errors=0" -d "precision=14" -d "serialize_precision=-1" -d "memory_limit=128M" -d "opcache.fast_shutdown=0" -d "opcache.file_update_protection=0" -d "opcache.revalidate_freq=0" -d "opcache.jit_hot_loop=1" -d "opcache.jit_hot_func=1" -d "opcache.jit_hot_return=1" -d "opcache.jit_hot_side_exit=1" -d "zend.assertions=1" -d "zend.exception_ignore_args=0" -d "zend.exception_string_param_max_len=15" -d "short_open_tag=0" -d "extension=simplexml" -d "zend_extension=/home/remi/xdebug/modules/xdebug.so" -d "session.auto_start=0" -d "zlib.output_compression=Off" -d "xdebug.mode=develop" -f "/home/remi/xdebug/tests/base/bug02036.php"
Program received signal SIGSEGV, Segmentation fault.
0x0000000100442160 in zim_Exception___toString (execute_data=0x7ffff6e89070, return_value=0x7fffffffae58) at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/Zend/zend_exceptions.c:724
724 Z_PROTECT_RECURSION_P(exception);
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.38-14.fc39.ppc64le libedit-3.1-48.20230828cvs.fc39.ppc64le libxcrypt-4.4.36-2.fc39.ppc64le libxml2-2.10.4-3.fc39.ppc64le ncurses-libs-6.4-7.20230520.fc39.ppc64le openssl-libs-3.1.1-4.fc39.ppc64le pcre2-10.42-1.fc39.2.ppc64le xz-libs-5.4.4-1.fc39.ppc64le zlib-1.2.13-4.fc39.ppc64le
(gdb) bt
#0 0x0000000100442160 in zim_Exception___toString (execute_data=0x7ffff6e89070, return_value=0x7fffffffae58) at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/Zend/zend_exceptions.c:724
#1 0x0000000100367544 in zend_call_function (fci=0x7fffffffad88, fci_cache=0x7fffffffad68) at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/Zend/zend_execute_API.c:962
#2 0x0000000100367f40 in zend_call_known_function (fn=0x100712010, object=<optimized out>, called_scope=<optimized out>, retval_ptr=<optimized out>, param_count=<optimized out>, params=<optimized out>,
named_params=<optimized out>) at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/Zend/zend_execute_API.c:1043
#3 0x0000000100110f10 in zend_call_known_instance_method (params=0x0, param_count=0, retval_ptr=0x7fffffffae58, object=0x7ffff6e5f280, fn=<error reading variable: value has been optimized out>)
at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/Zend/zend_API.h:753
#4 zend_call_known_instance_method_with_0_params (retval_ptr=0x7fffffffae58, object=0x7ffff6e5f280, fn=<error reading variable: value has been optimized out>)
at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/Zend/zend_API.h:759
#5 zend_exception_error (ex=0x7ffff6e5f280, severity=<optimized out>) at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/Zend/zend_exceptions.c:920
#6 0x0000000100475bbc in zend_fiber_object_destroy (object=0x7ffff6e6b640) at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/Zend/zend_fibers.c:644
#7 zend_fiber_object_destroy (object=0x7ffff6e6b640) at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/Zend/zend_fibers.c:613
#8 0x00000001004664a0 in zend_objects_store_del (object=0x7ffff6e6b640) at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/Zend/zend_objects_API.c:184
#9 0x000000010037b4e4 in rc_dtor_func (p=<optimized out>) at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/Zend/zend_variables.c:57
#10 0x000000010037b66c in i_zval_ptr_dtor (zval_ptr=<optimized out>) at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/Zend/zend_variables.h:44
#11 zval_ptr_dtor (zval_ptr=<optimized out>) at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/Zend/zend_variables.c:84
#12 0x000000010039c878 in _zend_hash_del_el_ex (prev=<optimized out>, p=<optimized out>, idx=<optimized out>, ht=<optimized out>) at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/Zend/zend_hash.c:1425
#13 _zend_hash_del_el (p=0x7ffff6e5a340, idx=<optimized out>, ht=0x100677a10 <executor_globals+304>) at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/Zend/zend_hash.c:1452
#14 zend_hash_reverse_apply (ht=0x100677a10 <executor_globals+304>, apply_func=0x100364620 <zval_call_destructor>) at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/Zend/zend_hash.c:2168
#15 0x0000000100364a10 in shutdown_destructors () at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/Zend/zend_execute_API.c:259
#16 0x000000010037eb34 in zend_call_destructors () at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/Zend/zend.c:1249
#17 0x00000001002ef0a4 in php_request_shutdown (dummy=<optimized out>) at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/main/main.c:1825
#18 0x00000001004d1af8 in do_cli (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/sapi/cli/php_cli.c:1135
#19 0x000000010011b1dc in main (argc=80, argv=0x100681230) at /usr/src/debug/php-8.2.13-1.fc39.ppc64le/sapi/cli/php_cli.c:1333 |