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


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. 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?

Thanks, Vince




Reply via email to