@manusfreedom opened this Issue on December 7th 2020

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 commented on December 7th 2020 Member

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 commented on December 7th 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 commented on December 7th 2020

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

@tuxmaster5000 commented on December 23rd 2020

PHP 7.3 will not crash, only 7.4

This Issue was closed on December 7th 2020
Powered by GitHub Issue Mirror