Closed
Bug 479373
Opened 16 years ago
Closed 15 years ago
Hang on shutdown if there are outstanding SSL requests, low cpu
Categories
(Core :: Security: PSM, defect)
Tracking
()
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: jruderman, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: hang, testcase, Whiteboard: [psm-fatal][tbwants])
Attachments
(4 files)
1. Temporarily install Quitter from
https://www.squarefree.com/extensions/quitter.xpi
2. Load the testcase (this will cause Firefox to exit)
Result: hang during shut down
Expected: clean shut down
Reporter | ||
Comment 1•16 years ago
|
||
CPU usage is low, so I'm guessing this is a deadlock.
The main thread seems to be waiting for the PSM thread (nsPSMBackgroundThread::requestExit), and maybe the PSM thread is waiting for the main thread (nsComponentManagerImpl::CreateInstanceByContractID).
Reporter | ||
Comment 2•15 years ago
|
||
I'm hitting this a lot when fuzzing. It's slowing me down quite a big.
Reporter | ||
Updated•15 years ago
|
Reporter | ||
Comment 3•15 years ago
|
||
Anecdotal evidence suggests that lots of users are hitting the "Firefox is already running, but is not responding" dialog, which indicates either a shutdown hang or a lock-management bug. This bug has a reproducible testcase and could plausibly be responsible for some of the pain users are experiencing.
blocking2.0: --- → ?
Updated•15 years ago
|
Summary: Hang on shutdown if there are outstanding SSL requests → Hang on shutdown if there are outstanding SSL requests, low cpu
I agree with Jesse, shutdown hangs is something we know is biting our users, and this could very well be a source of these.
Seems like we should fix this for 1.9.3.
blocking2.0: ? → final+
Updated•15 years ago
|
Assignee: kaie → nobody
Whiteboard: [psm-fatal]
Comment 5•15 years ago
|
||
I believe Thunderbird is susceptible to this, especially with IMAP and LDAP
Reporter | ||
Comment 6•15 years ago
|
||
Reporter | ||
Comment 7•15 years ago
|
||
WFM on trunk with both testcases. Tested on Mac OS X 10.5.x.
Reporter | ||
Comment 8•15 years ago
|
||
Reporter | ||
Comment 9•15 years ago
|
||
WFM on Linux too, fwiw.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Comment 10•15 years ago
|
||
bienvenu in comment #5
> I believe Thunderbird is susceptible to this, especially with IMAP and LDAP
yes.
from this list of shutdown hangs [1], which ones should be marked blocked by this bug? Or is there no good, representative bug open?
[1] https://bugzilla.mozilla.org/buglist.cgi?type1-0-0=anywordssubstr&keywords=hang&keywords_type=allwords&short_desc=shut&field0-0-0=short_desc&resolution=---&classification=Client%20Software&classification=Components&query_format=advanced&short_desc_type=allwordssubstr&type0-0-0=nowords&value0-0-0=count%20counts&field1-0-0=short_desc&product=MailNews%20Core&product=Thunderbird
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Whiteboard: [psm-fatal] → [psm-fatal][tbwants]
Target Milestone: --- → mozilla2.0b2
Comment 11•15 years ago
|
||
sorry, firefox session restore is mucking with bugzilla fields again. I didn't touch them.
bievenu, I guess this means we take a different path. Cursory examination doesn't find other ssl hang bugs for core.
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → WORKSFORME
Target Milestone: mozilla2.0b2 → ---
Comment 12•15 years ago
|
||
Wayne, I'm not sure any of those bugs involve an open ldap connection at shutdown time, though I think Standard8 might have one...
You need to log in
before you can comment on or make changes to this bug.
Description
•