[php-src] Issue #7772: Destruction segmentation fault for deeply nested objects

From: Date: Tue, 21 Dec 2021 20:28:12 +0000
Subject: [php-src] Issue #7772: Destruction segmentation fault for deeply nested objects
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238520@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/7772 Comment Author: dstogov > @dstogov, do you think it would be feasible to switch GC to a non-recursive algorithm sometime, > or is this just something we need to document? I don't see a good way to fix this. In case we switch to a user-growable stack, we will also have to support arrays and dynamic properties that might double memory consumption. Freeing object before its properties also makes troubles for typed properties. I prefer to keep the current behavior.

« previous php.bugs (#238520) next »