Bug 220545 - ASSERTION FAILED: m_connection under WebKit::WebPageProxy::acceptsFirstMouse()
Summary: ASSERTION FAILED: m_connection under WebKit::WebPageProxy::acceptsFirstMouse()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-01-12 09:24 PST by Ryan Haddad
Modified: 2021-01-12 11:05 PST (History)
4 users (show)

See Also:


Attachments
Patch (2.44 KB, patch)
2021-01-12 09:58 PST, Wenson Hsieh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2021-01-12 09:24:42 PST
TestWebKitAPI.WebKit2.AcceptsFirstMouseDuringWebProcessLaunch
        ASSERTION FAILED: m_connection
        /Volumes/Data/slave/bigsur-debug/build/Source/WebKit/UIProcess/AuxiliaryProcessProxy.h(76) : IPC::Connection *WebKit::AuxiliaryProcessProxy::connection() const
        1   0x10bb80c89 WTFCrash
        2   0x11368c4ab WTFCrashWithInfo(int, char const*, char const*, int)
        3   0x1146df459 WebKit::AuxiliaryProcessProxy::connection() const
        4   0x114a65ed6 WebKit::WebPageProxy::messageSenderConnection() const
        5   0x114cfced0 std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> > IPC::MessageSender::sendSync<Messages::WebPage::AcceptsFirstMouse>(Messages::WebPage::AcceptsFirstMouse&&, Messages::WebPage::AcceptsFirstMouse::Reply&&, unsigned long long, WTF::Seconds, WTF::OptionSet<IPC::SendSyncOption>)
        6   0x114cedca2 std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> > IPC::MessageSender::sendSync<Messages::WebPage::AcceptsFirstMouse>(Messages::WebPage::AcceptsFirstMouse&&, Messages::WebPage::AcceptsFirstMouse::Reply&&, WTF::Seconds, WTF::OptionSet<IPC::SendSyncOption>)
        7   0x114cedbe1 WebKit::WebPageProxy::acceptsFirstMouse(int, WebKit::WebMouseEvent const&)
        8   0x1148bab31 WebKit::WebViewImpl::acceptsFirstMouse(NSEvent*)
        9   0x1147a1919 -[WKWebView(WKImplementationMac) acceptsFirstMouse:]
        10  0x103ff6471 TestWebKitAPI::WebKit2_AcceptsFirstMouseDuringWebProcessLaunch_Test::TestBody()
        11  0x104b4cf34 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
        12  0x104b1b19b void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
        13  0x104b1b0d6 testing::Test::Run()
        14  0x104b1c22a testing::TestInfo::Run()
        15  0x104b1d074 testing::TestCase::Run()
        16  0x104b28738 testing::internal::UnitTestImpl::RunAllTests()
        17  0x104b522c4 bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
        18  0x104b2822b bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
        19  0x104b280fd testing::UnitTest::Run()
        20  0x1048c7a61 RUN_ALL_TESTS()
        21  0x1048c79f2 TestWebKitAPI::TestsController::run(int, char**)
        22  0x104ae5d75 main
        23  0x7fff20393621 start

https://build.webkit.org/builders/Apple-BigSur-Debug-WK2-Tests/builds/685/steps/run-api-tests/logs/stdio
Comment 1 Radar WebKit Bug Importer 2021-01-12 09:25:29 PST
<rdar://problem/73043854>
Comment 2 Ryan Haddad 2021-01-12 09:25:34 PST
This crash started after https://trac.webkit.org/changeset/271380/webkit landed to fix a different assertion.
Comment 3 Radar WebKit Bug Importer 2021-01-12 09:36:50 PST Comment hidden (obsolete)
Comment 4 Wenson Hsieh 2021-01-12 09:58:53 PST
Created attachment 417467 [details]
Patch
Comment 5 Wenson Hsieh 2021-01-12 09:59:31 PST
(In reply to Wenson Hsieh from comment #4)
> Created attachment 417467 [details]
> Patch

This time, I actually ran the test under Debug and saw no further assertions.
Comment 6 EWS 2021-01-12 11:05:07 PST
Committed r271408: <https://trac.webkit.org/changeset/271408>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 417467 [details].