Yii Webapp Crashing Without Helpful Error Report

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?

Try to do the "echo, die()" thing inside of the called controller action.

Yii::createWebApplication($config)->run(); is the point where yii application is run. the problem has to be somewhere inside…

Segmentation fault sounds like your php installation has some problems, can you give some details about php version and webserver used?

Thanks! The problem was a missing semicolon but for some reason it did actually report it in the server that I uploaded it to but not on my local setup.