Note that there are some explanatory texts on larger screens.

plurals
  1. POTracking down a segmentation fault 11 to large PHP code base
    text
    copied!<p>Ok so have a fairly huge in house system. We have a nice friendly host who generally work with us keeping things working if something ever goes wrong, or at least points us in the right direction.</p> <p>A while ago we had to take a copy of the code and host it on a clients external dedicated server, hosted with Rackspace. Considering everything was working fine for a number of months, all of a sudden the server kept throwing hissy-fits and segmentation faults eg</p> <blockquote> <p>[notice] child pid 8628 exit signal Segmentation fault (11)</p> </blockquote> <p>Even though no code had been changed, the hosts have said its probably a PHP issue and the devs (us) would have to look into it. I haven't even seen a problem, just that at certain times when the apache logs rotate (late at night) this is causing it to fall over.</p> <p>I got them to enable core dumps, and I am armed with a bunch of them, and <a href="http://www.omh.cc/blog/2008/mar/6/fixing-apache-segmentation-faults-caused-php/" rel="noreferrer">Fixing Apache Segmentation Faults Caused by PHP</a>, but rackspace seem to have moved all the php and apache source dirs to god knows where, I cant find .gdbinit anywhere on the server using 'find', and about all I can get out of gdb is</p> <pre><code>Program terminated with signal 11, Segmentation fault. #0 0x00002b8d6fc36c60 in ?? () </code></pre> <p>...which couldnt be less helpful if it tried!!!</p> <p>Any ideas on where to start with tracking down this supposed problem in my code?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload