I've just tested mod_fcgid and I have the same problem reported by Ross 
Thomas.
After some tests I figured out that the segfault is not caused by 
CONTENT_LENGTH==0 and POST. It happens (at least in my case) when the cgi 
does not print anything between two FCGX_Accept() calls.

Example:

while (FCGX_Accept(...)) {
  if (read_arguments(...)) {
    FCGX_PutStr(..);
  }
}

If the cgi can't read_arguments() the child thread segfaults and it neither 
sends the internal-server-error page nor prints the premature... error in the 
logs.
How can I make apache create a core dump when it crashes ?

--

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

Reply via email to