Hrm..  That does fix it.  This has worked for ages with the fclose though.
A bunch of leaks though:

/home/rasmus/php4/Zend/zend_hash.c(178) :  Freeing 0x08325DCC (32 bytes), 
script=ming.php
Last leak repeated 3 times
/home/rasmus/php4/Zend/zend_API.c(597) :  Freeing 0x08325D6C (44 bytes), 
script=ming.php
/home/rasmus/php4/Zend/zend_API.c(585) : Actual location (location was relayed)
Last leak repeated 3 times

I'll have a look at those.

-Rasmus

On Wed, 16 Oct 2002, Wez Furlong wrote:

> 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" <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> 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
> > >
>
>
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to