Skip to content

stack-overflow at zend_objects_store_del /php-src/Zend/zend_objects_API.c:161 #18717

Closed as duplicate of#16212
@Just-do-st

Description

@Just-do-st

Description

The following code:

<?php

class Node
{
/** @var Node */
    public $previous;
    /** @var Node */
    public $next;
}

var_dump(gc_enabled());
var_dump('start');

function xxx() {
    $firstNode = new Node();
    $firstNode->previous = $firstNode;
    $firstNode->next = $firstNode;

    $circularDoublyLinkedList = $firstNode;

    for ($i = 0; $i < 300000; $i++) { $currentNode = $circularDoublyLinkedList;
        $nextNode = $circularDoublyLinkedList->next;

        $newNode = new Node();

        $newNode->previous = $currentNode;
        $currentNode->next = $newNode;
        $newNode->next = $nextNode;
        #nextNode->previous = $newNode; �        $circularDoublyLinkedList = $nextNode;
    }
}

xxx();
gc_collect_cycles();

var_dump('end');
?>

Resulted in this output:

bool(true)
string(5) "start"
AddressSanitizer:DEADLYSIGNAL
=================================================================
==1517206==ERROR: AddressSanitizer: stack-overflow on address 0x7fffff7fefc8 (pc 0x55555bd32735 bp 0x7fffff7ff020 sp 0x7fffff7fefc0 T0)
    #0 0x55555bd32734 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67de734)
    #1 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #2 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #3 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #4 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #5 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #6 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #7 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #8 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #9 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #10 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #11 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #12 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #13 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #14 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #15 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #16 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #17 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #18 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #19 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #20 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #21 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #22 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #23 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #24 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #25 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #26 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #27 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #28 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #29 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #30 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #31 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #32 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #33 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #34 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #35 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #36 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #37 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #38 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #39 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #40 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #41 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #42 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #43 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #44 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #45 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #46 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #47 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #48 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #49 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #50 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #51 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #52 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #53 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #54 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #55 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #56 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #57 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #58 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #59 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #60 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #61 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #62 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #63 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #64 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #65 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #66 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #67 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #68 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #69 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #70 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #71 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #72 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #73 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #74 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #75 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #76 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #77 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #78 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #79 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #80 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #81 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #82 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #83 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #84 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #85 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #86 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #87 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #88 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #89 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #90 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #91 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #92 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #93 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #94 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #95 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #96 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #97 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #98 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #99 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #100 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #101 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #102 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #103 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #104 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #105 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #106 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #107 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #108 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #109 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #110 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #111 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #112 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #113 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #114 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #115 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #116 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #117 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #118 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #119 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #120 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #121 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #122 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #123 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #124 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #125 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #126 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #127 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #128 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #129 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #130 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #131 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #132 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #133 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #134 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #135 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #136 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #137 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #138 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #139 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #140 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #141 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #142 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #143 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #144 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #145 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #146 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #147 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #148 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #149 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #150 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #151 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #152 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #153 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #154 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #155 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #156 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #157 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #158 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #159 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #160 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #161 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #162 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #163 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #164 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #165 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #166 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #167 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #168 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #169 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #170 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #171 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #172 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #173 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #174 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #175 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #176 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #177 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #178 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #179 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #180 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #181 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #182 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #183 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #184 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #185 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #186 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #187 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #188 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #189 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #190 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #191 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #192 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #193 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #194 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #195 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #196 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #197 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #198 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #199 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #200 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #201 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #202 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #203 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #204 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #205 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #206 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #207 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #208 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #209 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #210 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #211 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #212 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #213 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #214 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #215 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #216 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #217 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #218 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #219 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #220 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #221 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #222 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #223 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #224 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #225 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #226 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #227 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #228 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #229 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #230 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #231 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #232 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #233 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #234 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #235 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #236 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #237 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #238 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #239 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #240 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #241 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #242 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #243 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #244 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)
    #245 0x55555be08f26 in rc_dtor_func (/crash-replay/php-src/sapi/cli/php+0x68b4f26)
    #246 0x55555bd351b5 in zend_object_dtor_property (/crash-replay/php-src/sapi/cli/php+0x67e11b5)
    #247 0x55555bd35823 in zend_object_std_dtor (/crash-replay/php-src/sapi/cli/php+0x67e1823)
    #248 0x55555bd334c7 in zend_objects_store_del (/crash-replay/php-src/sapi/cli/php+0x67df4c7)

SUMMARY: AddressSanitizer: stack-overflow (/crash-replay/php-src/sapi/cli/php+0x67de734) in zend_objects_store_del
==1517206==ABORTING

PHP Version

master latest and php-src-php-8.4.7

/php-src# ./sapi/cli/php -v
PHP 8.5.0-dev (cli) (built: May 31 2025 16:44:00) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.5.0-dev, Copyright (c) Zend Technologies

Operating System

Ubuntu 20.04

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions