-
Notifications
You must be signed in to change notification settings - Fork 7.8k
3 stack limit tests failing on Alpinelinux PHP 8.3 #12643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Probably @arnaud-lb is the author |
One more test failed in CI (maybe because of some concurrency)
|
I could not reproduce this locally on Alpine 3.18 x86_64. I've configured php with The stack size in the error message Could you share the output of these commands ?
|
It is reproducible only on ppc64le arch, maybe because of byte-order |
The whole run with diff in https://gitlab.alpinelinux.org/alpine/aports/-/jobs/1176577 |
Default musl value is 128kb (80k prior to 1.1.21) according to https://wiki.musl-libc.org/functional-differences-from-glibc.html#Thread-stack-size |
These tests were setting zend.max_allowed_stack_size to a small value. On ppc64le this value is too small and the limit may be reached too soon.
Thank you. I was able to reproduce the issue in a ppc64le VM on tests stack_limit_011.phpt and stack_limit_012.phpt. These tests set a stack limit that is too low, so it is reached too soon on this arch. The Could you confirm that this branch resolves the issue? PHP-8.3...arnaud-lb:php-src:gh12643 |
These tests were setting zend.max_allowed_stack_size to a small value. On ppc64le this value is too small and the limit may be reached too soon.
Thank you a lot! PS: good to know that bug was in tests) |
@arnaud-lb might be worth to create a PR and merge it... |
* PHP-8.3: WS Clarify the stack limit exception message Fix GH-12643: Stack limit tests failing on ppc64le
Thank you |
Description
Stack size tests added in #9104
The following tests started to fail when PHP using
--enable-zend-test
Zend/tests/stack_limit/stack_limit_007.phpt
Zend/tests/stack_limit/stack_limit_011.phpt
Zend/tests/stack_limit/stack_limit_012.phpt
Resulted in this output:
PHP Version
PHP 8.3.0RC5
Operating System
Alpinelinux
The text was updated successfully, but these errors were encountered: