On 2018/08/10 23:54, s_g...@telus.net wrote:
> I just tried to use php70 from the recent package build for armv7, on a
> fresh install of current Aug 9.  
> 
>  
> 
> When started, php runs constantly with the following log entries:
> 
>  
> 
> op1bsdtest2# tail /var/log/php-fpm.log
> 
> [10-Aug-2018 23:40:26] WARNING: [pool www] child 45495 exited on signal 10
> (SIGBUS) after 1098009296.000000 seconds from start
> 
> [10-Aug-2018 23:40:26] NOTICE: [pool www] child 59471 started
> 
> [10-Aug-2018 23:40:26] WARNING: [pool www] child 79334 exited on signal 10
> (SIGBUS) after 1098009296.000000 seconds from start
> 
> [10-Aug-2018 23:40:26] NOTICE: [pool www] child 89082 started
> 
> [10-Aug-2018 23:40:26] WARNING: [pool www] child 22475 exited on signal 10
> (SIGBUS) after 1098009296.000000 seconds from start
> 
> [10-Aug-2018 23:40:26] NOTICE: [pool www] child 39523 started
> 
> [10-Aug-2018 23:40:26] WARNING: [pool www] child 84388 exited on signal 10
> (SIGBUS) after 1098009296.000000 seconds from start
> 
> [10-Aug-2018 23:40:26] NOTICE: [pool www] child 79891 started
> 
> [10-Aug-2018 23:40:26] WARNING: [pool www] child 45004 exited on signal 10
> (SIGBUS) after 1098009296.000000 seconds from start
> 
> [10-Aug-2018 23:40:26] NOTICE: [pool www] child 23439 started
> 
>  
> 
> I tried php56 and got similar results.
> 
> Has anyone had any success with the latest php package on armv7?
> 
>  
> 
> I am currently using php70 from a package I build in mid May (release
> 7.0.29).
> 

armv7 recently switched from the gnu linker to the clang one (lld),
which might be involved. Can you get some more information?

- Try running php at the command-line:

$ php-7.0 -r 'phpinfo();'

- Try the above with LD_DEBUG set in the environment, there is likely
to be a lot of output so run it under script(1). Look for errors, or
even better do the same with an older working binary and compare
output between the two:

$ LD_DEBUG=1 php-7.0 -r 'phpinfo();'

- Try running it under gdb and see if you can get a backtrace.

$ gdb `which php-7.0`
set args -r 'phpinfo();'
r

If command-line php doesn't crash, try the various things above with
php-fpm-7.0 and -F to run in the foreground instead of -r 'phpinfo();'.

Reply via email to