perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@pobox.com>
Subject Re: Bug report re httpd -S
Date Thu, 02 Mar 2000 23:57:00 GMT
On Wed, 1 Mar 2000 Kevin.Ruscoe@wdr.com wrote:

> Hi
> 
> When I run httpd -S against any configuration file containing a 
> VirtualHost directive within a Perl Section, libhttpd.ep receives 
> SIGSEGV and dumps core.  (This happens whether I use full Perl syntax 
> or $PerlConfig.)  The stack trace from the core file is :
> 
> (dbx) where                                                           
>        
>   [1] strlen(0x0, 0x0, 0xef720c78, 0x7efefeff, 0x81010100, 0xff0000), 
> at 0xef4a4614
>   [2] _doprnt(0xef720c7c, 0x0, 0x0, 0x0, 0xefffb62b, 0xefff963b), at 
> 0xef4da504
>   [3] _fprintf(0xef526c18, 0xef720c70, 0xef52a76c, 0x23d80, 0x0, 
> 0x0), at 0xef4e356c
> =>[4] ap_sub_req_method_uri(method = 0xef526c18 "", new_file = 
> 0x23880 "", r = 0x23b78), line 750 in "http_request.c"
>   [5] 0xef6c6c30(0x22df8, 0x22e20, 0x22df8, 0x26e28, 0x0, 0x0), at 
> 0xef6c6c2f
>   [6] invoke_cmd(cmd = 0x22df8, parms = 0x26e28, mconfig = 
> 0xef7349f0, args = 0xef7eddfc ""), line 867 in "http_config.c"
>   [7] show_compile_settings(), line 3737 in "http_main.c"
>   [8] 0x10ab4(0x4, 0xefffbcac, 0xefffbcc0, 0x20c00, 0x0, 0x0), at 
> 0x10ab3

hmm, -S shouldn't produce that stack, show_compile_settings() is only
called with -V
 
> 
> 
> The details of my configuration are as follows:
> 
> Apache configuration file
> =========================
> LoadModule	perl_module libexec/libperl_500503.so

maybe that's the problem, have you tried with a static mod_perl?
 
> <Perl>
> $VirtualHost{'172.16.125.46'} = { ServerName => 'ln16p1166swk' };
> </Perl>

I dropped this in mod_perl-1.21_01-dev/t/conf/httpd.conf
and ran with no problem:

% ../apache-1.3/src/httpd -d `pwd`/t -f `pwd`/t/conf/httpd.conf -S
VirtualHost configuration:
172.16.125.46:8529     ln16p1166swk ((null):0)



Mime
View raw message