05-20-2015 02:31 PM
I'm setting up my fastcgi on the linux target using the python, and lighttpd packages provided by opkg.
When I create my .fcgi file and try to run it, I get a Segmentation Fault.
I've successfully gotten lighttpd running with just returning outputs of .py scripts, and now I'm trying to set up a python based cms on the crio using fcgi.
the System web server is out of the way on another port, so port 80 is free for lighttpd.
Why would I be getting a segmentation fault from this?
05-21-2015 08:24 AM
What resources did you use when configuring the crio? What packages have you installed? What debugging have you already done past ensuring that normal CGI support works?
06-15-2015 01:40 PM
Randomly had a thought: one thing that could be happening here is the stack limitation leading to the segfault. From the shell where you're launching lighttpd, set the stack size to unlimited (ulimit -s unlimited)