Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

dev/build causes segmentation fault

Go to End

4 Posts   1345 Views


Community Member, 9 Posts

2 December 2012 at 6:34pm

I am trying to follow this tutorial
to extend the SiteConfig, but I get this error when I visit "dev/build?flush=all":

[Sat Dec  1 20:47:00 2012] [notice] child pid 4036 exit signal Segmentation fault (11)

The access that caused this error was logged some thirty seconds later when I was served a blank page: - - [01/Dec/2012:20:47:33 -0800] "GET /xxxxxxxxx/dev/build?flush=all HTTP/1.1" 200 1724

top shows heavy cpu use by the httpd process in the meantime. It's curious that the time elapsed coincides with php's default max_execution_time, but I'm at a loss to what's going on here.


Community Member, 253 Posts

2 December 2012 at 9:00pm

This is most likely a bug with your version of PHP. I used to get this when accessing some of the automagic functions SilverStripe added to objects for relationships ie: $this->Relation()

What version of PHP do you have? Some googling might find the problem...


Community Member, 9 Posts

2 December 2012 at 10:27pm

OpenBSD 5.2 with 5.3.14+suhosin. No idea if it's the exact same problem, but sure enough, there's a segfaulter in this version:


Community Member, 9 Posts

3 December 2012 at 12:37pm

Update: php 5.3.17 same problem, so that wasn't the bug.