hmm, I think that this functionS is not free before the exit, and it take a segfault. Or perhaps the returned value are not free, and now it can be dengerous !?@#! ?
Michael ----- Original Message ----- From: "Jan Schneider" <[EMAIL PROTECTED]> To: "Zeev Suraski" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, October 07, 2002 6:28 PM Subject: Re: [PHP-DEV] Segfaults in Zend > 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. > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php