Re: php debug
| From: | Evan Nemerson | Date: | Mon, 08 Mar 2004 18:26:36 +0000 |
| Subject: | Re: php debug | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-179812@lists.php.net to get a copy of this message | ||
On Monday 08 March 2004 07:31 am, Doug Dalton wrote:
> I am getting an error in php that is causing a core dump :
> (gdb) core php.core
> Core was generated by `php'.
> Program terminated with signal 11, Segmentation fault.
> #0 0x00686264 in ?? ()
>
> The program is a script and is working fine until, my assumption is
> that it exhausts resources and crashes, does anyone have a suggestion
> on how to debug a problem of this sort?
segfaults are usually because the application is trying to read or write to
memory it shouldn't be. If you e-mail me reproducing code, I'll take a look
at it. Try to get it down to as few lines of possible.
--
Evan Nemerson
evan@coeus-group.com
http://coeusgroup.com/en
--
"If you would be a real seeker after truth, you must at least once in your
life doubt, as far as possible, all things."
-Rene Descartes