tsrm_shutdown() is already comented out in the CGI version, most likely as
a fix to the same kind of problem there. Perhaps enabling that again will
show the same kind of problems?
- Frank
> At the moment I'm seeing it with Tidy under 5_2. Just about to get Tony
to
> check.
>
> ----- Original Message -----
> From: "Dmitry Stogov" <dmitry@zend.com>
> To: "'Steph Fox'" <steph@zend.com>; "'Xuefer'" <xuefer@gmail.com>;
"'Andi
> Gutmans'" <andi@zend.com>
> Cc: "'internals'" <internals@lists.php.net>; "'Antony Dovgal'"
> <antony@zend.com>
> Sent: Wednesday, May 31, 2006 2:55 PM
> Subject: RE: [PHP-DEV] tsrm_shutdown() and the CLI SAPI
>
>
> > Steph,
> >
> > Commenting tsrm_shutdown() or FreeLibrary() is just hidding real
bugs.
> > Of course this is a solution, but not excellent.
> >
> > Right now I haven't enough time even for ZE and PHP themself, so I
don't
> > like spent it looking into php-gtk on windows.
> > (I don't know GTK at all).
> >
> > Do you know any other extension from PHP distribution that cause the
same
> > crash?
> > Could you provide instruction how to reproduce it?
> >
> > Thanks. Dmitry.
> >
> >> -----Original Message-----
> >> From: Steph Fox [mailto:steph@zend.com]
> >> Sent: Wednesday, May 31, 2006 3:28 PM
> >> To: Dmitry Stogov; 'Xuefer'; 'Andi Gutmans'
> >> Cc: 'internals'; Antony Dovgal
> >> Subject: Re: [PHP-DEV] tsrm_shutdown() and the CLI SAPI
> >>
> >>
> >> > Oh well, now I see the difference.
> >> > With my patch PHP starts call FreeLibrary() for dll extension. I
am
> >> > wonder why it wasn't called before. :)
> >>
> >> Pure luck, by the look of it :)
> >>
> >> > Probably some other bug that is the reason of the crash was
> >> masked by
> >> > omitting FreeLibrary(). I know Tony fixed some kind of such bugs
in