Re: Re: Ming streams bug
| From: | Wez Furlong | Date: | Wed, 16 Oct 2002 01:02:40 +0000 |
| Subject: | Re: Re: Ming streams bug | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89531@lists.php.net to get a copy of this message | ||
Try taking out the fclose($fp) line :-)
fclose nukes the stream (just like all the other resource freeing functions)
so it's not valid by the time that ming goes to use it = crash.
Replacing fclose($fp) with $fp = null; is probably the correct thing to
do in the script; there is not much that can be done to prevent the crash
from happening :-/
--Wez.
On 16/10/02, "Rasmus Lerdorf" <rasmus@php.net> wrote:
> It's just a spinning logo flash movie. I have attached the script and the
> little logo image it spins.
>
> And no, I didn't try the two separately yet.
>
> -Rasmus
>
> On Wed, 16 Oct 2002, Wez Furlong wrote:
>
> > have you got a script I can try out?
> >
> > Did you try A and B separately?
> >
> > I might not be able to reproduce this, because my glibc is the older
> > flavour :-/
> > I'll give it a go though!
> >
> > --Wez.
> >
> > On 16/10/02, "Rasmus Lerdorf" <rasmus@php.net> wrote:
> > > > A. toggle the configure detected value for COOKIE_SEEKER_USES_FPOS_T
> > > > then recompile.
> > >
> > > It was undefined. I defined it.
> > >
> > > > B. #undef HAVE_FOPENCOOKIE then recompile.
> > >
> > > It was defined, I undefined it.
> > >
> > > Make clean, recompile and try again. Exactly the same segfault.
> > >
> > > -Rasmus
> >
> >
> >
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >