Re: segmentation faults
| From: | Curt Zirzow | Date: | Mon, 11 Aug 2003 01:16:48 +0000 |
| Subject: | Re: segmentation faults | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159086@lists.php.net to get a copy of this message | ||
* Thus wrote Tom Rogers (trogers@kwikin.com):
> ...
>
> Most programs will crash with null pointers so I operate with error
> reporting set to E_ALL and it helps when these sort of things happen.
> A function should never trust what it is being fed :) so your solution
> is the right way, I don't think you will get much sympathy from the
> developers but it would not hurt to tell them.
>
Before screaming bug at the developers I would strongly suggest:
. making a very simple example of code that can reproduce (or in
this case irraticly reproduce) the crash.
. be able to produce it on a cvs, snapshot or latest RC release of
php.
. read http://bugs.php.net/how-to-report.php
Curt
--
"I used to think I was indecisive, but now I'm not so sure."