|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-12-12 01:44 UTC] laruence@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: laruence
[2015-12-12 01:44 UTC] laruence@php.net
[2015-12-20 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 13:00:01 2025 UTC |
Description: ------------ Hi. Some days ago, I tried a script containing a syntax error and executed it on both Symfony's server wrapper (executed using server:run command) and Nginx/PHP-FPM. Using Nginx I had the syntax error as expected but using the Symfony's wrapper I had a segfault, crashing the web server. I precise that only the server:run command is returning a segfault. The server:start command run as expected. Test script: --------------- <?php namespace AppBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; class DefaultController extends Controller { public function indexAction() { $response = $this->render('') } } Expected result: ---------------- Parse error: syntax error, unexpected '}' Actual result: -------------- [OK] Server running on http://127.0.0.1:8000 // Quit the server with CONTROL-C. RUN '/usr/bin/php7.0' '-S' '127.0.0.1:8000' '/home/booteille/PhpstormProjects/my_project/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/router_dev.php' ERR [Fri Dec 4 05:20:17 2015] 127.0.0.1:60062 [500]: / ERR [Fri Dec 4 05:20:18 2015] 127.0.0.1:60063 [200]: /bundles/framework/css/structure.css ERR [Fri Dec 4 05:20:18 2015] 127.0.0.1:60064 [200]: /bundles/framework/css/exception.css ERR [Fri Dec 4 05:20:18 2015] 127.0.0.1:60065 [200]: /bundles/framework/css/body.css ERR [Fri Dec 4 05:20:18 2015] 127.0.0.1:60066 [200]: /_wdt/f84516 ERR Segmentation fault ERR RES 139 Command did not run successfully [ERROR] Built-in server terminated unexpectedly.