Closed Bug 126283 Opened 23 years ago Closed 23 years ago

Unresponsive LDAP server causes Mozilla to freeze

Categories

(MailNews Core :: LDAP Integration, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 79509

People

(Reporter: myohe, Assigned: srilatha)

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8+) Gecko/20020214
BuildID:    200202021413

When my LDAP server is offline, Mozilla will hang while trying to match a string
that I'm currently typing in.  On some systems, Mozilla's hang will cause X to
become unresponsive (pointer never leaves the scope of Mozilla).  The only
solution is to kill Mozilla's process in order to restore functionality to the
system.

Reproducible: Always
Steps to Reproduce:
1. Create a bogus reference to an LDAP server (or preferably, disable the LDAP
service on your current LDAP server).
2. Begin typing an address to the point where Mozilla attempts to lookup the
address in the LDAP server.


Actual Results:  Mozilla will freeze, waiting to timeout the connection to the
LDAP server.

Expected Results:  Mozilla should ignore the query until the query is responded
to by the LDAP server.
4.x behaves the same way!
Is this supposed to be a good thing or a bad thing? :)  It wouldn't feel so much
as a critical if the thread that was attempting to contact the LDAP server
wouldn't actually hang the whole works.
dmose, could this be a dup of the connect() bug you have bug 79509?
I am beginning to think there are two problems - the freeze which is a duplicate
of Bug #90815 which inevitably is a duplicate of Bug #79509.  The other bug
dealing with Mozilla keeping the focus of the pointer (which makes makes the
ability for using X disabled).

Michael: you're right, there are actually two problems here.  I'm marking this
bug a dup of 79509.  Note that if you wait long enough (the length of a TCP
timeout, typically 3 mins or so), mozilla will come back to life.  There are
several bugs about the X keyboard and focus grabbing problem: bug 81912, bug
118866, bug 30167 are three; there may be more.

*** This bug has been marked as a duplicate of 79509 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verified dup.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.