Closed as not planned
Description
Description
Hi. After upgrading from 8.1.14 to 8.1.15, segfaults started occurring in code with fibers.
Unfortunately we couldn't make a short reproduction example.
I hope backtrace data from gdb will be enough to understand the problem.
Program received signal SIGSEGV, Segmentation fault.
gc_mark_grey (stack=0x7fb4107facc0, ref=0x100000092) at ./Zend/zend_types.h:1211
1211 ./Zend/zend_types.h: No such file or directory.
(gdb) bt
#0 gc_mark_grey (stack=0x7fb4107facc0, ref=0x100000092) at ./Zend/zend_types.h:1211
#1 gc_mark_roots (stack=0x7fb4107facc0) at ./Zend/zend_gc.c:985
#2 zend_gc_collect_cycles () at ./Zend/zend_gc.c:1467
#3 0x0000560364deb867 in gc_possible_root_when_full (ref=0x7fb412563e38) at ./Zend/zend_gc.c:593
#4 0x0000560364debc97 in gc_possible_root (ref=<optimized out>) at ./Zend/zend_gc.c:643
#5 0x0000560364dc3ad1 in zend_assign_to_variable (strict=<optimized out>, value_type=4 '\004', value=<optimized out>,
variable_ptr=<optimized out>) at ./Zend/zend_execute.h:163
#6 ZEND_ASSIGN_SPEC_CV_VAR_RETVAL_USED_HANDLER () at ./Zend/zend_vm_execute.h:46763
#7 0x0000560364dd6b3e in execute_ex (ex=0x7fb411486020) at ./Zend/zend_vm_execute.h:59714
#8 0x0000560364d619f4 in zend_call_function (fci=fci@entry=0x7fb412d62728, fci_cache=<optimized out>,
fci_cache@entry=0x7fb412d62768) at ./Zend/zend_execute_API.c:912
#9 0x0000560364e07e71 in zend_fiber_execute (transfer=0x7fb4107fbfb0) at ./Zend/zend_fibers.c:484
#10 0x0000560364e08e4e in zend_fiber_trampoline (data=...) at ./Zend/zend_fibers.c:296
#11 0x0000560364d08f0f in make_fcontext () at make_x86_64_sysv_elf_gas.S:78
#12 0x0000000000000000 in ?? ()
PHP Version
8.1.15
Operating System
Debian 11