8000 [FrameworkBundle][Process] server:run command exits after reload · Issue #20580 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle][Process] server:run command exits after reload #20580

@derrabus

Description

@derrabus

How to reproduce:

  • Check out the 3.2 branch of the symfony-standard repository
  • Update the vendors. (Symfony is at 2094715)
  • Run bin/console server:run
  • Point the browser to http://localhost.8000/
  • Hit reload.

If I do this, the command exits with the following output:

$ ./bin/console server:run -vvv
[2016-11-21 14:33:28] php.DEBUG: Warning: fsockopen(): unable to connect to 127.0.0.1:8000 (Connection refused) {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\SilencedErrorContext: {\"severity\":2,\"file\":\"/Users/rabus/PhpstormProjects/symfony-standard/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/ServerCommand.php\",\"line\":59})"}


 [OK] Server running on http://127.0.0.1:8000


 // Quit the server with CONTROL-C.

PHP 7.1.0RC6 Development Server started at Mon Nov 21 15:33:28 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 15:33:45 2016] 127.0.0.1:50789 [200]: /
[Mon Nov 21 15:33:46 2016] 127.0.0.1:50790 [200]: /_wdt/a92140
[Mon Nov 21 15:33:46 2016] 127.0.0.1:50791 [200]: /favicon.ico


  [Symfony\Component\Process\Exception\RuntimeException]
  The process has been signaled with signal "11".


Exception trace:
 () at /Users/rabus/PhpstormProjects/symfony-standard/vendor/symfony/symfony/src/Symfony/Component/Process/Process.php:396
 Symfony\Component\Process\Process->wait() at /Users/rabus/PhpstormProjects/symfony-standard/vendor/symfony/symfony/src/Symfony/Component/Process/Process.php:210
 Symfony\Component\Process\Process->run() at /Users/rabus/PhpstormProjects/symfony-standard/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php:135
 Symfony\Bundle\FrameworkBundle\Command\ServerRunCommand->execute() at /Users/rabus/PhpstormProjects/symfony-standard/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:255
 Symfony\Component\Console\Command\Command->run() at /Users/rabus/PhpstormProjects/symfony-standard/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:846
 Symfony\Component\Console\Application->doRunCommand() at /Users/rabus/PhpstormProjects/symfony-standard/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:191
 Symfony\Component\Console\Application->doRun() at /Users/rabus/PhpstormProjects/symfony-standard/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:80
 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /Users/rabus/PhpstormProjects/symfony-standard/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:122
 Symfony\Component\Console\Application->run() at /Users/rabus/PhpstormProjects/symfony-standard/bin/console:28

server:run [-p|--port PORT] [-d|--docroot DOCROOT] [-r|--router ROUTER] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> [<address>]

If I downgrade Symfony to 3.1.6, everything's fine.

Environment: macOS 10.11.6, php 7.1 RC6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0