<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 - [GTK] Inspector crashes when using the console"
href="https://bugs.webkit.org/show_bug.cgi?id=155745">155745</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[GTK] Inspector crashes when using the console
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</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>Web Inspector
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>alex@igalia.com
</td>
</tr>
<tr>
<th>CC</th>
<td>bburg@apple.com, graouts@webkit.org, joepeck@webkit.org, mattbaker@apple.com, nvasilyev@apple.com, timothy@apple.com, webkit-bug-importer@group.apple.com
</td>
</tr></table>
<p>
<div>
<pre>Just open the inspector after applying patch in <a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] WebInspector broken after r197620"
href="show_bug.cgi?id=155497">bug 155497</a> and try to execute any command in the console, this is the backtrace I get:
Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106 movdqu (%rax), %xmm12
(gdb) bt
#0 strlen () at ../sysdeps/x86_64/strlen.S:106
#1 0x00007fe403bce3c9 in WTF::StringImpl::create(unsigned char const*) () from /home/alex/checkout/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
#2 0x00007fe403bdc12c in WTF::String::String(unsigned char const*) () from /home/alex/checkout/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
#3 0x00007fe4052074c7 in Inspector::Protocol::getEnumConstantValue(int) () from /home/alex/checkout/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
#4 0x00007fe403b90f46 in Inspector::RuntimeBackendDispatcher::parse(long, WTF::RefPtr<Inspector::InspectorObject>&&) () from /home/alex/checkout/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
#5 0x00007fe403b83c90 in Inspector::RuntimeBackendDispatcher::dispatch(long, WTF::String const&, WTF::Ref<Inspector::InspectorObject>&&) () from /home/alex/checkout/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
#6 0x00007fe40375da18 in Inspector::BackendDispatcher::dispatch(WTF::String const&) () from /home/alex/checkout/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
#7 0x00007fe40523ea02 in WebKit::WebInspector::didReceiveMessage(IPC::Connection&, IPC::MessageDecoder&) () from /home/alex/checkout/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
#8 0x00007fe404f6ae46 in IPC::Connection::dispatchMessage(std::unique_ptr<IPC::MessageDecoder, std::default_delete<IPC::MessageDecoder> >) () from /home/alex/checkout/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
#9 0x00007fe404f6b873 in IPC::Connection::dispatchOneMessage() () from /home/alex/checkout/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
#10 0x00007fe403bbb25f in WTF::RunLoop::performWork() () from /home/alex/checkout/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
#11 0x00007fe403bea289 in WTF::RunLoop::RunLoop()::{lambda(void*)#1}::_FUN(void*) () from /home/alex/checkout/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
#12 0x00007fe3fe4d181a in g_main_dispatch (context=0x1bfcf20) at /home/alex/checkout/WebKit/WebKitBuild/DependenciesGTK/Source/glib-2.44.1/glib/gmain.c:3122
#13 g_main_context_dispatch (context=context@entry=0x1bfcf20) at /home/alex/checkout/WebKit/WebKitBuild/DependenciesGTK/Source/glib-2.44.1/glib/gmain.c:3737
#14 0x00007fe3fe4d1b98 in g_main_context_iterate (context=0x1bfcf20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /home/alex/checkout/WebKit/WebKitBuild/DependenciesGTK/Source/glib-2.44.1/glib/gmain.c:3808
#15 0x00007fe3fe4d1eb2 in g_main_loop_run (loop=0x22d0ce0) at /home/alex/checkout/WebKit/WebKitBuild/DependenciesGTK/Source/glib-2.44.1/glib/gmain.c:4002
#16 0x00007fe403beaab0 in WTF::RunLoop::run() () from /home/alex/checkout/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
#17 0x00007fe405200e72 in int WebKit::ChildProcessMain<WebKit::WebProcess, WebKit::WebProcessMain>(int, char**) () from /home/alex/checkout/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
#18 0x00007fe3f9703580 in __libc_start_main (main=0x400b40 <main>, argc=2, argv=0x7ffd373b4f48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd373b4f38) at libc-start.c:289</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>