httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18756] - Apache core dump when using LDAP authentification.
Date Sat, 27 Sep 2003 22:51:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18756>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18756

Apache core dump when using LDAP authentification.





------- Additional Comments From apache@schiegl.com  2003-09-27 22:51 -------
okay, this one (being unable to create a core file) was my fault, after 
adjusting a few paramters if got the desired result:

# gdb httpd core
GNU gdb 5.0
Copyright 2000 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 "sparc-sun-solaris2.8"...
Core was generated by `/opt/httpd/bin/httpd -k start'.
Program terminated with signal 9, Killed.
Reading symbols from /opt/httpd/lib/libaprutil-0.so.0...done.
Loaded symbols for /opt/httpd/lib/libaprutil-0.so.0
Reading symbols from /opt/openldap/lib/libldap.so.2...done.
Loaded symbols for /opt/openldap/lib/libldap.so.2
Reading symbols from /usr/lib/libgen.so.1...done.
Loaded symbols for /usr/lib/libgen.so.1
Reading symbols from /opt/openldap/lib/liblber.so.2...done.
Loaded symbols for /opt/openldap/lib/liblber.so.2
Reading symbols from /opt/httpd/lib/libexpat.so.0...done.
Loaded symbols for /opt/httpd/lib/libexpat.so.0
Reading symbols from /usr/local/lib/libiconv.so.2...done.
Loaded symbols for /usr/local/lib/libiconv.so.2
Reading symbols from /opt/httpd/lib/libapr-0.so.0...done.
Loaded symbols for /opt/httpd/lib/libapr-0.so.0
Reading symbols from /usr/lib/libsendfile.so.1...done.
Loaded symbols for /usr/lib/libsendfile.so.1
Reading symbols from /usr/lib/librt.so.1...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libresolv.so.2...done.
Loaded symbols for /usr/lib/libresolv.so.2
Reading symbols from /usr/lib/libpthread.so.1...done.
Loaded symbols for /usr/lib/libpthread.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libaio.so.1...done.
Loaded symbols for /usr/lib/libaio.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
Reading symbols from /usr/lib/libthread.so.1...done.
Loaded symbols for /usr/lib/libthread.so.1
Reading symbols from /usr/lib/nss_files.so.1...done.
Loaded symbols for /usr/lib/nss_files.so.1
Reading symbols from /opt/httpd/modules/libphp4.so...done.
Loaded symbols for /opt/httpd/modules/libphp4.so
Reading symbols from /opt/httpd/modules/mod_security.so...done.
Loaded symbols for /opt/httpd/modules/mod_security.so
#0  0x4a4f8 in util_ald_cache_insert (cache=0xfed501b0, payload=0xfe303828) at 
util_ldap_cache_mgr.c:396
396         node->add_time = apr_time_now();
(gdb) bt
#0  0x4a4f8 in util_ald_cache_insert (cache=0xfed501b0, payload=0xfe303828) at 
util_ldap_cache_mgr.c:396
#1  0x49184 in util_ldap_cache_checkuserid (r=0x350fe0, ldc=0x20d4a8, url=0x1 
<Address 0x1 out of bounds>, 
    basedn=0x36b260 "MyUsername", scope=0, attrs=0x233b00, 
filter=0xfe3038f0 "(&(objectClass=person)(sAMAccountName=MyUsername))", 
    bindpw=0x36b22f "MyPassword", binddn=0xfe3038e8, retvals=0xfe3038e4) at 
util_ldap.c:923
#2  0x4af14 in mod_auth_ldap_check_user_id (r=0x350fe0) at mod_auth_ldap.c:366
#3  0xaaa4c in ap_run_check_user_id (r=0x350fe0) at request.c:112
#4  0xab398 in ap_process_request_internal (r=0x350fe0) at request.c:235
#5  0x77b28 in ap_process_request (r=0x350fe0) at http_request.c:286
#6  0x72f7c in ap_process_http_connection (c=0x346ba0) at http_core.c:293
#7  0x9ef6c in ap_run_process_connection (c=0x346ba0) at connection.c:85
#8  0x9f258 in ap_process_connection (c=0x346ba0, csd=0x346ac0) at 
connection.c:211
#9  0x90448 in process_socket (p=0x346ba0, sock=0x346ac0, my_child_num=0, 
my_thread_num=2, bucket_alloc=0x2e53e0) at worker.c:632
#10 0x90b34 in worker_thread (thd=0x1e6830, dummy=0x346ba0) at worker.c:947
#11 0xff2756d0 in dummy_worker (opaque=0x1e6830) at thread.c:127
(gdb) quit

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message