Skip to content
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

Matomo 4.0.4 & PHP-FPM 7.4 #16898

Closed
manusfreedom opened this issue Dec 7, 2020 · 4 comments
Closed

Matomo 4.0.4 & PHP-FPM 7.4 #16898

manusfreedom opened this issue Dec 7, 2020 · 4 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@manusfreedom
Copy link

On our setup (Ubuntu 20.04, PHP-FPM 7.4 from PPA) the last version 4.0.4 completely crash the PHP on some call of the dashboard:

Dec  7 09:17:22 frovhoctowas001 kernel: [549574.205604] php-fpm7.4[40609]: segfault at 7f66b6eb8268 ip 000055e0cdc42aba sp 00007ffd1bd462c0 error 4 in php-fpm7.4[55e0cd972000+3e0000]
Dec  7 09:17:22 frovhoctowas001 kernel: [549574.205619] Code: 00 00 66 0f 1f 44 00 00 49 8b 46 18 f6 40 50 01 0f 85 a2 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 ae 00 00 00 <8b> 10 83 f
a 01 76 38 f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8
Dec  7 09:17:42 frovhoctowas001 kernel: [549594.121487] php-fpm7.4[40596]: segfault at 7f66b6e611f8 ip 000055e0cdc42aba sp 00007ffd1bd462c0 error 4 in php-fpm7.4[55e0cd972000+3e0000]
Dec  7 09:17:42 frovhoctowas001 kernel: [549594.121496] Code: 00 00 66 0f 1f 44 00 00 49 8b 46 18 f6 40 50 01 0f 85 a2 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 ae 00 00 00 <8b> 10 83 f
a 01 76 38 f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8
Dec  7 09:17:48 frovhoctowas001 kernel: [549600.469313] php-fpm7.4[40663]: segfault at 55e0cdcf0060 ip 000055e0cdc42c28 sp 00007ffd1bd462c0 error 7 in php-fpm7.4[55e0cd972000+3e0000]
Dec  7 09:17:48 frovhoctowas001 kernel: [549600.469328] Code: 00 00 e8 5b e4 f8 ff 48 be 02 00 00 00 0a 00 00 00 48 89 30 48 8b 4d 00 8b 55 08 48 c7 40 18 00 00 00 00 48 89 48 08 89 50 10 <48> 89 45 0
0 c7 45 08 0a 01 00 00 48 89 03 c7 43 08 0a 01 00 00 e9
Dec  7 09:17:53 frovhoctowas001 kernel: [549605.492069] php-fpm7.4[40670]: segfault at 7f66b6e87b60 ip 000055e0cdc42aba sp 00007ffd1bd462c0 error 4 in php-fpm7.4[55e0cd972000+3e0000]
Dec  7 09:17:53 frovhoctowas001 kernel: [549605.492079] Code: 00 00 66 0f 1f 44 00 00 49 8b 46 18 f6 40 50 01 0f 85 a2 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 ae 00 00 00 <8b> 10 83 f
a 01 76 38 f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8

So to workaround we set PHP-FPM 7.2 (EOF last month) instead of 7.4, we hope it's a temporary workaround.

@Findus23
Copy link
Member

Findus23 commented Dec 7, 2020

Hi,

No matter how much things go wrong in Matomo, no PHP code should be able to crash php-fpm itself without a bug in php-fpm.

Make sure you are using the latest version of 7.4 and all your php modules are up to date and compatible.

@manusfreedom
Copy link
Author

manusfreedom commented Dec 7, 2020

Our instance is fully updated and we use PHP 7.4.13.
We have others application on this 7.4.13 without problem and it's first time we encounter this type of crash.
And we didn't have problem with Matomo 4.0.3.

@manusfreedom
Copy link
Author

Sorry, we close issue seem a GeoIP problem in PHP 7.4 on our side.

@Findus23 Findus23 added the answered For when a question was asked and we referred to forum or answered it. label Dec 7, 2020
@tuxmaster5000
Copy link

PHP 7.3 will not crash, only 7.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants