Ok, here is a complete backtrace (after a nice couple of hours observing the compilation progress... :)

#0 0x4003e32d in Perl_gv_fetchpv (my_perl=0x0,
nambeg=0x80c68a7 "Apache::Server::AutoPreLoad", add=0, sv_type=4)
at gv.c:646
#1 0x4003726b in Perl_get_sv (my_perl=0x0,
name=0x80c68a7 "Apache::Server::AutoPreLoad", create=0) at perl.c:1712
#2 0x08058c40 in mp_preload_module (name=0xbfff93e8) at perl_config.c:428
#3 0x08058efa in perl_cmd_handler_handlers (parms=0xbffff7a0, rec=0x80f468c,
arg=0x80f4834 "Apache::Registry") at perl_config.c:554
#4 0x0809c649 in invoke_cmd (cmd=0x80db2a0, parms=0xbffff7a0,
mconfig=0x80f468c, args=0xbfff94cc "") at http_config.c:918
#5 0x0809ca4f in ap_handle_command (parms=0xbffff7a0, config=0x80f4364,
l=0xbfff94b0 "PerlHandler Apache::Registry") at http_config.c:1030
#6 0x0809cad6 in ap_srm_command_loop (parms=0xbffff7a0, config=0x80f4364)
at http_config.c:1044
#7 0x080a02bc in urlsection (cmd=0xbffff7a0, dummy=0x80f3a14,
arg=0xbfffb5ef "") at http_core.c:1655
#8 0x0809c003 in invoke_cmd (cmd=0x80d3250, parms=0xbffff7a0,
mconfig=0x80f3a14, args=0xbfffb5ea "/perl") at http_config.c:810
#9 0x0809ca4f in ap_handle_command (parms=0xbffff7a0, config=0x80f3894,
l=0xbfffb5e0 "<Location /perl") at http_config.c:1030
#10 0x0809cad6 in ap_srm_command_loop (parms=0xbffff7a0, config=0x80f3894)
at http_config.c:1044
#11 0x080a0ac7 in virtualhost_section (cmd=0xbffff7a0, dummy=0x80e6d7c,
arg=0xbfffd70d "212.24.153.10") at http_core.c:1913
#12 0x0809c003 in invoke_cmd (cmd=0x80d3280, parms=0xbffff7a0,
mconfig=0x80e6d7c, args=0xbfffd70d "212.24.153.10") at http_config.c:810
#13 0x0809ca4f in ap_handle_command (parms=0xbffff7a0, config=0x80e61ec,
l=0xbfffd700 "<VirtualHost 212.24.153.10") at http_config.c:1030
#14 0x0809cad6 in ap_srm_command_loop (parms=0xbffff7a0, config=0x80e61ec)
at http_config.c:1044
#15 0x0809d265 in ap_process_resource_config (s=0x80e57a4,
fname=0x80e6e14 "/usr/local/apache/conf/httpd.conf", p=0x80e577c,
ptemp=0x80e979c) at http_config.c:1332
#16 0x0809db43 in ap_read_config (p=0x80e577c, ptemp=0x80e979c,
confname=0x80ddf20 "conf/httpd.conf") at http_config.c:1616
#17 0x080a8280 in main (argc=2, argv=0xbffff8e4) at http_main.c:5433
#18 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6


The line in the Perl_gv_fetchpv is as follows:

for (namend = name; *namend; namend++) {
if ((*namend == ':' && namend[1] == ':')
|| (*namend == '\'' && namend[1]))
{
if (!stash)
stash = PL_defstash; /* <------- THIS ONE
if (!stash || !SvREFCNT(stash))
return Nullgv;

stash is NULL, what the hell is the chance the PL_defstash macro makes the trouble?

Have you got some clue?

Anyway, I'll continue my investigations.

Thank in advance

Pavel

Stas Bekman wrote:
Pavel Hlavnicka wrote:

Hi all,

recently I upgraded to RH 8.0 with threaded Perl 5.8. I compiled Apache 1.3.27 with mod_perl 1.27 from source.

Now if I run Apache is works until I configure some location with mod_perl and PerlHandler like this:

<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
allow from all
</Location>

If PerlHandler line is commented out, the server starts fine.

--
Pavel Hlavnicka
Ginger Alliance
www.gingerall.com

Reply via email to