Bug 134541 - REGRESSION(r170676): [GTK] UI process crashes when the Web Process crashes
Summary: REGRESSION(r170676): [GTK] UI process crashes when the Web Process crashes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk, Regression
Depends on:
Blocks:
 
Reported: 2014-07-02 01:52 PDT by Carlos Garcia Campos
Modified: 2014-07-03 00:56 PDT (History)
5 users (show)

See Also:


Attachments
Patch (1.63 KB, patch)
2014-07-02 01:54 PDT, Carlos Garcia Campos
gyuyoung.kim: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2014-07-02 01:52:34 PDT
It happens when attaching a new web process, because it tries to encode a null SessionState.

#0  0x00007ffff4a40263 in WebKit::WebBackForwardListItem::encode(IPC::ArgumentEncoder&) const () from libwebkit2gtk-3.0.so.25
#1  0x00007ffff4a340d4 in WebKit::LegacySessionState::encode(IPC::ArgumentEncoder&) const () from libwebkit2gtk-3.0.so.25
#2  0x00007ffff4a54ae2 in WebKit::WebPageCreationParameters::encode(IPC::ArgumentEncoder&) const () from libwebkit2gtk-3.0.so.25
#3  0x00007ffff4ac5679 in bool WebKit::ChildProcessProxy::send<Messages::WebProcess::CreateWebPage>(Messages::WebProcess::CreateWebPage&&, unsigned long, unsigned int) ()
   from libwebkit2gtk-3.0.so.25
#4  0x00007ffff4aba790 in WebKit::WebPageProxy::initializeWebPage() () from libwebkit2gtk-3.0.so.25
#5  0x00007ffff4ababbb in WebKit::WebPageProxy::reattachToWebProcess() () from libwebkit2gtk-3.0.so.25
#6  0x00007ffff4abb608 in WebKit::WebPageProxy::loadAlternateHTMLString(WTF::String const&, WTF::String const&, WTF::String const&, API::Object*) ()
   from libwebkit2gtk-3.0.so.25
#7  0x00007ffff4bdd190 in webkit_web_view_load_alternate_html () from libwebkit2gtk-3.0.so.25

I guess EFL is affected as well.
Comment 1 Carlos Garcia Campos 2014-07-02 01:54:05 PDT
Created attachment 234247 [details]
Patch
Comment 2 Gyuyoung Kim 2014-07-02 23:52:52 PDT
Comment on attachment 234247 [details]
Patch

LGTM
Comment 3 Carlos Garcia Campos 2014-07-03 00:56:59 PDT
Committed r170748: <http://trac.webkit.org/changeset/170748>