perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: Apache2::Reload Segmentation Fault
Date Sat, 23 Apr 2005 18:13:11 GMT
Vincent Moneymaker wrote:
>> Vincent Moneymaker wrote:
>>
>>> 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
>>
>>
> Stas Bekman wrote:
> 
>>
>> 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.
>>
> 
> I downloaded your attachment and I get the following with 'use Apache2 
> ();' in the Makefile.PL
> 
> Can't locate Apache2.pm in @INC (@INC contains: 
> /usr/local/lib/perl5/5.8.0/i86pc-solaris /usr/local/lib/perl5/5.8.0 
> /usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris 
> /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl .) 
> at Makefile.PL line 3.
> BEGIN failed--compilation aborted at Makefile.PL line 3.
> 
> When I pull out 'use Apache2 ();', I then the server starts and I get 
> the following error in the error_log
> 
> [Sat Apr 23 10:08:28 2005] [error] [client 127.0.0.1] Can't locate 
> object method
> "dir_config" via package "Apache2::RequestRec" at 
> /usr/local/lib/perl5/site_per
> l/5.8.0/i86pc-solaris/Apache/Reload.pm line 52.\n
> [Sat Apr 23 10:08:31 2005] [error] [client 127.0.0.1] Can't locate 
> object method
> "dir_config" via package "Apache2::RequestRec" at 
> /usr/local/lib/perl5/site_per
> l/5.8.0/i86pc-solaris/Apache/Reload.pm line 52.\n
> [Sat Apr 23 10:08:31 2005] [info] removed PID file 
> /home/vince/mod_perl-2.0.0-RC
> 5/AR-segv-mp2/t/logs/httpd.pid (pid=17237)
> [Sat Apr 23 10:08:31 2005] [notice] caught SIGTERM, shutting down

Yes, sorry, it was created before the move to the Apache2:: name space. 
I've attached a new version which works with RC5.

> The Reload module in the Apache namespace is the old 0.08 Reload 
> module.  When I place a copy of the new 0.09 version of Reload that is 
> in the Apache2 namespace in the Apache namespace, the server won't 
> start.  I suspect I am doing something wrong. 

No, it should be Apache2::Reload coming with RC5. as mentioned above that 
tarball needed a fixup.

> Also, when you talk about 
> preparing a tarball that reproduces the problem, could you give me a 
> pointer on how I prepare that so I can send one to Philippe?

That's the tarball you've been trying to use. Vincent, please try again 
with the fixed attachment.

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

Mime
View raw message