Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Users

Problem with Catalyst-Runtime 5.7004 & FastCGI

 

 

Catalyst users RSS feed   Index | Next | Previous | View Threaded


mb at italpro

Nov 7, 2006, 9:11 AM

Post #1 of 2 (255 views)
Permalink
Problem with Catalyst-Runtime 5.7004 & FastCGI

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. ,)

Thanks,
Michele.



_______________________________________________
List: Catalyst [at] lists
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
Dev site: http://dev.catalyst.perl.org/


andy at hybridized

Nov 7, 2006, 9:28 AM

Post #2 of 2 (226 views)
Permalink
Re: Problem with Catalyst-Runtime 5.7004 & FastCGI [In reply to]

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

_______________________________________________
List: Catalyst [at] lists
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
Dev site: http://dev.catalyst.perl.org/

Catalyst users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.