361 bytes, text/html
8.98 KB, text/plain
357 bytes, text/html
224 bytes, text/html
Created attachment 363260 [details] testcase (requires Quitter for quit timing) 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
Created attachment 363261 [details] sample 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).
I'm hitting this a lot when fuzzing. It's slowing me down quite a big.
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: --- → ?
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+
I believe Thunderbird is susceptible to this, especially with IMAP and LDAP
WFM on trunk with both testcases. Tested on Mac OS X 10.5.x.
WFM on Linux too, fwiw.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → WORKSFORME
bienvenu in comment #5 > I believe Thunderbird is susceptible to this, especially with IMAP and LDAP yes. from this list of shutdown hangs , which ones should be marked blocked by this bug? Or is there no good, representative bug open?  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
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
Last Resolved: 8 years ago → 8 years ago
Resolution: --- → WORKSFORME
Target Milestone: mozilla2.0b2 → ---
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.