httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: another core dump while parsing the configuration
Date Sun, 21 May 2000 09:53:39 GMT

I am relatively sure I know what this is due to, and I keep meaning to
investigate a change that has been made, but I haven't had a chance
recently.  I'll try to fix this tonight.

Ryan

On Sun, 21 May 2000, Jeff Trawick wrote:

> I forgot to build in mod_charset_lite, and the config parser tripped
> up on <IfModule mod_charset_lite.c>.  A very small cfg file which
> reproduces this error is displayed below.
> 
> [trawick@k5 src]$ ./httpd -f /dl/apache/apache-2.0/src/silly.conf
> Segmentation fault (core dumped)
> [trawick@k5 src]$ cat silly.conf
>  
> <Directory /tmp/apache-2.0/htdocs/convert>
> <IfModule mod_charset_lite.c>
>     CharsetSourceEnc  IBM1047
>     CharsetDefault    ISO-8859-1
> </IfModule>
> </Directory>
>              
> (gdb) bt
> #0  0x805c325 in ap_build_config_sub (p=0x8090644, temp_pool=0x80b0744, l=0xbfffdb08
"<IfModule mod_charset_lite.c>",
>     parms=0xbffffb68, current=0xbfffdb00, curr_parent=0xbfffdb04) at http_config.c:879
> #1  0x805c675 in ap_build_config (parms=0xbffffb68, p=0x8090644, temp_pool=0x80b0744,
conftree=0xbffffb30)
>     at http_config.c:1036
> #2  0x805cb18 in ap_process_resource_config (s=0x8090fd4, fname=0xbffffda7 "/dl/apache/apache-2.0/src/silly.conf",
>     p=0x8090644, ptemp=0x80b0744) at http_config.c:1287
> #3  0x805cfe8 in ap_read_config (process=0x808e664, ptemp=0x80b0744,
>     confname=0xbffffda7 "/dl/apache/apache-2.0/src/silly.conf") at http_config.c:1532
> #4  0x8060ac5 in main (argc=3, argv=0xbffffc84) at http_main.c:379
> #5  0x40081cb3 in __libc_start_main (main=0x80608e0 <main>, argc=3, argv=0xbffffc84,
init=0x8049818 <_init>,
>     fini=0x807a58c <_fini>, rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffc7c)
at ../sysdeps/generic/libc-start.c:78
> (gdb)                          
> 
> 
> -- 
> Jeff Trawick | trawick@ibm.net | PGP public key at web site:
>      http://www.geocities.com/SiliconValley/Park/9289/
>           Born in Roswell... married an alien...
> 


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message