Re: Apache2::Reload Segmentation Fault

[prev] [thread] [next] [Date index for 2005/04/23]

From: Stas Bekman
Subject: Re: Apache2::Reload Segmentation Fault
Date: 16:20 on 23 Apr 2005
Vincent Moneymaker wrote:
> 
> 
>> Vincent Moneymaker wrote:
>>
>>> I am running Apache 2.0.52 on a solaris 8 box with 
>>> mod_perl-2.0.0-RC5.  I previously had problems using Apache::Reload 
>>> with mod_perl 1.99_19 version back in December and gave up trying to 
>>> find a fix.  I thought I would try again with the RC5 version but 
>>> after having upgraded from mod_perl 1.99_12 to RC5 I am getting 
>>> segmentation fault errors when the Apache2::Reload module is present 
>>> in my httpd.conf file and a change is then made in a module and the 
>>> web page that is created via the changed module is then called up.  I 
>>> know that the segmentation fault is related to the Apache2::Reload 
>>> module because the segmentation fault errors don't appear when the 
>>> same change is made in the module (i.e. a simple print statement) but 
>>> without Apache2::Reload being present in the httpd.conf file.
>>
>>
>> Stas Bekman wrote:
>> It's probably related to the similar segfaults I've been seeing and 
>> reported here [1]. But if you don't show the backtrace of the core 
>> file as explained at http://perl.apache.org/bugs/ we will never know.
>>
>> I've CC'ed Philippe on this one, hoping that he will find the time to 
>> fix this problem.
> 
> 
> 
> Here is the output from the backtrace (hope I did it correctly)
> 
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0xdeb3618f in Perl_gv_efullname3 () from 
> /opt/prod/apache/modules/mod_perl.so
> (gdb) bt

> #6  0xdeb9293f in Perl_pp_require () from 
> /opt/prod/apache/modules/mod_perl.so
> #7  0xdeb226a1 in modperl_pp_require () at modperl_perl_pp.c:69
> #8  0xdeb6d61e in Perl_runops_standard ()
>   from /opt/prod/apache/modules/mod_perl.so
> #9  0xdeb31361 in S_call_body () from /opt/prod/apache/modules/mod_perl.so


OK, so yours crash is in require, Vincent. Any chance you could prepare a 
tarball that reproduces the problem, so Philippe can reproduce it easily?

Please grab the template from geoff's site:
http://people.apache.org/~geoff/Apache-Test-skeleton-mp2.tar.gz

In fact better use the attachment in this message:
http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=111145170703909&w=2
it's already designed for this specific problem. Just swap my setup with 
yours.

Please don't hesitate to ask questions if you have any, Vincent.

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

(message missing)

Apache2::Reload Segmentation Fault
Vincent Moneymaker 04:35 on 23 Apr 2005

Re: Apache2::Reload Segmentation Fault
Stas Bekman 05:10 on 23 Apr 2005

Re: Apache2::Reload Segmentation Fault
Vincent Moneymaker 07:23 on 23 Apr 2005

Re: Apache2::Reload Segmentation Fault
Stas Bekman 16:20 on 23 Apr 2005

Re: Apache2::Reload Segmentation Fault
Vincent Moneymaker 17:35 on 23 Apr 2005

Re: Apache2::Reload Segmentation Fault
Stas Bekman 18:13 on 23 Apr 2005

Re: Apache2::Reload Segmentation Fault
Vincent Moneymaker 19:40 on 23 Apr 2005

Re: Apache2::Reload Segmentation Fault
Stas Bekman 20:57 on 23 Apr 2005

Re: Apache2::Reload Segmentation Fault
Vincent Moneymaker 03:54 on 24 Apr 2005

Re: Apache2::Reload Segmentation Fault
Stas Bekman 20:23 on 25 Apr 2005

Apache2::Reqest
Dan Brian 20:48 on 25 Apr 2005

Re: Apache2::Reqest
Philip M. Gollucci 20:56 on 25 Apr 2005

Re: Apache2::Reload Segmentation Fault
Vincent Moneymaker 21:01 on 25 Apr 2005

Re: Apache2::Reload Segmentation Fault
Stas Bekman 22:29 on 25 Apr 2005

Re: Apache2::Reqest
Dan Brian 21:02 on 25 Apr 2005

Generated at 09:30 on 27 Apr 2005 by mariachi v0.52