Closed Bug 1152395 Opened 10 years ago Closed 10 years ago

crash in mozilla::ipc::MessageChannel::Call(IPC::Message*, IPC::Message*)

Categories

(Core Graveyard :: Plug-ins, defect)

defect
Not set
critical

Tracking

(firefox38 disabled, firefox39 fixed, firefox40 fixed)

RESOLVED FIXED
mozilla40
Tracking Status
firefox38 --- disabled
firefox39 --- fixed
firefox40 --- fixed

People

(Reporter: bugzilla, Assigned: bugzilla)

References

Details

(Keywords: crash)

Crash Data

Attachments

(1 file, 1 obsolete file)

This bug was filed from the Socorro interface and is report bp-56a8ec4c-75a3-4a6f-8747-7508b2150405. ============================================================= I think what we're seeing here is an NP_Shutdown call coming in while async NP_Initialize is still running.
Just a blatant omission on my part: NP_Shutdown would go ahead and kill everything while NP_Initialize was still executing asynchronously. This code detects that condition, sets a flag, and then we'll check for that when processing the NP_Initialize result.
Attachment #8589769 - Flags: review?(jmathies)
Comment on attachment 8589769 [details] [diff] [review] Make NP_Shutdown async init aware Review of attachment 8589769 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/plugins/ipc/PluginModuleParent.cpp @@ +2250,5 @@ > void > PluginModuleParent::InitAsyncSurrogates() > { > + if (MaybeRunDeferredShutdown()) { > + mSurrogateInstances.Clear(); I'm not sure why you cleared this, maybe add a comment?
Attachment #8589769 - Flags: review?(jmathies) → review+
Added comment. Carrying forward r+.
Attachment #8589769 - Attachment is obsolete: true
Attachment #8589787 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Comment on attachment 8589787 [details] [diff] [review] Make NP_Shutdown async init aware (r2) Approval Request Comment [Feature/regressing bug #]: async plugin init [User impact if declined]: crashes if plugin is shutdown too quickly after starting up [Describe test coverage new/current, TreeHerder]: Locally, try, m-c [Risks and why]: Low, well understood problem with a straightforward patch [String/UUID change made/needed]: None
Attachment #8589787 - Flags: approval-mozilla-aurora?
Comment on attachment 8589787 [details] [diff] [review] Make NP_Shutdown async init aware (r2) Approving for aurora - we definitely want to improve the async shutdown issues.
Attachment #8589787 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: