-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

loadmodule test somehow passes, but when I actually try to use it with one of
our modules:

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 19804)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 19804)]
modperl_init (base_server=0x80b6118, p=0x80b3370) at mod_perl.c:220
220             if (MpSrvPARENT(scfg)) {
(gdb) bt
#0  modperl_init (base_server=0x80b6118, p=0x80b3370) at mod_perl.c:220
#1  0x40346a88 in modperl_run (p=0x80b3370, s=0x80b6118) at mod_perl.c:386
#2  0x40348338 in modperl_cmd_load_module (parms=0xbffff840, mconfig=0x80f4168,
        arg=0x80f6338 "IQGroup::Core::ApacheRequest") at modperl_cmd.c:320
#3  0x0807b0be in invoke_cmd (cmd=0x40429df0, parms=0xbffff840,
        mconfig=0x80f4168, args=0x80f6338 "IQGroup::Core::ApacheRequest") at
        config.c:712
#4  0x0807bca3 in ap_walk_config_sub (current=0x80f6318, parms=0xbffff840,
        section_vector=0x80efa00) at config.c:1081
#5  0x0807bd21 in ap_walk_config (current=0x80f2560, parms=0xbffff840,
        section_vector=0x80efa00) at config.c:1120
#6  0x0807c620 in ap_process_config_tree (s=0x80b6118, conftree=0x80f2560,
        p=0x80b3370, ptemp=0x80ed458) at config.c:1558
#7  0x0807e991 in main (argc=2, argv=0xbffff954) at main.c:564
#8  0x401bc3c1 in __libc_start_main () from /lib/libc.so.6
(gdb) p scfg
$1 = (modperl_config_srv_t *) 0x0

Looks like Apache isn't quite done setting up the config when that early 
modperl_init is triggered.  I'm trying to figure out what's supposed to
initialize that but I keep getting lost.

- -- 
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)

iD8DBQE9gRioA4aoazQ9p2cRAoENAJ0fy3AQbEhHS6mwyTJ/oLqiCzs1igCcDU1N
v2UQyiUImCmMkAqkncVyxro=
=FChx
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to