@Sergi_Garcia_Besora Segfault is a problem in the PHP runtime. We can’t fix it even if you provide us with core dump.
I don’t get it in docker for 7.3.11. May be your specific php/extensions build is broken, or it is one of the segfaults fixed in the newer releases https://www.php.net/ChangeLog-7.php#PHP_7_3 .
At last I have found time to install a LAMP from scratch and unit test The Laminas MVC application. The result: It has worked!
Then It was a problem with Zend Server Developer Edition PHP Extensions. When I has time I am going to deactivate one by one to find which one is crashing unit testing Laminas.
PHP 7.2.24-0ubuntu0.18.04.3 (cli) (built: Feb 11 2020 15:55:52) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.24-0ubuntu0.18.04.3, Copyright (c) 1999-2018, by Zend Technologies
sergarbes@lamp:~/laminas-mvc-tutorial$ ./vendor/bin/phpunit
PHPUnit 8.5.3 by Sebastian Bergmann and contributors.
... 3 / 3 (100%)
Time: 87 ms, Memory: 10.00 MB
indent preformatted text by 4 spaces
OK (3 tests, 7 assertions)