Bug 262401 - REGRESSION (267014@main): [ Sonoma debug wk2 ] ASSERTION FAILED: Unhandled message GPUConnectionToWebProcess_ReleaseGraphicsContextGL to 0
Summary: REGRESSION (267014@main): [ Sonoma debug wk2 ] ASSERTION FAILED: Unhandled me...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kimmo Kinnunen
URL:
Keywords: InRadar
: 262681 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-09-29 13:57 PDT by Karl Rackler
Modified: 2023-10-12 08:30 PDT (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Rackler 2023-09-29 13:57:02 PDT
Description:
fast/canvas/webgl/canvas-zero-size.html

Is a constant crash on Sonoma debug wk2 arm64 and a flaky crash with x86_64 on ToT and since 268560@main(dashboard viewable history).

This issue can be reproduced using command:
run-webkit-tests --debug --iterations=1  fast/canvas/webgl/canvas-zero-size.html

History:
https://results.webkit.org/?suite=layout-tests&test=fast%2Fcanvas%2Fwebgl%2Fcanvas-zero-size.html&version_name=Sonoma&flavor=wk2&style=debug

Crash Log:
No crash log found for com.apple.WebKit.GPU.Development:6226.

stdout:

stderr:
ASSERTION FAILED: Unhandled message GPUConnectionToWebProcess_ReleaseGraphicsContextGL to 0
assertionFailureDueToUnreachableCode
/Volumes/Data/worker/Apple-Sonoma-Debug-Build/build/WebKitBuild/Debug/DerivedSources/WebKit/GPUConnectionToWebProcessMessageReceiver.cpp(136) : virtual void WebKit::GPUConnectionToWebProcess::didReceiveMessage(IPC::Connection &, IPC::Decoder &)
1   0x10577c094 WTFCrash
2   0x13034a660 WebKit::GPUConnectionToWebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
3   0x132666714 IPC::Connection::dispatchMessage(IPC::Decoder&)
4   0x132666b48 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder>>)
5   0x1326600fc IPC::Connection::SyncMessageState::ConnectionAndIncomingMessage::dispatch()
6   0x1326602d4 IPC::Connection::SyncMessageState::dispatchMessagesAndResetDidScheduleDispatchMessagesForConnection(IPC::Connection&)
7   0x132666ec4 IPC::Connection::dispatchSyncStateMessages()
8   0x1326779fc IPC::Connection::SyncMessageState::processIncomingMessage(IPC::Connection&, std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder>>&)::$_5::operator()()
9   0x132677958 WTF::Detail::CallableWrapper<IPC::Connection::SyncMessageState::processIncomingMessage(IPC::Connection&, std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder>>&)::$_5, void>::call()
10  0x1057a4de8 WTF::Function<void ()>::operator()() const
11  0x10583a598 WTF::RunLoop::performWork()
12  0x10583ea98 WTF::RunLoop::performWork(void*)
13  0x18aa17d28 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
14  0x18aa17cbc __CFRunLoopDoSource0
15  0x18aa17a2c __CFRunLoopDoSources0
16  0x18aa1661c __CFRunLoopRun
17  0x18aa15c2c CFRunLoopRunSpecific
18  0x18bb1e798 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
19  0x18bb97758 -[NSRunLoop(NSRunLoop) run]
20  0x18a66cd64 _xpc_objc_main
21  0x18a67ba08 _xpc_main
22  0x18a66c910 _xpc_copy_xpcservice_dictionary
23  0x130504530 WebKit::XPCServiceMain(int, char const**)
24  0x132637018 WKXPCServiceMain
25  0x102007f90 main
26  0x18a5c1058 start
com.apple.WebKit.GPU.Development terminated (pid 6226) for reason: crash
LEAK: 2 WebPageProxy
Comment 1 Radar WebKit Bug Importer 2023-09-29 13:59:03 PDT
<rdar://problem/116254494>
Comment 2 EWS 2023-09-29 14:19:22 PDT
Test gardening commit 268669@main (8d567328df09): <https://commits.webkit.org/268669@main>

Reviewed commits have been landed. Closing PR #18436 and removing active labels.
Comment 3 Karl Rackler 2023-10-02 19:14:31 PDT
<edit> "Is a constant crash on Sonoma debug wk2 arm64 and a flaky crash with x86_64 on ToT and since 268560@main(dashboard viewable history)." would be better said as "Is a constant crash on Sonoma debug wk2 arm64 and a flaky crash with x86_64 on ToT and since Sonoma bring up."
Comment 4 Kimmo Kinnunen 2023-10-05 02:00:12 PDT
*** Bug 262681 has been marked as a duplicate of this bug. ***
Comment 5 Kimmo Kinnunen 2023-10-05 02:01:16 PDT
Regressein bug 261337 but the logic problem existed in the fix before.
Comment 6 Kimmo Kinnunen 2023-10-11 02:10:31 PDT
267014@main initial problem
267806@main subsequent problem
Comment 7 Kimmo Kinnunen 2023-10-11 03:04:30 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18936
Comment 8 Chris Dumez 2023-10-11 11:53:42 PDT
Likely dupe of Bug 262981.
Comment 9 Kimmo Kinnunen 2023-10-11 23:36:57 PDT

*** This bug has been marked as a duplicate of bug 262981 ***
Comment 10 Kimmo Kinnunen 2023-10-12 00:18:36 PDT
Re-opening for pull request https://github.com/WebKit/WebKit/pull/18987
Comment 11 EWS 2023-10-12 08:30:26 PDT
Committed 269252@main (9703abbca7a6): <https://commits.webkit.org/269252@main>

Reviewed commits have been landed. Closing PR #18936 and removing active labels.