Hi All,

I have a simple LDAP Client that connects to a Directory Server (DS).
However, when the DS hangs the program does not respond.
It is able to connect properly when the DS is not in a hang state.
Also when the DS has been stopped entirely, the LDAP Client is able
to return quickly from the ldap_simple_bind call.

The LDAP Client & the DSA are on the same Linux machine.

I had queried regarding the issue in the LDAP List, but after seeing the
backtrace, Anton Borov suggested I put the query to the NSS List.

Here is the backtrace for the program:
#0  0x00b3296a in poll () from /lib/i686/libc.so.6
#1  0x005ae8b5 in pt_poll_now () from ../../../..............so
#2  0x005aeaf3 in pt_Continue () from ../../../..............so
#3  0x005afdf4 in pt_Recv () from ../../../..............so
#4  0x0052ab2e in ssl_DefRecv () from ../../../..............so
---Type <return> to continue, or q <return> to quit---
#5  0x0053a224 in ssl3_GatherData () from ../../../..............so
#6  0x0053a341 in ssl3_GatherCompleteHandshake () from
../../../..............so
#7  0x00527fa9 in ssl_GatherRecord1stHandshake () from
../../../..............so
#8  0x0052b9b8 in ssl_Do1stHandshake () from
../../../..............so
#9  0x0052cb93 in ssl_SecureSend () from ../../../.............so
#10 0x0052e986 in ssl_Send () from ../../../.............so
#11 0x005a2033 in PR_Send () from ../../../...............so
#12 0x00511d8f in prldap_write () from ../../../...............so
#13 0x005bd993 in ber_flush () from ../../../....................so
#14 0x0051eccc in nsldapi_send_ber_message () from
../../../..............so
#15 0x0051e88b in nsldapi_send_server_request () from
../../../...........so
#16 0x0051e365 in nsldapi_send_initial_request () from
../../../..........so
#17 0x00522d30 in simple_bind_nolock () from
../../../..........so
#18 0x00522af0 in ldap_simple_bind () from ../../../.........so
#19 0x0050d51d in obldap_simple_bind () from
../../../..................so
#20 0x08ee47ff in LDAPSimpleBind ()

Any pointers on this particular problem would be helpful.


Thanks,
Denish
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to