While I was working on my app at some point suddenly it stopped responding and I kept getting this message in the Chrome browser:
No data received
Unable to load the webpage because the server sent no data.
Here are some suggestions:
Reload this webpage later.
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
The only error I’m able to see is in the apache error log:
[Tue Apr 02 10:19:51 2013] [notice] child pid 673 exit signal Segmentation fault (11)
The pid changes every time I do a request.
So I loaded the application onto a completely different server and the exact same thing happens there.
When I put
echo ‘test’;
at the top of the entry index.php file and put a die(); after it, that does show.
Then as I move the die() lower and lower it still works, but when I put it after the last line
Yii::createWebApplication($config)->run();
… it crashes again.
Any pointers at how I can debug this?