[Webkit-unassigned] [Bug 154784] New: SHOULD NEVER BE REACHED at DerivedSources/WebKit2/WebProcessMessageReceiver.cpp(265) : void WebKit::WebProcess::didReceiveSyncWebProcessMessage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 27 22:08:01 PST 2016


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

            Bug ID: 154784
           Summary: SHOULD NEVER BE REACHED at
                    DerivedSources/WebKit2/WebProcessMessageReceiver.cpp(2
                    65) : void
                    WebKit::WebProcess::didReceiveSyncWebProcessMessage
    Classification: Unclassified
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com

I can reliably crash Epiphany with a debug build of WebKit by pressing Ctrl+T (open new tab) then Ctrl+Q (quit) in quick succession. I suspect it's a cross-platform bug as it's hitting this assert:

SHOULD NEVER BE REACHED
DerivedSources/WebKit2/WebProcessMessageReceiver.cpp(265) : void WebKit::WebProcess::didReceiveSyncWebProcessMessage(IPC::Connection &, IPC::MessageDecoder &, std::unique_ptr<IPC::MessageEncoder> &)

I'll reproduce that function in full:

void WebProcess::didReceiveSyncWebProcessMessage(IPC::Connection& connection, IPC::MessageDecoder& decoder, std::unique_ptr<IPC::MessageEncoder>& replyEncoder)
{
    if (decoder.messageName() == Messages::WebProcess::ProcessWillSuspendImminently::name()) {
        IPC::handleMessage<Messages::WebProcess::ProcessWillSuspendImminently>(decoder, *replyEncoder, this, &WebProcess::processWillSuspendImminently);
        return;
    }
    UNUSED_PARAM(connection);
    UNUSED_PARAM(decoder);
    UNUSED_PARAM(replyEncoder);
    ASSERT_NOT_REACHED();
}

My guess is that Messages::WebProcess::ProcessWillSuspendImminently is being sent by WebProcessProxy before the WebProcess object has been constructed and registered its message handlers in the web process.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160228/448e5e83/attachment-0001.html>


More information about the webkit-unassigned mailing list