>>>>> "Doug" == Doug MacEachern <[EMAIL PROTECTED]> writes:

    Doug> looks like one of the 5.6.0 bugs, the Perl patch has been
    Doug> posted here (don't have it handy), here's one that has also
    Doug> helped on the mod_perl side, does it fix the problem for you?

Applying the perl_util.c patch you provided and attempting to load my
module from startup.pl as before results in the same problem.  However
having rebuilt my perl 5.6.0 with '-DDEBUGGING', I get the following
stack trace of the SIGSEGV, with much better symbol output:

Starting program: /www/sbin/httpd -X
[New LWP 1]
[New LWP 2]
[New LWP 3]
[New LWP 4]

Program received signal SIGSEGV, Segmentation fault.
0xdea34 in Perl_gv_init (gv=0x4f1fb0, stash=0x1e3600, name=0x183f28 "Location", 
    len=8, multi=2) at gv.c:106
106         GvFILE(gv) = CopFILE(PL_curcop) ? CopFILE(PL_curcop) : "";
(gdb) where
#0  0xdea34 in Perl_gv_init (gv=0x4f1fb0, stash=0x1e3600, name=0x183f28 "Location", 
    len=8, multi=2) at gv.c:106
#1  0xe0054 in Perl_gv_fetchpv (nambeg=0x183f28 "Location", add=2, sv_type=11)
    at gv.c:681
#2  0x44720 in perl_section_hash_init (name=0x183f28 "Location", dotie=0)
    at perl_config.c:1598
#3  0x44b40 in perl_section (parms=0xefffbab8, dummy=0x1d0d80, arg=0xefff99b6 "")
    at perl_config.c:1701
#4  0xa1120 in invoke_cmd (cmd=0x1bcda0, parms=0xefffbab8, mconfig=0x1d0d80, 
    args=0xefff99b6 "") at http_config.c:808
#5  0xa2198 in ap_handle_command (parms=0xefffbab8, config=0x1d0bf8, 
    l=0xefff99b0 "<Perl>") at http_config.c:1028
#6  0xa2278 in ap_srm_command_loop (parms=0xefffbab8, config=0x1d0bf8)
    at http_config.c:1042
#7  0xa2900 in ap_process_resource_config (s=0x1cfab8, 
    fname=0x1d1a38 "/www/etc/httpd/httpd.conf", p=0x1cfa90, ptemp=0x1d3ac0)
    at http_config.c:1230
#8  0xa3528 in ap_read_config (p=0x1cfa90, ptemp=0x1d3ac0, 
    confname=0x1c02c0 "etc/httpd/httpd.conf") at http_config.c:1513
#9  0xb24c4 in main (argc=2, argv=0xefffbc8c) at http_main.c:4974


Any other ideas?

I will next use the p5p patch you alluded to and see if it has any
effect.  Thanks for your help.

Peace.

Reply via email to