Closed
Bug 1127888
Opened 10 years ago
Closed 10 years ago
Wedged content process with async plugin init
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(firefox38 fixed)
RESOLVED
FIXED
mozilla38
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: jimm, Assigned: bugzilla)
References
Details
Attachments
(2 files, 1 obsolete file)
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
bugzilla
:
review+
|
Details | Diff | Splinter Review |
See attached stacks. I had just closed a tab when this showed up.
Reporter | ||
Comment 1•10 years ago
|
||
note, chrome was still responsive (the thread's in sitting in WinUtils::WaitForMessage).
Assignee | ||
Updated•10 years ago
|
Blocks: asyncplugininit
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → aklotz
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•10 years ago
|
||
This patch takes care of a few issues that could cause WaitForInit() to get stuck indefinitely.
SetupBridge could result in a hang if we reused an existing PluginModuleChromeParent, since we would end up waiting for NP_Initialize to happen when it never would (as it is not executed in this case).
WaitForInit was modified to check for conditions that would require us to break out if a failure condition occurred while processing IPC events.
Finally the code for handling errors in streams was cleaned up to ensure that failures are better handled.
Attachment #8566381 -
Flags: review?(jmathies)
Reporter | ||
Comment 3•10 years ago
|
||
Comment on attachment 8566381 [details] [diff] [review]
Patch (r1)
Review of attachment 8566381 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/plugins/ipc/PluginAsyncSurrogate.cpp
@@ +450,5 @@
> dom::ContentChild* cp = dom::ContentChild::GetSingleton();
> mozilla::ipc::MessageChannel* contentChannel = cp->GetIPCChannel();
> MOZ_ASSERT(contentChannel);
> while (!mParent->mNPInitialized) {
> + if (mParent->mShutdown) {
nit - add a comment here and below explaining the early return / failure.
Attachment #8566381 -
Flags: review?(jmathies) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Added comments. Carrying forward r+.
Attachment #8566381 -
Attachment is obsolete: true
Attachment #8567612 -
Flags: review+
Assignee | ||
Comment 5•10 years ago
|
||
Assignee | ||
Comment 6•10 years ago
|
||
Assignee | ||
Comment 7•10 years ago
|
||
Stupid bustage fix:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c07df64140ae
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/92279670ec95
https://hg.mozilla.org/mozilla-central/rev/c07df64140ae
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•