-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, Sep 12, 2002 at 08:15:08PM -0700, Doug MacEachern wrote:
> On Thu, 12 Sep 2002, Doug MacEachern wrote:
>
> > can you provide some example config that triggers the problem? i imagine
> > it is related to vhosts. perhaps a VirtualHost configured before the
> > LoadModule? we should support that, but in the meantime you may be able
> > to workaround by having all LoadModules configured before any
> > VirtualHosts.
>
> that is already ruled out actually, the test httpd.conf has the LoadModule
> for TestDirective::loadmodule after a VirtualHost directive.
You're not as far off as you think. Moving the LoadModule directive above all
my VirtualHosts cured the initial segfault. Now it dies inside
merge_server_configs:
stephenc@stephenc ~ $ gdb ~/bin/apache/bin/httpd
GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) run -X
Starting program: /home/stephenc/bin/apache/bin/httpd -X
[New Thread 1024 (LWP 28863)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 28863)]
modperl_module_config_srv_merge (p=0x80b3370, basev=0x80f90b0, addv=0x852cfe8)
at modperl_module.c:222
222 return modperl_module_config_merge(p, basev, addv,
(gdb) bt
#0 modperl_module_config_srv_merge (p=0x80b3370, basev=0x80f90b0,
addv=0x852cfe8) at modperl_module.c:222
#1 0x0807a9dd in merge_server_configs (p=0x80b3370, base=0x80b6228,
virt=0x852c2d8) at config.c:319
#2 0x0807c9e7 in ap_fixup_virtual_hosts (p=0x80b3370, main_server=0x80b6118) at
config.c:1701
#3 0x0807e99b in main (argc=2, argv=0xbffff954) at main.c:565
#4 0x401bc3c1 in __libc_start_main () from /lib/libc.so.6
(gdb) p *((modperl_module_cfg_t *)basev)
$1 = {server = 0x0, minfo = 0x0}
(gdb) p *((modperl_module_cfg_t *)addv)
$2 = {server = 0x852c218, minfo = 0x80f8478}
(gdb) p $2->minfo
$3 = (modperl_module_info_t *) 0x80f8478
(gdb) p *$3
$4 = {dir_create = 0x80f84e0, dir_merge = 0x80f8580, srv_create = 0x0,
srv_merge = 0x0, namelen = 28}
- --
Stephen Clouse <[EMAIL PROTECTED]>
Senior Programmer, IQ Coordinator Project Lead
The IQ Group, Inc. <http://www.theiqgroup.com/>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9gXB/A4aoazQ9p2cRArDaAKDojL2cFepZhVmRc6iPVyYOmbteHACbBckm
pks6Ztvf4YTovIjBahbzj8w=
=7Xfw
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]