[Webkit-unassigned] [Bug 257519] New: RemoteGraphicsContextGLProxy::initializeIPC makes a copy of the StreamServerConnection::Handle
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 30 19:07:01 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=257519
Bug ID: 257519
Summary: RemoteGraphicsContextGLProxy::initializeIPC makes a
copy of the StreamServerConnection::Handle
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Keywords: InRadar
Severity: Normal
Priority: P2
Component: WebGL
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mattwoodrow at apple.com
CC: dino at apple.com, kbr at google.com, kkinnunen at apple.com
The GPUConnectionToWebProcess::CreateGraphicsContextGL object's constructor doesn't actually move, so we end up making a copy for the IPC message.
The 'serverConnectionHandle' instance is then still alive, and holding on to a MachSendRight.
waitUntilInitialized can then block (for the 30 second timeout) if the GPUP crashes, since notification of the crash doesn't happen until all send rights are destroyed (including the one on the stack).
--
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/20230531/7c124fb2/attachment.htm>
More information about the webkit-unassigned
mailing list