SIGSEGV in FCGI call
Patrick Walsh/VGI (Patrick_Walsh@vanguard.com)
2 Jul 96 10:27:42 EST
Message-Id: <9607021734.AA0911@VGI1MAIL.vanguard.com>
To: fastcgi-developers <fastcgi-developers@openmarket.com>
From: Patrick Walsh/VGI <Patrick_Walsh@vanguard.com>
Date: 2 Jul 96 10:27:42 EST
Subject: SIGSEGV in FCGI call
We are doing stress testing of our FCGI system. We have 100 simultaneous
browser sessions running from a testing utility against more than two FCGI
processes (non Server managed). We consistently get the following error:
SIGSEGV in the following routine:
int FCGX_FClose(FCGX_Stream *stream)
{
if(!stream->wasFCloseCalled) {
if(!stream->isReader) {
stream->emptyBuffProc(stream, TRUE);
}
stream->wasFCloseCalled = TRUE;
stream->isClosed = TRUE;
if(stream->isReader) {
stream->wrNext = stream->stop = stream->rdNext;
} else {
stream->rdNext = stream->stop = stream->wrNext;
}
}
return (stream->errno == 0) ? 0 : EOF;
}
because "stream" is null (nil).
Is there a fix/workaround for this?