Open Bug 1043671 Opened 6 years ago Updated 2 years ago

Problems using NeedsShmem from Child after Close() and re-Open()

Categories

(Core :: IPC, defect, P3)

defect

Tracking

()

People

(Reporter: jesup, Unassigned)

References

Details

With the initial patch for bug 1041232 (only), when I end an Open H264 call, and start another, the Child does NeedsShmem to the parent.  However, the parent never appears to see it (per the IPC logs), and since it's a class ipc-sync request, the Child stops responding to new IPC messages.  In this case, the GMPParent will have Close()'d the channel, and DeleteProcess()'s the plugin-containter.  If I destroy and re-create the GMPParent, it works.

In bug 1041232, I'm landing a workaround that avoids Close()ing and Deleteing the process until either plugin disable (which kills the GMPParent), or browser exit, until this bug can be fixed.  (Whether it's in the GMP code, or elsewhere.

If it's insolvable in the short term, we should consider destroying and re-creating the GMPParent, but we need to make sure we don't leave any timing holes by doing so.
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.