> mod-vhost-ldap segfaults when used with the Apache2 worker MPM, with > suExec and cgid enabled. (The Debian packages ensure cgid is used > with the worker MPM.) > > Here is a gdb backtrace, suitably cut: > > (gdb) bt > #0 0x405d0e8c in mod_vhost_ldap_get_suexec_id_doer (r=0x818e0b8) > at mod_vhost_ldap.c:468 > #1 0x08095a85 in ap_run_get_suexec_identity () > #2 0x08095c85 in ap_os_create_privileged_process () > #3 0x40586506 in ?? () from /usr/lib/apache2/modules/mod_cgid.so > > The module tries to do > > mod_vhost_ldap_config_t *cfg = > (mod_vhost_ldap_config_t *)ap_get_module_config(r->server->module_config, > &vhost_ldap_module); > > Which fails because r->server->module_config is null. At least I think > that's why it fails. > > (gdb) print r->server->module_config > $1 = (struct ap_conf_vector_t *) 0x0 > > I'm trying to figure out what this means, just recording this here.
That's strange because I develop and run it on threaded apache2 without problems. Does it happen every time? O. -- Ondrej Sury <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part