<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>174026</bug_id>
          
          <creation_ts>2017-06-30 08:43:47 -0700</creation_ts>
          <short_desc>[GTK] Crash in Inspector::RemoteInspector::listingForInspectionTarget</short_desc>
          <delta_ts>2017-08-18 01:09:58 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>Other</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>175667</dup_id>
          <see_also>https://bugzilla.gnome.org/show_bug.cgi?id=784234</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dan Jacobson">jidanni</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1324424</commentid>
    <comment_count>0</comment_count>
    <who name="Dan Jacobson">jidanni</who>
    <bug_when>2017-06-30 08:43:47 -0700</bug_when>
    <thetext>In https://bugzilla.gnome.org/show_bug.cgi?id=784234#c8 they say to report it here.
All the details are there. No need in my wasting your disk space copying it here.
32 bit system.
Debian  libwebkit2gtk-4.0-37         2.17.4-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1324428</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-06-30 08:51:37 -0700</bug_when>
    <thetext>It needs to be copied here. It&apos;s a remote inspector crash:

#0  g_utf8_validate (str=0x1 &lt;error: Cannot access memory at address 0x1&gt;, max_len=-1, end=0x0)
    at ../../../../glib/gutf8.c:1660
        p = &lt;optimized out&gt;
#1  0xb2760585 in g_variant_new_string (string=0x1 &lt;error: Cannot access memory at address 0x1&gt;)
    at ../../../../glib/gvariant.c:1257
        _g_boolean_var_ = &lt;optimized out&gt;
#2  0xb2764939 in g_variant_valist_new_nnp (str=str@entry=0xbfbede70, ptr=&lt;optimized out&gt;)
    at ../../../../glib/gvariant.c:4770
        value = &lt;optimized out&gt;
        __func__ = &quot;g_variant_valist_new_nnp&quot;
#3  0xb2765db0 in g_variant_valist_new_leaf (app=0xbfbede88, str=0xbfbede70) at ../../../../glib/gvariant.c:4962
No locals.
#4  g_variant_valist_new (str=str@entry=0xbfbede70, app=app@entry=0xbfbede88) at ../../../../glib/gvariant.c:5144
        __func__ = &quot;g_variant_valist_new&quot;
#5  0xb2765c9d in g_variant_valist_new (str=str@entry=0xbfbede70, app=app@entry=0xbfbede88)
    at ../../../../glib/gvariant.c:5196
        b = {u = {s = {partial_magic = 0, type = 0x847b2ca0, y = {0, 0, 0, 4294967295, 2223743880, 8, 3, 2, 1033660112, 
                0, 0, 0, 0, 0}}, x = {0, 2222664864, 0, 0, 0, 4294967295, 2223743880, 8, 3, 2, 1033660112, 0, 0, 0, 0, 
              0}}}
        __func__ = &quot;g_variant_valist_new&quot;
#6  0xb2765f57 in g_variant_new_va (format_string=&lt;optimized out&gt;, endptr=0x0, app=0xbfbede88)
    at ../../../../glib/gvariant.c:5372
        value = &lt;optimized out&gt;
#7  0xb2765fe2 in g_variant_new (format_string=0xb3d60470 &quot;(tsssb)&quot;) at ../../../../glib/gvariant.c:5307
        value = &lt;optimized out&gt;
        ap = 0xbfbedeb8 &quot;\b\340\354\256U\027Գ(\360\026\204\310\344\342\256\001&quot;
        __func__ = &quot;g_variant_new&quot;
#8  0xb3cfbf6f in Inspector::RemoteInspector::listingForInspectionTarget(Inspector::RemoteInspectionTarget const&amp;) const
    () from /usr/lib/i386-linux-gnu/libjavascriptcoregtk-4.0.so.18
No symbol table info available.
#9  0xb3cf9ca8 in Inspector::RemoteInspector::listingForTarget(Inspector::RemoteControllableTarget const&amp;) const ()
   from /usr/lib/i386-linux-gnu/libjavascriptcoregtk-4.0.so.18
No symbol table info available.
#10 0xb3cfa032 in Inspector::RemoteInspector::updateTarget(Inspector::RemoteControllableTarget*) ()
   from /usr/lib/i386-linux-gnu/libjavascriptcoregtk-4.0.so.18
No symbol table info available.
#11 0xb3cf96c1 in Inspector::RemoteControllableTarget::update() ()
   from /usr/lib/i386-linux-gnu/libjavascriptcoregtk-4.0.so.18
No symbol table info available.
#12 0xb5a8386e in WebCore::Page::remoteInspectorInformationDidChange () at ./Source/WebCore/page/Page.cpp:1824
No locals.
#13 0xb58959f2 in WebCore::InspectorController::connectFrontend ()
    at ./Source/WebCore/inspector/InspectorController.cpp:274
No locals.
#14 0xb5895db4 in WebCore::InspectorController::show () at ./Source/WebCore/inspector/InspectorController.cpp:351
No locals.
#15 0xb5895e39 in WebCore::InspectorController::inspect () at ./Source/WebCore/inspector/InspectorController.cpp:396
No locals.
#16 0xb5a20d0f in WebCore::ContextMenuController::contextMenuItemSelected ()
    at ./Source/WebCore/page/ContextMenuController.cpp:515
No locals.
#17 0xb502287c in WebKit::WebContextMenu::itemSelected () at ./Source/WebKit2/WebProcess/WebPage/WebContextMenu.cpp:78
No locals.
#18 0xb50339e9 in WebKit::WebPage::didSelectItemFromActiveContextMenu ()
    at ./Source/WebKit2/WebProcess/WebPage/WebPage.cpp:3973
No locals.
#19 0xb521ca56 in IPC::callMemberFunctionImpl&lt;WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebContextMenuItemData const&amp;), std::tuple&lt;WebKit::WebContextMenuItemData&gt;, 0u&gt; () at ./Source/WebKit2/Platform/IPC/HandleMessage.h:40
No locals.
#20 IPC::callMemberFunction&lt;WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebContextMenuItemData const&amp;), std::tuple&lt;WebKit::WebContextMenuItemData&gt;, std::integer_sequence&lt;unsigned int, 0u&gt; &gt; ()
    at ./Source/WebKit2/Platform/IPC/HandleMessage.h:46
No locals.
#21 IPC::handleMessage&lt;Messages::WebPage::DidSelectItemFromActiveContextMenu, WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebContextMenuItemData const&amp;)&gt; () at ./Source/WebKit2/Platform/IPC/HandleMessage.h:126
No locals.
#22 0xb521bcfb in WebKit::WebPage::didReceiveWebPageMessage ()
    at ./obj-i686-linux-gnu/DerivedSources/WebKit2/WebPageMessageReceiver.cpp:921
No locals.
#23 0xb5040272 in WebKit::WebPage::didReceiveMessage () at ./Source/WebKit2/WebProcess/WebPage/WebPage.cpp:4160
No locals.
#24 0xb4e0ab0f in IPC::MessageReceiverMap::dispatchMessage () at ./Source/WebKit2/Platform/IPC/MessageReceiverMap.cpp:123
No locals.
#25 0xb4f7de59 in WebKit::WebProcess::didReceiveMessage () at ./Source/WebKit2/WebProcess/WebProcess.cpp:656
No locals.
#26 0xb4e02dd5 in IPC::Connection::dispatchMessage () at ./Source/WebKit2/Platform/IPC/Connection.cpp:901
No locals.
#27 0xb4e06310 in IPC::Connection::dispatchMessage () at ./Source/WebKit2/Platform/IPC/Connection.cpp:928
No locals.
#28 0xb4e070bb in IPC::Connection::dispatchOneMessage () at ./Source/WebKit2/Platform/IPC/Connection.cpp:959
No locals.
#29 0xb4e0715b in operator() () at ./Source/WebKit2/Platform/IPC/Connection.cpp:895
No locals.
#30 call () at ./Source/WTF/wtf/Function.h:89
No locals.
#31 0xb3d14c8e in WTF::RunLoop::performWork() () from /usr/lib/i386-linux-gnu/libjavascriptcoregtk-4.0.so.18
No symbol table info available.
#32 0xb3d413b8 in ?? () from /usr/lib/i386-linux-gnu/libjavascriptcoregtk-4.0.so.18
No symbol table info available.
#33 0xb272911b in g_main_dispatch (context=0x82eaff98) at ../../../../glib/gmain.c:3148
        dispatch = 0xb3d413d0
        prev_source = 0x0
        was_in_call = 0
        user_data = 0xaeef8000
        callback = 0xb3d413a0
        cb_funcs = &lt;optimized out&gt;
        cb_data = 0x82ec9b78
        need_destroy = &lt;optimized out&gt;
        source = 0x82ec9b20
        current = 0x82eacfa8
        i = 0
#34 g_main_context_dispatch (context=0x82eaff98) at ../../../../glib/gmain.c:3813
No locals.
#35 0xb2729509 in g_main_context_iterate (context=0x82eaff98, block=block@entry=1, dispatch=dispatch@entry=1, 
    self=&lt;optimized out&gt;) at ../../../../glib/gmain.c:3886
        max_priority = 100
        timeout = 0
        some_ready = 1
        nfds = 3
        allocated_nfds = &lt;optimized out&gt;
        fds = &lt;optimized out&gt;
#36 0xb27298b9 in g_main_loop_run (loop=0x82ec9b10) at ../../../../glib/gmain.c:4082
        __func__ = &quot;g_main_loop_run&quot;
#37 0xb3d42011 in WTF::RunLoop::run() () from /usr/lib/i386-linux-gnu/libjavascriptcoregtk-4.0.so.18
No symbol table info available.
#38 0xb51c9c6a in WebKit::ChildProcessMain&lt;WebKit::WebProcess, WebKit::WebProcessMain&gt; ()
    at ./Source/WebKit2/Shared/unix/ChildProcessMain.h:61
No locals.
#39 0xb51c9a9c in WebProcessMainUnix () at ./Source/WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp:69
No locals.
#40 0x80979752 in main () at ./Source/WebKit2/WebProcess/EntryPoint/unix/WebProcessMain.cpp:44
No locals.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1340010</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2017-08-18 01:09:58 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 175667 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>