Bug 146620 - Crash when closing the web inspector
Summary: Crash when closing the web inspector
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Timothy Hatcher
Keywords: InRadar
Depends on:
Reported: 2015-07-05 06:59 PDT by Michael Catanzaro
Modified: 2015-07-05 16:58 PDT (History)
10 users (show)

See Also:

Patch (1.41 KB, patch)
2015-07-05 10:55 PDT, Timothy Hatcher
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2015-07-05 06:59:22 PDT
We have some rare crash when closing the web inspector:

Core was generated by `/usr/libexec/webkit2gtk-4.0/WebKitWebProcess 42'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  IPC::Connection::invalidate (this=0x0) at /usr/src/debug/webkitgtk-2.8.3/Source/WebKit2/Platform/IPC/Connection.cpp:345
345	    if (!isValid()) {

There's a full backtrace in the downstream bug; here is thread 1:

Thread 1 (Thread 0x7fc3b14e7a00 (LWP 13116)):
#0  IPC::Connection::invalidate (this=0x0) at /usr/src/debug/webkitgtk-2.8.3/Source/WebKit2/Platform/IPC/Connection.cpp:345
No locals.
#1  0x00007fc3af7cd901 in WebKit::WebInspectorUI::closeWindow (this=0x7fc38bff84d0) at /usr/src/debug/webkitgtk-2.8.3/Source/WebKit2/WebProcess/WebPage/WebInspectorUI.cpp:121
No locals.
#2  0x00007fc3afd66716 in WebCore::InspectorFrontendHost::closeWindow (this=0x7fc38be96480) at /usr/src/debug/webkitgtk-2.8.3/Source/WebCore/inspector/InspectorFrontendHost.cpp:166
No locals.
#3  0x00007fc3b073116a in WebCore::jsInspectorFrontendHostPrototypeFunctionCloseWindow (exec=<optimized out>) at /usr/src/debug/webkitgtk-2.8.3/x86_64-redhat-linux-gnu/DerivedSources/WebCore/JSInspectorFrontendHost.cpp:185
No locals.
#4  0x00007fc349fff0a8 in ?? ()
No symbol table info available.
#5  0x00007fffc3588860 in ?? ()
No symbol table info available.
#6  0x00007fc3aedf97fe in llint_entry () from /lib64/libjavascriptcoregtk-4.0.so.18
No symbol table info available.
Backtrace stopped: frame did not save the PC
Comment 1 Radar WebKit Bug Importer 2015-07-05 06:59:35 PDT
Comment 2 Timothy Hatcher 2015-07-05 10:55:19 PDT
Created attachment 256181 [details]
Comment 3 WebKit Commit Bot 2015-07-05 13:37:12 PDT
Comment on attachment 256181 [details]

Clearing flags on attachment: 256181

Committed r186296: <http://trac.webkit.org/changeset/186296>
Comment 4 WebKit Commit Bot 2015-07-05 13:37:15 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Michael Catanzaro 2015-07-05 16:58:17 PDT