DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40051>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40051 Summary: multilple AuthnProviderAliases causes segfault of apache child process Product: Apache httpd-2 Version: 2.2.2 Platform: All OS/Version: other Status: NEW Severity: major Priority: P2 Component: Other Modules AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] I have the following configuration in my httpd.conf file: <AuthnProviderAlias ldap ldap> AuthLDAPURL ldap://[insert your ldap server] </AuthnProviderAlias> <AuthnProviderAlias ldap padl> AuthLDAPURL ldap://[insert your ldap server] </AuthnProviderAlias> <Location /dir1> AuthzLDAPAuthoritative off AuthName "MyRealm" AuthType Basic AuthBasicProvider padl ldap require valid-user </Location> <Location /dir2> AuthzLDAPAuthoritative off AuthName "MyRealm" AuthType Basic AuthBasicProvider ldap require valid-user </Location> When I hit /dir1, my apache child process segfaults. Based on the gdb stack trace, it looks like an endless loop of some sort is entered: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1223992400 (LWP 31027)] find_entry (ht=0x80e8a60, key=0x8187b50, klen=-1, val=0x0) at apr_hash.c:256 256 { (gdb) where #0 find_entry (ht=0x80e8a60, key=0x8187b50, klen=-1, val=0x0) at apr_hash.c:256 #1 0xb7c9243d in apr_hash_get (ht=0xb68b6040, key=0x80e8a60, klen=-1) at apr_hash.c:330 #2 0xb7eea9fb in authn_alias_check_password (r=0x8193e68, user=0xb68b6040 "ÿÿÿÿ", password=0xb68b6040 "ÿÿÿÿ") at mod_authn_alias.c:59 #3 0xb7eeaa3e in authn_alias_check_password (r=0x8193e68, user=0xb68b6040 "ÿÿÿÿ", password=0xb68b6040 "ÿÿÿÿ") at mod_authn_alias.c:68 #4 0xb7eeaa3e in authn_alias_check_password (r=0x8193e68, user=0xb68b6040 "ÿÿÿÿ", password=0xb68b6040 "ÿÿÿÿ") at mod_authn_alias.c:68 #5 0xb7eeaa3e in authn_alias_check_password (r=0x8193e68, user=0xb68b6040 "ÿÿÿÿ", password=0xb68b6040 "ÿÿÿÿ") at mod_authn_alias.c:68 #6 0xb7eeaa3e in authn_alias_check_password (r=0x8193e68, user=0xb68b6040 "ÿÿÿÿ", password=0xb68b6040 "ÿÿÿÿ") at mod_authn_alias.c:68 #7 0xb7eeaa3e in authn_alias_check_password (r=0x8193e68, user=0xb68b6040 "ÿÿÿÿ", password=0xb68b6040 "ÿÿÿÿ") at mod_authn_alias.c:68 #8 0xb7eeaa3e in authn_alias_check_password (r=0x8193e68, user=0xb68b6040 "ÿÿÿÿ", password=0xb68b6040 "ÿÿÿÿ") at mod_authn_alias.c:68 #9 0xb7eeaa3e in authn_alias_check_password (r=0x8193e68, user=0xb68b6040 "ÿÿÿÿ", password=0xb68b6040 "ÿÿÿÿ") at mod_authn_alias.c:68 #10 0xb7eeaa3e in authn_alias_check_password (r=0x8193e68, user=0xb68b6040 "ÿÿÿÿ", password=0xb68b6040 "ÿÿÿÿ") at mod_authn_alias.c:68 This goes on for tends of thousands of calls and actually eventually segfaults gdb if I try to get to the beginning of the stack. If I reverse the order of the AuthnProviderAlias declarations and put padl before ldap, the problem goes away. If I pick different aliases, I have to guess at the right order to do this. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
