ClosestStorm / v8cgi

Automatically exported from code.google.com/p/v8cgi
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

sigfaults as a cgi, runs errorfree from shell #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

I wanted to use v8cgi with lighttpd as a cgi programm. Because i allways
caused 500-errors i made a shell script witch does print out the strace of
v8cgi, not the acual output. 

Running form shell workes fine (i'm impressed of the performace).

The differnet straces are here:

http://pastebay.com/14724

I'm using v8-cgi-0.5.1 with debian.

Original issue reported on code.google.com by mkockme...@web.de on 10 May 2009 at 7:37

GoogleCodeExporter commented 9 years ago
Please try the latest SVN revision, recompile and let me know if the segfaulting
issue persists.

Original comment by ondrej.zara on 11 May 2009 at 2:25

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I tryed the latest SVN version an still got the 500-error. 
I set up a shellscript 

#!/bin/sh

strace /path/to/v8cgi $* 2> /dev/stdout

I linked to .js files. The result is this:
http://pastebay.com/15801

Original comment by mkockme...@web.de on 14 May 2009 at 7:01

GoogleCodeExporter commented 9 years ago
Do you include "http" in your "libraryAutoload" item in v8cgi.conf? This 
library must
be loaded in order to have CGI/FastCGI/Apache support working...

Original comment by ondrej.zara on 15 May 2009 at 11:54

GoogleCodeExporter commented 9 years ago
no, I didn't. Now I have, but it still doesn't work. Here's the new strace:
http://pastebay.com/15954

Original comment by mkockme...@web.de on 15 May 2009 at 3:40

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
The problem still seems to be located in the initial loading phase. I suggest
switching to email / IRC for further troubleshooting. Please send me your 
v8cgi.conf
file for examination...

Original comment by ondrej.zara on 15 May 2009 at 6:21

GoogleCodeExporter commented 9 years ago
i cannot tell you why, but know i works. This was maybe a problem with 
permissions of
/etc/v8cgi.conf or a problem with lighttpd.

Original comment by mkockme...@web.de on 25 May 2009 at 4:47

GoogleCodeExporter commented 9 years ago

Original comment by ondrej.zara on 26 May 2009 at 3:37