Closed Bug 1543381 Opened 7 years ago Closed 6 years ago

Plugin async rendering leverages PluginSurfaceParent which can trigger blocked sys calls

Categories

(Core Graveyard :: Plug-ins, task)

Desktop
Windows
task
Not set
normal

Tracking

(firefox68 affected)

RESOLVED DUPLICATE of bug 1544058
Tracking Status
firefox68 --- affected

People

(Reporter: jimm, Unassigned)

References

Details

When we're running with async plugin painting we have shared surfaces which we share with the plugin. In some cases we share an accelerated surface and in other we share a DIB. Pretty sure the set up here for these triggers calls that would be blocked. (In tests we pick up the dib usage below.)

https://searchfox.org/mozilla-central/rev/dd7e27f4a805e4115d0dbee70e1220b23b23c567/dom/plugins/ipc/PluginInstanceParent.cpp#772

https://searchfox.org/mozilla-central/rev/dd7e27f4a805e4115d0dbee70e1220b23b23c567/dom/plugins/ipc/PluginInstanceParent.cpp#727

win32u!NtGdiSelectBitmap
gdi32full!SelectObjectImpl
xul!mozilla::gfx::SharedDIBWin::Attach
xul!mozilla::gfx::SharedDIBSurface::Attach
xul!mozilla::plugins::PluginSurfaceParent::PluginSurfaceParent
xul!mozilla::plugins::PPluginInstanceParent::OnMessageReceived
xul!mozilla::ipc::MessageChannel::DispatchAsyncMessage
xul!mozilla::ipc::MessageChannel::DispatchMessage

win32u!NtGdiSetIcmMode
gdi32full!IcmSelectColorTransform
gdi32full!IcmDeleteLocalDC
GDI32!InternalDeleteDC
GDI32!InternalDeleteObject
GDI32!DeleteObject
xul!mozilla::gfx::SharedDIBWin::Close
xul!mozilla::gfx::SharedDIBWin::~SharedDIBWin
xul!mozilla::gfx::SharedDIBSurface::~SharedDIBSurface
xul!_cairo_user_data_array_fini
xul!_moz_cairo_surface_destroy
xul!gfxASurface::Release

win32u!NtGdiCreateDIBSection
gdi32full!CreateDIBSectionInternal
gdi32full!CreateDIBSection
GDI32!CreateDIBSectionStub
xul!mozilla::gfx::SharedDIBWin::Attach
xul!mozilla::gfx::SharedDIBSurface::Attach
xul!mozilla::plugins::PluginSurfaceParent::PluginSurfaceParent
xul!mozilla::plugins::PPluginInstanceParent::OnMessageReceived
xul!mozilla::ipc::MessageChannel::DispatchAsyncMessage
xul!mozilla::ipc::MessageChannel::DispatchMessage

31 -win32u!NtGdiCreateCompatibleDC
win32u!NtGdiCreateCompatibleDC
gdi32full!CreateCompatibleDC
xul!mozilla::gfx::SharedDIBWin::Attach
xul!mozilla::gfx::SharedDIBSurface::Attach
xul!mozilla::plugins::PluginSurfaceParent::PluginSurfaceParent
xul!mozilla::plugins::PPluginInstanceParent::OnMessageReceived
xul!mozilla::ipc::MessageChannel::DispatchAsyncMessage
xul!mozilla::ipc::MessageChannel::DispatchMessage

Type: defect → task
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.