php - Symfony 2.5 receive a segmentation fault periodically on errors -
this has been tough 1 troubleshoot. on error type there chance page crash segmentation fault [fri apr 25 17:45:52.141251 2014] [core:notice] [pid 23298] ah00052: child pid 23367 exit signal segmentation fault (11)
.
i'm running on symfony framework 2.5, basic page route , controller uses request object.
route
form_core_page_loader_homepage: path: / defaults: { _controller: formcorepageloaderbundle:default:index }
controller
use symfony\component\httpfoundation\request; // controller extends symfony's , adds getstore() function , others... use formcore\pageloaderbundle\controller\sessionstorecontroller controller; use formcore\pageloaderbundle\controller\stylesessionstorecontrollertrait; class defaultcontroller extends controller { use stylesessionstorecontrollertrait; public function indexaction(request $request) { $store = $this->getstore(); if (!$store->initrequest($request)) { throw $this->createnotfoundexception('that page not exist.'); } // grab our vars template... $templatevars = $this->getindexvars(); .... } protected functionindexvars() { // goes kaboom $noticeerrorhere = $crasheswsegfault; .... } }
anyone run @ similar symfony? guess somewhere it's catching errors causing problem, hard troubleshoot seg fault though...
even though symfony 2.5 being released in next few weeks, went 2.4 , seems have resolved issue.
Comments
Post a Comment