[Webkit-unassigned] [Bug 199205] [WPE][GTK] UI process crash in DrawingAreaProxyCoordinatedGraphics::waitForAndDispatchDidUpdateBackingStoreState
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 25 16:05:43 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=199205
Michael Catanzaro <mcatanzaro at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mcatanzaro at igalia.com
--- Comment #1 from Michael Catanzaro <mcatanzaro at igalia.com> ---
Well m_waitingForMessage is invalid, but not null (this=0x30). But the local variable waitingForMessage looks fine. I *think* we can conclude that the Connection itself is invalid. DrawingAreaProxyCoordinatedGraphics should probably null-check the connection pointer before using it. Naive solution would be:
if (Connection* connection = process().connection())
connection->waitForAndDispatchImmediately<Messages::DrawingAreaProxy::DidUpdateBackingStoreState>(m_identifier.toUInt64(), Seconds::fromMilliseconds(500));
And if that's not right, then at least it should ASSERT(connection) before using it.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190625/413eb269/attachment.html>
More information about the webkit-unassigned
mailing list