-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Set of opcache tests fail zts+aarch64 8.4.1 #16902
Comments
it fail only on aarch64
|
|
Hm, this could be related to the TSRM cache tcb offset, if this is not fully supported on ARM64+MUSL. |
Previously I did not build zts so no previous state, debug |
building with |
Yes, there's assertions now
|
all of them are the same!
|
Thanks! Right, so my suspicion that this is missing MUSL TSRM TLS support is right. |
@andypost Can you please try the following patch? https://gist.github.com/nielsdos/acdcc7c3cab51d42df6eec41f50eb5e3 |
Thank you, I will try as php.net will be back |
@nielsdos Thank you a lot! now it passed all tests! |
Thanks for checking @andypost , now I need to split this into different PRs because one part needs to go in php-src and another one in https://github.com/dstogov/ir |
This is the IR part of php/php-src#16902.
Accompanying IR PR: dstogov/ir#95
Attempted 8.3 build and it has more failures, moreover lots fails on 32-bits |
Note that I force pushed this 8.2-8.3 PR a few minutes ago, so if you had tested in the meantime I have updated the patch |
Thank you! ARM passed, the only x86 (32-bit) failure
|
This is the IR part of php/php-src#16902.
@nielsdos many thanks! all arches passed, btw x86 failure is random somehow |
often fails on 32-bits both arm and x86
and this one I even disabled for few arches as it very unstable
|
* PHP-8.2: Fix GH-16902: Set of opcache tests fail zts+aarch64 (8.2-8.3)
* PHP-8.3: Fix GH-16902: Set of opcache tests fail zts+aarch64 (8.2-8.3)
Accompanying IR PR: dstogov/ir#95 Closes GH-16924.
@andypost I fixed the ZTS issue, hence this issue was closed. About your other two issues:
|
@andypost I can reproduce that FFI issue but have not fully understood it yet. I know that the reason for the crash is that |
We should compare the block memory, not the block metadata (See zend_mm_add_huge_block). This caused random test failure for ext/ffi/tests/gh14626.phpt when the malloc() performed by the FFI code lies close to the block metadata, and the size of the block is large enough. This was reported by php#16902 (comment)
We should compare the block memory, not the block metadata (See zend_mm_add_huge_block). This caused random test failure for ext/ffi/tests/gh14626.phpt when the malloc() performed by the FFI code lies close to the block metadata, and the size of the block is large enough. This was reported by #16902 (comment) Closes GH-16938.
@andypost Everything you reported, including that gdbm issue, should now be fixed in the next releases of 8.2,8.3,8.4. |
@nielsdos Thank you a lot! I'm waiting for RC1 releases to start with ZTS! |
Description
Building ZTS packages for Alpinelinux for 8.4.1 I got a set of failed tests and all of them related to opcache
ref https://gitlab.alpinelinux.org/alpine/aports/-/jobs/1615413
PHP Version
PHP 8.4.1
Operating System
Alpinelinux
The text was updated successfully, but these errors were encountered: