Bug #73575 [Fbk->Csd]: built-in webserver segfaults with Symfony 3.2
| From: | me at derrabus dot de | Date: | Tue, 22 Nov 2016 08:55:27 +0000 |
| Subject: | Bug #73575 [Fbk->Csd]: built-in webserver segfaults with Symfony 3.2 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-205541@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73575&edit=1
ID: 73575
User updated by: me at derrabus dot de
Reported by: me at derrabus dot de
Summary: built-in webserver segfaults with Symfony 3.2
-Status: Feedback
+Status: Closed
Type: Bug
Package: Built-in web server
Operating System: macOS 10.11.6
PHP Version: 7.1.0RC6
Block user comment: N
Private report: N
New Comment:
Thank you for your quick reply. I've just rebuilt php from source, and the segfault is gone.
So, I'm going to report the problem to homebrew instead because it looks like their pre-built
binaries are broken.
Previous Comments:
------------------------------------------------------------------------
[2016-11-22 02:57:36] laruence@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2016-11-21 15:39:19] me at derrabus dot de
Description:
------------
The Symfony framework provides a handy console command to start php's built-in webserver for a
Symfony project. Running Symfony 3.2 RC1 on php 7.1 RC6, this command exits with a segmentation
fault.
See https://github.com/symfony/symfony/issues/20580
for details.
To reproduce this problem, checkout https://github.com/symfony/symfony-standard/
at branch 3.2, install the vendors and run
./bin/console server:run
Open the browser at
http://localhost:8000/` and
reload the page.
The server:run command launches php as an external process. What it essentially does is
running the following command from the projects "web" folder.
php -S 127.0.0.1:8000
../vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/router_dev.php
If there's something I can do to trace down the issue, please let me know.
Actual result:
--------------
$ php -S 127.0.0.1:8000
../vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/router_dev.php
PHP 7.1.0RC6 Development Server started at Mon Nov 21 16:27:44 2016
Listening on http://127.0.0.1:8000
Document root is /Users/rabus/PhpstormProjects/symfony-standard/web
Press Ctrl-C to quit.
[Mon Nov 21 16:27:50 2016] 127.0.0.1:51219 [200]: /
[Mon Nov 21 16:27:50 2016] 127.0.0.1:51220 [200]: /_wdt/e168e6
Segmentation fault: 11
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73575&edit=1