logo       

Re: Crash with buggy FCGI: msg#00022

web.lighttpd

Subject: Re: Crash with buggy FCGI

On Wed, Sep 08, 2004 at 01:17:46AM -0600, Aredridel wrote:
> On Wed, Sep 08, 2004 at 01:06:58AM -0600, Aredridel wrote:
> > I've been running PHP as a fastcgi under Lighttpd, and I found a script
> > that crashes PHP unmercifully.
>
> I figured out what it was, too: The fastcgi unix socket was giving
> EPERM instead of connecting, and lighttpd didn't expect that.

Ah, thanks for this report. I've fixed it 'the right way [tm]' now :)

Your patch only fixed the final seg-fault but not the problem itself
which was that the fcgi_establish_connection() + fcgi_write_request()
were overwriting the opened fd with -1 and were destroying the straigh
cleanup path.

Will be included in the next release.

> Ari

Jan

--
Jan Kneschke http://jan.kneschke.de/
Perhaps you want to say 'thank you, jan': http://jk.123.org/wishlist/




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise