Re: Segfaults in Zend
| From: | Vergoz Michael \(SYSDOOR\) | Date: | Mon, 07 Oct 2002 16:41:50 +0000 |
| Subject: | Re: Segfaults in Zend | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89173@lists.php.net to get a copy of this message | ||
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" <jan@horde.org>
To: "Zeev Suraski" <zeev@zend.com>
Cc: <php-dev@lists.php.net>
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
>
>