Re: perl FCGI segmentation fault using ithreads ...

Sven Verdoolaege <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
On Fri, Aug 13, 2004 at 10:45:29AM +1200, Sam Vilain wrote:
> Igor,
> 
> You are doing this:
> 
> Master perl
>  -> load FCGI
>    -> create FCGI handle
>      -> accept FCGI socket
>        -> create new interpreter thread
>          ->request
>          ->request

What does "request" refer to ?

> If threading is giving you segfaults, it is a fairly safe bet that the 
> FCGI.pm module is not re-entrant.

Not sure what you mean here, but the FCGI module should be thread-safe,
if you're using the thread-safe interface.
Which our friend, btw, isn't.

> Depending on where the non-reentrancy bug in the FCGI.pm XS part lies, 
> you might be restricted to doing it before you even load the FCGI module.

If you find a bug in FCGI.pm, please let me know.

skimo

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.