Bug 109692 - [WK2] Assertion failure if the Web Process crashes when inspector is opened
Summary: [WK2] Assertion failure if the Web Process crashes when inspector is opened
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-13 07:17 PST by Sudarsana Nagineni (babu)
Modified: 2013-04-02 13:24 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.24 KB, patch)
2013-02-20 09:33 PST, Sudarsana Nagineni (babu)
benjamin: review-
benjamin: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sudarsana Nagineni (babu) 2013-02-13 07:17:22 PST
UIProcess hit assertion when the Web Process crashes on EFL port.

#0  0x00007feff641abe3 in CoreIPC::MessageReceiverMap::removeMessageReceiver (this=0x269ef80, messageReceiverName=..., destinationID=2)
    at WebKit/Source/WebKit2/Platform/CoreIPC/MessageReceiverMap.cpp:65
65	    ASSERT(m_messageReceivers.contains(std::make_pair(messageReceiverName, destinationID)));
(gdb) bt
#0  0x00007feff641abe3 in CoreIPC::MessageReceiverMap::removeMessageReceiver (this=0x269ef80, messageReceiverName=..., destinationID=2)
    at WebKit/Source/WebKit2/Platform/CoreIPC/MessageReceiverMap.cpp:65
#1  0x00007feff6431178 in WebKit::ChildProcessProxy::removeMessageReceiver (this=0x269ef40, messageReceiverName=..., destinationID=2) at WebKit/Source/WebKit2/Shared/ChildProcessProxy.cpp:102
#2  0x00007feff64f26ad in WebKit::WebPageProxy::processDidCrash (this=0x2debf00) at WebKit/Source/WebKit2/UIProcess/WebPageProxy.cpp:3566
#3  0x00007feff652b7aa in WebKit::WebProcessProxy::didClose (this=0x269ef40) at WebKit/Source/WebKit2/UIProcess/WebProcessProxy.cpp:406
#4  0x00007feff6407aa7 in CoreIPC::Connection::dispatchConnectionDidClose (this=0x26ede30) at WebKit/Source/WebKit2/Platform/CoreIPC/Connection.cpp:708
#5  0x00007feff641a07e in WTF::FunctionWrapper<void (CoreIPC::Connection::*)()>::operator() (this=0x7fef88000980, c=0x26ede30) at WebKit/Source/WTF/wtf/Functional.h:218
#6  0x00007feff6419bd6 in WTF::BoundFunctionImpl<WTF::FunctionWrapper<void (CoreIPC::Connection::*)()>, void (CoreIPC::Connection*)>::operator()() (this=0x7fef88000970)
Comment 1 Sudarsana Nagineni (babu) 2013-02-20 07:47:58 PST
This is reproducible and it happens if the Web Process crashes when the Web Inspector is being opened.
Comment 2 Sudarsana Nagineni (babu) 2013-02-20 09:33:01 PST
Created attachment 189332 [details]
Patch
Comment 3 Alexis Menard (darktears) 2013-03-06 09:45:12 PST
Comment on attachment 189332 [details]
Patch

Is there a test case for that? Could you be more explicit on how this scenario happens?
Comment 4 Benjamin Poulain 2013-03-06 12:28:53 PST
Comment on attachment 189332 [details]
Patch

I agree with Alexis, this needs a bit more information.

Why can't this be tested?
Comment 5 Alexis Menard (darktears) 2013-04-02 13:24:54 PDT
Remove from WebKit2 patches pending review for now. Please re-add when the patch is ready.