Re: Segfaults in Zend
| From: | Jan Schneider | Date: | Mon, 07 Oct 2002 16:28:06 +0000 |
| Subject: | Re: Segfaults in Zend | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89172@lists.php.net to get a copy of this message | ||
Zeev Suraski wrote:
Try reducing IMP to the smallest possible script that still reproduces the problem (crashes). That will give us something to go on. Chances are it's not a crash in the engine.This one's really strange and I'm afraid not very helpful. PHP segfaults while returning from a function call. If I exit the script before that call all is well. After the call I get the segfault. If I exit the script inside the function call directly _before_ the function returns all is well again. This not a very complicated function (a static method to be exact) and just returns a not very long string by value.