* On Tue, Jul 10, 2001 at 07:13:30PM -0700, Doug MacEachern wrote:
> On Mon, 9 Jul 2001, Louis-David Mitterrand wrote:
> > After "upgrading" my installation to Apache-1.3.20 and mod_perl-1.25 as
> > as a module I can't start apache anymore when httpd.conf contains:
> > 
> >     PerlRequire /etc/apache/perl/handler.pl
> > 
> > And that file (for debugging purposes) is practically empty:
> > 
> >     #!/usr/bin/perl
> >     package HTML::Mason;
> > 
> >     use strict;
> >     use HTML::Mason;
> >     use HTML::Mason::ApacheHandler;
> >     1;
> > 
> > Running "strace apache -X" shows:
> > 
> >     read(3, "ETE PATCH PROPPATCH MKCOL COPY M"..., 4096) = 4096
> >     read(3, "mLog directive (see below).\n#\nLo"..., 4096) = 4096
> >     read(3, "n /icons/uuencoded.gif .uu\n    A"..., 4096) = 4096
> >     read(3, " tweak mime.types without actual"..., 4096) = 4096
> >     --- SIGSEGV (Segmentation fault) ---
> >     +++ killed by SIGSEGV +++
> 
> see mod_perl-1.25/SUPPORT for hints on howto get a stacktrace.

Thanks for your help. Here is the result of a gdb run:

Program received signal SIGSEGV, Segmentation fault.
0x402b14b6 in Perl_sighandler () from /usr/lib/libperl.so.5.6
(gdb) bt
#0  0x402b14b6 in Perl_sighandler () from /usr/lib/libperl.so.5.6
#1  0x402b1ab9 in Perl_hv_store () from /usr/lib/libperl.so.5.6
#2  0x402b172a in Perl_hv_fetch () from /usr/lib/libperl.so.5.6
#3  0x40272c14 in Perl_gv_fetchpv () from /usr/lib/libperl.so.5.6
#4  0x402707de in Perl_init_stacks () from /usr/lib/libperl.so.5.6
#5  0x4026cdee in perl_parse () from /usr/lib/libperl.so.5.6
#6  0x4026c210 in perl_parse () from /usr/lib/libperl.so.5.6
#7  0x402213f4 in perl_startup () from /usr/lib/apache/1.3/mod_perl.so
#8  0x402252a9 in perl_cmd_require () from /usr/lib/apache/1.3/mod_perl.so
#9  0x08054bd9 in ap_clear_module_list ()
#10 0x08054f5a in ap_handle_command ()
#11 0x08054fa1 in ap_srm_command_loop ()
#12 0x080554d2 in ap_process_resource_config ()
#13 0x08055bcc in ap_read_config ()
#14 0x0805d2b4 in ap_child_terminate ()
#15 0x0805da5d in main ()
#16 0x400e038b in __libc_start_main () from /lib/libc.so.6
(gdb) 

Will I have to build a debugging-enabled libperl to get relevant
information? Or is this enough to understand the problem?

-- 
 HIPPOLYTE: Madame, avant que de partir,
            J'ai cru de votre sort devoir vous avertit.
                                          (Phèdre, J-B Racine, acte 2, scène 2)

Reply via email to