On Wed, Feb 23, 2005 at 04:22:02PM +0800, Jun Ming wrote:
> Hi all,
>  We are using Inline-0.44 as a perl module in Apache 2.0.52 with 
> mod_perl/1.999.20 in Solaris 2.8. There is some error in Apache's error_log, 
> please see the details as reference.
>  
>  If we use Inline as Example 1, even without any real C program, Apache 
> server always reports the previous handler "exits signal Segmentation fault" 
> and restarts the whole handler. This error happens every time except for the 
> first time when Apache server restarts. And It doesn't happen either if no 
> more http request to it.
>  
>  However, just as example 2, if we comment the contents only regarding 
> Inline, everything seems in order -  Apache doesn't report any error and the 
> process ID keeps as the previous one.
>  
>  Any advice for us? Thanks in advance.

Try dropping the call to Inline->init(). I dont recall seeing it called
directly before,doesn't seem to cause any problems for me from the cmd
line but I have a vague recollections of apache not liking reading from
the data section of perl scripts and this is the context the inline
man pages refer to init in so it could be part of the problem.

-- 
We exist to competently provide access to corporate leadership skills in 
order to assertively disseminate cutting edge information to stay competitive 
in tomorrow's world

Reply via email to