Support the ongoing development of Laravel.io →
Configuration

Circular dependency on AppServiceProvider caused artisan optimize command to fail with "Segmentation fault" error. Which doesn't say much. It took me a long time to figure out it was a circular dependency problem on the AppServiceProvider.

When running "composer install" I'd get the following error, which also doesn't say much:

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

It would be good to improve the error message in this case.

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.