<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - SHOULD NEVER BE REACHED at DerivedSources/WebKit2/WebProcessMessageReceiver.cpp(265) : void WebKit::WebProcess::didReceiveSyncWebProcessMessage"
href="https://bugs.webkit.org/show_bug.cgi?id=154784">154784</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>SHOULD NEVER BE REACHED at DerivedSources/WebKit2/WebProcessMessageReceiver.cpp(265) : void WebKit::WebProcess::didReceiveSyncWebProcessMessage
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Other
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>WebKit2
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mcatanzaro@igalia.com
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>