[Webkit-unassigned] [Bug 222879] New: [GPU Process] RemoteImageBufferProxy should not call flushDrawingContext() in its destructor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 7 00:57:48 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=222879

            Bug ID: 222879
           Summary: [GPU Process] RemoteImageBufferProxy should not call
                    flushDrawingContext() in its destructor
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: dino at apple.com

This was done mainly to restore the GraphicsContext of RemoteImageBuffer to its clean state before releasing it. However this may lead to the following crash:

0   com.apple.WebKit                    0x000000010124d7a3 WTFCrashWithInfo(int, char const*, char const*, int) + 19
1   com.apple.WebKit                    0x0000000101745c5d WebKit::WebProcess::ensureGPUProcessConnection() + 683
2   com.apple.WebKit                    0x0000000101763df5 WebKit::RemoteRenderingBackendProxy::messageSenderConnection() const + 17
3   com.apple.WebKit                    0x0000000101280fd5 IPC::MessageSender::sendMessage(std::__1::unique_ptr<IPC::Encoder, std::__1::default_delete<IPC::Encoder> >, WTF::OptionSet<IPC::SendOption>, WTF::Optional<std::__1::pair<WTF::CompletionHandler<void (IPC::Decoder*)>, unsigned long long> >&&) + 29
4   com.apple.WebKit                    0x00000001017b0276 bool IPC::MessageSender::send<Messages::RemoteRenderingBackend::WakeUpAndApplyDisplayList>(Messages::RemoteRenderingBackend::WakeUpAndApplyDisplayList const&, unsigned long long, WTF::OptionSet<IPC::SendOption>) + 106
5   com.apple.WebKit                    0x00000001017642da WebKit::RemoteRenderingBackendProxy::sendDeferredWakeupMessageIfNeeded() + 110
6   com.apple.WebKit                    0x00000001017a9781 WebKit::RemoteImageBufferProxy<WebKit::ImageBufferShareableMappedIOSurfaceBackend>::flushDrawingContextAsync() + 133
7   com.apple.WebKit                    0x00000001017a96e6 WebKit::RemoteImageBufferProxy<WebKit::ImageBufferShareableMappedIOSurfaceBackend>::flushDrawingContext() + 34
8   com.apple.WebKit                    0x00000001017aa41e WebKit::RemoteImageBufferProxy<WebKit::ImageBufferShareableMappedIOSurfaceBackend>::~RemoteImageBufferProxy() + 82
9   com.apple.WebKit                    0x00000001017a95f0 WebKit::RemoteImageBufferProxy<WebKit::ImageBufferShareableMappedIOSurfaceBackend>::~RemoteImageBufferProxy() + 14

This blocks enabling GPU Process for 2D canvas for web-platform-tests/html/canvas/element/line-styles/2d.line.cap.butt.html.

-- 
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/20210307/26a19f3d/attachment-0001.htm>


More information about the webkit-unassigned mailing list