The FCGI module contains the following code:
THREADS_ALLOW(); ret = FCGX_Accept_r(THIS->request); THREADS_DISALLOW();
This works fine normally, but if pike was compiled --with-debug, then HIDE_GLOBAL_VARIABLES() is defined which sets int Pike_interpreter =0; which in turn means THIS is no longer valid and you get:
./FCGI.cmod:157: error: request for member `frame_pointer' in something not a structure or union
Adam