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=42682>.
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=42682


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED




------- Additional Comments From [EMAIL PROTECTED]  2007-06-22 09:44 -------
I have no idea, what to do exactely. I have played a bit. Set a breakpoint to
the naughty "ldap_simple_bind_s" function. Two debugs - each one a bit 
different.

Watch yourself, if this is useful. If not, please tell me, what you need. 


rayone# gdb httpd
GNU gdb 6.2.1
Copyright 2004 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.10"...
(gdb) b ldap_simple_bind_s
Function "ldap_simple_bind_s" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (ldap_simple_bind_s) pending.
(gdb) run -X -d /opt/kevin/apache-2.2.4
Starting program: /opt/kevin/apache-2.2.4/bin/httpd -X -d 
/opt/kevin/apache-2.2.4
warning: Lowest section in /usr/lib/libpthread.so.1 is .dynamic at 00000074
warning: Lowest section in /usr/lib/libthread.so.1 is .dynamic at 00000074
warning: Lowest section in /usr/lib/libdl.so.1 is .dynamic at 00000094
Breakpoint 2 at 0xff242cbc
Pending breakpoint "ldap_simple_bind_s" resolved
[New LWP 1]
[New LWP 2]
[New LWP 3]
[New LWP 4]
[LWP 2 exited]
[New LWP 2]
[Switching to LWP 3]

Breakpoint 2, 0xff242cbc in ldap_simple_bind_s () from /usr/lib/libldap.so.5
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0xff24eacc in do_ldapssl_connect () from /usr/lib/libldap.so.5
(gdb) where
#0  0xff24eacc in do_ldapssl_connect () from /usr/lib/libldap.so.5
#1  0xff24eeac in ldapssl_connect () from /usr/lib/libldap.so.5
(gdb) s
Single stepping until exit from function do_ldapssl_connect,
which has no line number information.
warning: rw_common (): unable to read at addr 0xfeeedc5c
warning: rw_common (): unable to read at addr 0xfeeedc60
thread_to_lwp: td_ta_map_id2thr Debugger service failed
(gdb) bt
#0  0xff24eacc in do_ldapssl_connect () from /usr/lib/libldap.so.5
#1  0xff24eeac in ldapssl_connect () from /usr/lib/libldap.so.5
(gdb) q
The program is running.  Exit anyway? (y or n) y
Quitting: procfs: unconditionally_kill, proc_kill line 4701, /proc/06979: No
such file or directory.




rayone# gdb httpd
GNU gdb 6.2.1
Copyright 2004 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.10"...
(gdb) b ldap_simple_bind_s
Function "ldap_simple_bind_s" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (ldap_simple_bind_s) pending.
(gdb)  run -X -d /opt/kevin/apache-2.2.4
Starting program: /opt/kevin/apache-2.2.4/bin/httpd -X -d 
/opt/kevin/apache-2.2.4
warning: Lowest section in /usr/lib/libpthread.so.1 is .dynamic at 00000074
warning: Lowest section in /usr/lib/libthread.so.1 is .dynamic at 00000074
warning: Lowest section in /usr/lib/libdl.so.1 is .dynamic at 00000094
Breakpoint 2 at 0xff242cbc
Pending breakpoint "ldap_simple_bind_s" resolved
[New LWP 1]
[New LWP 2]
[New LWP 3]
[New LWP 4]
[LWP 2 exited]
[New LWP 2]
[Switching to LWP 3]

Breakpoint 2, 0xff242cbc in ldap_simple_bind_s () from /usr/lib/libldap.so.5
(gdb) bt
#0  0xff242cbc in ldap_simple_bind_s () from /usr/lib/libldap.so.5
#1  0xfe742ab0 in uldap_connection_open () from
/opt/kevin/apache-2.2.4/modules/mod_ldap.so
#2  0xfe74377c in uldap_cache_checkuserid () from
/opt/kevin/apache-2.2.4/modules/mod_ldap.so
#3  0xfe881c54 in authn_ldap_check_password () from
/opt/kevin/apache-2.2.4/modules/mod_authnz_ldap.so
#4  0xfe840dd8 in authenticate_basic_user () from
/opt/kevin/apache-2.2.4/modules/mod_auth_basic.so
#5  0x00035610 in ap_run_check_user_id ()
#6  0x00037700 in ap_process_request_internal ()
#7  0x000468e8 in ap_process_request ()
#8  0x00043d48 in ap_process_http_connection ()
#9  0x00040584 in ap_run_process_connection ()
#10 0x0004ada4 in worker_thread ()
#11 0xff05c12c in dummy_worker () from /opt/kevin/apache-2.2.4/lib/libapr-1.so.0
#12 0xfeec0504 in _lwp_start () from /usr/lib/libc.so.1
#13 0xfeec0504 in _lwp_start () from /usr/lib/libc.so.1
Previous frame identical to this frame (corrupt stack?)
(gdb) s
Single stepping until exit from function ldap_simple_bind_s,
which has no line number information.
0xfeebeb18 in _ti_bind_guard () from /usr/lib/libc.so.1
(gdb) s
Single stepping until exit from function _ti_bind_guard,
which has no line number information.
0xfeebeb50 in _ti_bind_clear () from /usr/lib/libc.so.1
(gdb) s
Single stepping until exit from function _ti_bind_clear,
which has no line number information.
0xff2428f0 in ldap_simple_bind () from /usr/lib/libldap.so.5
(gdb) s
Single stepping until exit from function ldap_simple_bind,
which has no line number information.
0xff242910 in simple_bind_nolock () from /usr/lib/libldap.so.5
(gdb) s
Single stepping until exit from function simple_bind_nolock,
which has no line number information.

Program received signal SIGSEGV, Segmentation fault.
0xff24eacc in do_ldapssl_connect () from /usr/lib/libldap.so.5
(gdb) c
Continuing.
warning: rw_common (): unable to read at addr 0xfeeedc5c
warning: rw_common (): unable to read at addr 0xfeeedc60
thread_to_lwp: td_ta_map_id2thr Debugger service failed



-- 
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]

Reply via email to