[Catalyst] Problem with Catalyst-Runtime 5.7004 & FastCGI
Andy Grundman
andy at hybridized.org
Tue Nov 7 17:28:55 GMT 2006
Michele Beltrame wrote:
> Hello!
>
> I just upgraded Catalyst-Runtime to 5.7004, and I encounter a serious
> problem when using my application with the FastCGI engine. The
> appplication initializes correctly, but when it gets a requests it
> begins executing it (I see int he log it restores session data, etc...)
> but then it dies with:
>
> [Tue Nov 07 18:05:07 2006] [error] [client 81.174.16.226] FastCGI:
> server "/u/www/san/San/script/san_fastcgi.pl" stderr: [error] Caught
> exception in engine "Can't locate object method "FILENO" via package
> "FCGI::Stream" at /usr/lib64/perl5/5.8.8/x86_64-linux/IO/Handle.pm line
> 380."
>
> which leads (of course) to an "Internal Server Error" in the browser.
> Rolling back to 5.7003 fixed the thing, so I'm sticking with that
> version for now. However, I'm reporting. ,)
I just fixed this in trunk, it will be in 5.7005 which I think we'll
release very soon. Sorry about this.
Workaround is to remove all references to *STDOUT->opened() in Engine.pm
and Engine::CGI, see this diff for reference:
http://dev.catalyst.perl.org/changeset/5441
More information about the Catalyst
mailing list