Re: segmentation faults

From: Date: Sun, 10 Aug 2003 19:57:22 +0000
Subject: Re: segmentation faults
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-159053@lists.php.net to get a copy of this message
>I have a large project underway which is (hopefully!) nearing completion, >running on the latest stable release, 4.3.2. However, strange things >have started happening... > >My main page sometimes causes Apache to seg fault at some point during >the execution (e.g. [Sun Aug 10 18:05:55 2003] [notice] child pid 29674 >exit signal Segmentation fault (11)). I thought I'd track through it to >find out where the problem might be, but having sprinkled a few echo >statements around it now isn't crashing any more. I have also had this problem, and asking about it here provided no help. Mine seems to be related to abnormally high numbers of instantiated objects and large amounts of reference-passing. Occasionally Apache children will die (with the error you've described), or spin out of control and hog the CPU for a while (Apache 1.3.27, Red Hat 9, PHP 4.3.2). I have not been able to track down the problem, though I did attempt to re-create it using the command-line PHP interpreter to write Apache out of the picture, and was not able to reproduce the errors. I've tried to route around them somewhat, and have been moderately successful, except when they bump my CPU load to 100%. :-P --------------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html

« previous php.general (#159053) next »