-
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
Amrv6 build on Raspbian Trixie causes seg fault on make test #17552
Comments
Hi @misosoup7. We'll need some additional information.
You may also try to compile with |
No tests fail up to this point:
Then I get the seg fault. I will recompile with the additional configuration and post the result here. |
Ah, so it's the test script itself that causes that segfault. Right, please try |
I tried the following:
Results in:
|
I don't know if asan works for your platform. You can also try GDB without asan, or valgrind. |
I'm having a hard time getting GDB without asan to tell me where it's exploding. where is telling me
And setting breakpoints on any of these functions only trigger prior to the tests actually starting and will not trigger any breakpoints in between tests... |
What command are you running in GDB? |
Description
I downloaded the latest php source onto my Raspberry Pi Zero because the currently available version for trixie on raspbian is not compiled to Armv6. So figured that I'll compile it myself.
./buildconf
andmake
take a while but are uneventful (minus a few warnings about uninitialized variables.Then running
make test
results in the following error about 30 tests in/bin/bash: line 22: 4400 Segmentation fault TEST_PHP_EXECUTABLE=/home/username/php-src/php-8.4.3/sapi/cli/php TEST_PHP_SRCDIR=/home/username/php-src/php-8.4.3 CC="cc" /home/username/php-src/php-8.4.3/sapi/cli/php -n -c /home/username/php-src/php-8.4.3/tmp-php.ini -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' /home/username/php-src/php-8.4.3/run-tests.php -n -c /home/username/php-src/php-8.4.3/tmp-php.ini -d extension_dir=/home/username/php-src/php-8.4.3/modules/ ` if test "x" != "x"; then for i in ""; do . $i; if test "x$dlname" != "xdl_test.so"; then /home/username/php-src/php-8.4.3/build/shtool echo -n -- " -d extension=$dlname"; fi; done; fi; if test "x/home/username/php-src/php-8.4.3/modules/opcache.la" != "x"; then for i in /home/username/php-src/php-8.4.3/modules/opcache.la""; do . $i; /home/username/php-src/php-8.4.3/build/shtool echo -n -- " -d zend_extension=/home/username/php-src/php-8.4.3/modules/$dlname"; done; fi` make: *** [Makefile:187: test] Error 139
PHP Version
PHP 8.4.3
Operating System
Raspbian Trxie
The text was updated successfully, but these errors were encountered: