Bug 48400

Summary: [Qt] WebKit2 UI process crashes if web process crashes
Product: WebKit Reporter: Kimmo Kinnunen <kimmo.t.kinnunen>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, zoltan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Avoid crashing the UI if write to socket fails none

Description Kimmo Kinnunen 2010-10-26 23:40:21 PDT
UI process crashes if web process crashes.

Reproduce:
1) Start MiniBrowser
2) Run killall QtWebProcess
3) Focus MiniBrowser
4) Crash

Failing assertion:
ASSERTION FAILED: bytesWritten == arguments->bufferSize()
(../../../WebKit2/Platform/CoreIPC/qt/ConnectionQt.cpp:126 bool CoreIPC::Connection::sendOutgoingMessage(CoreIPC::MessageID, WTF::PassOwnPtr<CoreIPC::ArgumentEncoder>))
Segmentation fault
Comment 1 Kimmo Kinnunen 2010-10-27 00:02:25 PDT
Created attachment 71989 [details]
Avoid crashing the UI if write to socket fails
Comment 2 Andreas Kling 2010-10-27 03:10:42 PDT
Comment on attachment 71989 [details]
Avoid crashing the UI if write to socket fails

LGTM.
Comment 3 WebKit Commit Bot 2010-10-27 05:07:46 PDT
Comment on attachment 71989 [details]
Avoid crashing the UI if write to socket fails

Clearing flags on attachment: 71989

Committed r70637: <http://trac.webkit.org/changeset/70637>
Comment 4 WebKit Commit Bot 2010-10-27 05:07:51 PDT
All reviewed patches have been landed.  Closing bug.