[php-src] Issue #8079: Recent patch to SplFixedArray causes array_walk + json encode to hang
| From: | dstogov | Date: | Fri, 11 Feb 2022 14:52:25 +0000 |
| Subject: | [php-src] Issue #8079: Recent patch to SplFixedArray causes array_walk + json encode to hang | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239678@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8079
Comment Author: dstogov
The debug assertion tells that something goes completely wrong. It's prohibited to update
HashTables referenced from several places. Actually each invocation of get_properties() added (or
updated) numeric elements in the standard properties table.
We have infinity recursion because of recursive data and incompatibility of recursion protection
mechanism with SplFixedArray.