Hi guys,

I've got Apache/1.3.12 (Unix) PHP/3.0.18+Midgard/1.4/SG
Midgard/1.4/SG running with three virtual hosts, all using
Midgard, and the main server w/o Midgard. Everything's fine.

Now I add another virtual host on a new IP address, also with
Midgard support and nothing special in Apache's or Midgard's
configuration (empty root style and root page as generated by
Asgard).

Restarting Apache with that (syntactically valid, as of
apachectl configtest) configuration leads to a segfault after
1-2 seconds w/o any log message, not even the usual "resuming
normal operations" and even with LogLevel set to "debug". gdb
says:

| (gdb) run -X
| Starting program: /usr/local/apache/bin/httpd -X
| Cannot access memory at address 0x4036ab14
| (gdb) where
| #0  0x4000af21 in _dl_debug_state () at dl-debug.c:56
| #1  0x40145156 in _dl_close (map=0x80b97f0) at dl-close.c:195
| #2  0x40063430 in dlclose_doit (handle=0x80b97f0) at dlclose.c:26
| #3  0x4000ac3b in _dl_catch_error (errstring=0x40065080, 
|     operate=0x40063418 <dlclose_doit>, args=0x80b97f0) at dl-error.c:141
| #4  0x400638b9 in _dlerror_run (operate=0x40063418 <dlclose_doit>, 
|     args=0x80b97f0) at dlerror.c:125
| #5  0x400633fe in dlclose (handle=0x80b97f0) at dlclose.c:32
| #6  0x806f950 in ap_os_dso_unload ()
| #7  0x804f270 in unload_module ()
| #8  0x805101e in run_cleanups ()
| #9  0x804f84d in ap_clear_pool ()
| #10 0x805f923 in standalone_main ()
| #11 0x80601c3 in main ()
| #12 0x4007e9cb in __libc_start_main (main=0x805fe7c <main>, argc=2, 
|     argv=0xbffff9b4, init=0x804e864 <_init>, fini=0x809419c <_fini>, 
|     rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffff9ac)
|     at ../sysdeps/generic/libc-start.c:92

Oddly enough, after commenting out _any_ of the four VHosts, it
works!

And, even more §$%&/ ;-), when configuring the fourth (new)
VHost w/o Midgard, it works. Re-enabling Midgard -> segfault.
Disabling Midgard -> still segfault (!). Disabling the whole
VHost -> works again. Re-enabling the VHost, again w/o Midgard
-> does still work. And so on ... and the hosts seem to be
arbitrarily interchangable.

     Good night!
     phr
-- 
Linksystem Muenchen GmbH                          [EMAIL PROTECTED]
Schloerstrasse 10                           http://www.link-m.de
80634 Muenchen                              Tel. 089 / 890 518-0
We make the Net work.                       Fax 089 / 890 518-77

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

Reply via email to