Apache segfaults on HUP after adding WFS/GML support to PHP/Mapscript
Toomas Aas
toomas.aas at RAAD.TARTU.EE
Mon Mar 5 23:33:08 PST 2007
Toomas Aas wrote:
> Apache
> can no longer be restarted with HUP signal (such as running 'apachectl
> restart'). This results in Apache dying with signal 11 and not starting
> up again, until started manually.
>
> The backtrace of coredump is simply:
> #0 0x2970b444 in ?? ()
> #1 0x283cd007 in _pthread_main_np () from /lib/libc.so.5
> #2 0x28415beb in __hostdata_init () from /lib/libc.so.5
> #3 0x28416348 in gethostbyname () from /lib/libc.so.5
> #4 0x0806f26e in ap_get_local_host ()
> #5 0x0806bcd3 in ap_fini_vhost_config ()
> #6 0x0806b3c6 in main ()
For the russian-speaking members of this list, I found a workaround
described here:
http://tinyurl.com/2h85dr
God knows why, but adding ServerName directive to httpd.conf (which
previously was commented out) cured the segfaults.
--
Toomas Aas
More information about the MapServer-users
mailing list