[php-src] Issue #21086: Test gh20836_stack_limit.phpt fails on Alpinelinux ppc64le 8.4.18RC1
| From: | andypost | Date: | Thu, 29 Jan 2026 21:15:10 +0000 |
| Subject: | [php-src] Issue #21086: Test gh20836_stack_limit.phpt fails on Alpinelinux ppc64le 8.4.18RC1 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-251630@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/21086
Author: andypost
### Description
Testing upcoming release 8.4.18RC1 and se reproducible failure, only on ppc64le arch
The diff is:
```
TEST 9720/19044 [ext/mbstring/tests/gh20836_stack_limit.phpt]
========DIFF========
001- Fatal error: Uncaught Error: Maximum call stack size of %d bytes (zend.max_allowed_stack_size -
zend.reserved_stack_size) reached. Infinite recursion? in %s:%d
002- Stack trace:
003- #0 %s(%d): mb_convert_variables('utf-8', 'utf-8', Array)
004- #1 {main}
005- thrown in %s on line %d
001+ Fatal error: Maximum call stack size of 81920 bytes (zend.max_allowed_stack_size -
zend.reserved_stack_size) reached during compilation. Try splitting expression in
/builds/alpine/aports/community/php84/src/php-8.4.18RC1/ext/mbstring/tests/gh20836_stack_limit.php
on line 4
========DONE========
FAIL GH-20836 (Stack overflow in mb_convert_variables with recursive array references, stack limit
case) [ext/mbstring/tests/gh20836_stack_limit.phpt]
```
### PHP Version
```plain
PHP 8.4.18RC1
```
### Operating System
Alpinelinux