<?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>175681</bug_id>
          
          <creation_ts>2017-08-17 12:49:54 -0700</creation_ts>
          <short_desc>[GTK] webkitgtk 2.17.90 crash on armhf</short_desc>
          <delta_ts>2017-08-17 13:48:52 -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>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>175667</dup_id>
          <see_also>http://bugs.debian.org/872393</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk</keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeremy Bicha">jbicha</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1339690</commentid>
    <comment_count>0</comment_count>
    <who name="Jeremy Bicha">jbicha</who>
    <bug_when>2017-08-17 12:49:54 -0700</bug_when>
    <thetext>webkit2gtk 2.17.90
Ubuntu 17.10 Alpha

Ubuntu&apos;s autopkgtest infrastructure detected a regression in a testsuite run by the Debian sphinx package. The maintainer of that testsuite suspects that this is a webkitgtk bug so I&apos;m filing this issue here.

The test suite can be found at https://anonscm.debian.org/cgit/python-modules/packages/sphinx.git/tree/debian/jstest</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1339691</commentid>
    <comment_count>1</comment_count>
    <who name="Jeremy Bicha">jbicha</who>
    <bug_when>2017-08-17 12:50:20 -0700</bug_when>
    <thetext>#0  g_utf8_validate (str=str@entry=0xe &lt;error: Cannot access memory at address 0xe&gt;, max_len=max_len@entry=-1, end=end@entry=0x0)
    at ../../../../glib/gutf8.c:1670
#1  0xf6c3a44c in g_variant_new_string (string=0xe &lt;error: Cannot access memory at address 0xe&gt;) at ../../../../glib/gvariant.c:1257
#2  0xf6c3d134 in g_variant_valist_new_nnp (str=0xfffee574, ptr=0xe) at ../../../../glib/gvariant.c:4770
#3  0xf6c3dffe in g_variant_valist_new_leaf (app=0xfffee588, str=0xfffee574) at ../../../../glib/gvariant.c:4962
#4  g_variant_valist_new (str=str@entry=0xfffee574, app=app@entry=0xfffee588) at ../../../../glib/gvariant.c:5144
#5  0xf6c3df4e in g_variant_valist_new (str=str@entry=0xfffee574, app=app@entry=0xfffee588) at ../../../../glib/gvariant.c:5196
#6  0xf6c3e15a in g_variant_new_va (format_string=&lt;optimized out&gt;, endptr=0x0, app=0xfffee588) at ../../../../glib/gvariant.c:5372
#7  0xf6c3e1e6 in g_variant_new (format_string=0xf33335cc &quot;(tsssb)&quot;) at ../../../../glib/gvariant.c:5307
#8  0xf3278e70 in Inspector::RemoteInspector::listingForInspectionTarget ()
    at ./Source/JavaScriptCore/inspector/remote/glib/RemoteInspectorGlib.cpp:192
#9  0xf327713c in Inspector::RemoteInspector::listingForTarget () at ./Source/JavaScriptCore/inspector/remote/RemoteInspector.cpp:203
#10 0xf3279af8 in Inspector::RemoteInspector::updateAutomaticInspectionCandidate ()
    at ./Source/JavaScriptCore/inspector/remote/glib/RemoteInspectorGlib.cpp:251
#11 0xf2a4ecc0 in JSGlobalContextCreateInGroup () at ./Source/JavaScriptCore/API/JSContextRef.cpp:144
#12 0xf38d0288 in webkit_web_view_get_javascript_global_context () at ./Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:3154
#13 0xf38d0350 in webkitWebViewRunJavaScriptCallback () at ./Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:3183
#14 0xf38d06e8 in operator() () at ./Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:3210
#15 call () at ./Source/WTF/wtf/Function.h:102
#16 0xf36eb534 in WTF::Function&lt;void (API::SerializedScriptValue*, bool, WebCore::ExceptionDetails const&amp;, WebKit::CallbackBase::Error)&gt;::operator()(API::SerializedScriptValue*, bool, WebCore::ExceptionDetails const&amp;, WebKit::CallbackBase::Error) const () at ./Source/WTF/wtf/Function.h:56
#17 WebKit::GenericCallback&lt;API::SerializedScriptValue*, bool, WebCore::ExceptionDetails const&amp;&gt;::performCallbackWithReturnValue ()
    at ./Source/WebKit/UIProcess/GenericCallback.h:108
#18 WebKit::WebPageProxy::scriptValueCallback () at ./Source/WebKit/UIProcess/WebPageProxy.cpp:5123
#19 0xf3a058b0 in IPC::callMemberFunctionImpl&lt;WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(IPC::DataReference const&amp;, bool, WebCore::ExceptionDetails const&amp;, WebKit::CallbackID), std::tuple&lt;IPC::DataReference, bool, WebCore::ExceptionDetails, WebKit::CallbackID&gt;, 0u, 1u, 2u, 3u&gt;(WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(IPC::DataReference const&amp;, bool, WebCore::ExceptionDetails const&amp;, WebKit::CallbackID), std::tuple&lt;IPC::DataReference, bool, WebCore::ExceptionDetails, WebKit::CallbackID&gt;&amp;&amp;, std::integer_sequence&lt;unsigned int, 0u, 1u, 2u, 3u&gt;) ()
    at ./Source/WebKit/Platform/IPC/HandleMessage.h:40
#20 IPC::callMemberFunction&lt;WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(IPC::DataReference const&amp;, bool, WebCore::ExceptionDetails const&amp;, WebKit::CallbackID), std::tuple&lt;IPC::DataReference, bool, WebCore::ExceptionDetails, WebKit::CallbackID&gt;, std::integer_sequence&lt;unsigned int, 0u, 1u, 2u, 3u&gt; &gt;(std::tuple&lt;IPC::DataReference, bool, WebCore::ExceptionDetails, WebKit::CallbackID&gt;&amp;&amp;, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(IPC::DataReference const&amp;, bool, WebCore::ExceptionDetails const&amp;, WebKit::CallbackID)) () at ./Source/WebKit/Platform/IPC/HandleMessage.h:46
#21 IPC::handleMessage&lt;Messages::WebPageProxy::ScriptValueCallback, WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(IPC::DataReference const&amp;, bool, WebCore::ExceptionDetails const&amp;, WebKit::CallbackID)&gt; () at ./Source/WebKit/Platform/IPC/HandleMessage.h:126
#22 0xf39fece8 in WebKit::WebPageProxy::didReceiveMessage () at ./obj-arm-linux-gnueabihf/DerivedSources/WebKit2/WebPageProxyMessageReceiver.cpp:666
#23 0xf363afd4 in IPC::MessageReceiverMap::dispatchMessage () at ./Source/WebKit/Platform/IPC/MessageReceiverMap.cpp:123
#24 0xf370f6a8 in WebKit::WebProcessProxy::didReceiveMessage () at ./Source/WebKit/UIProcess/WebProcessProxy.cpp:590
#25 0xf3636ba0 in IPC::Connection::dispatchMessage () at ./Source/WebKit/Platform/IPC/Connection.cpp:928
#26 0xf3637498 in IPC::Connection::dispatchOneMessage () at ./Source/WebKit/Platform/IPC/Connection.cpp:959
#27 0xf3293080 in WTF::Function&lt;void ()&gt;::operator()() const () at ./Source/WTF/wtf/Function.h:56
#28 WTF::RunLoop::performWork () at ./Source/WTF/wtf/RunLoop.cpp:106
#29 0xf32baf10 in operator() () at ./Source/WTF/wtf/glib/RunLoopGLib.cpp:68
#30 _FUN () at ./Source/WTF/wtf/glib/RunLoopGLib.cpp:70
#31 0xf6c149da in g_main_dispatch (context=0xab0f49f8) at ../../../../glib/gmain.c:3148
#32 g_main_context_dispatch (context=context@entry=0xab0f49f8) at ../../../../glib/gmain.c:3813
#33 0xf6c14c6a in g_main_context_iterate (context=0xab0f49f8, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;)
    at ../../../../glib/gmain.c:3886
#34 0xf6c14f04 in g_main_loop_run (loop=0xab102798) at ../../../../glib/gmain.c:4082
#35 0xf58e71f8 in gtk_main () at ././gtk/gtkmain.c:1322
#36 0xf6bc9c60 in ffi_call_VFP () from /usr/lib/arm-linux-gnueabihf/libffi.so.6
#37 0xf6bca312 in ffi_call () from /usr/lib/arm-linux-gnueabihf/libffi.so.6
#38 0xf6d675ce in ?? () from /usr/lib/python3/dist-packages/gi/_gi.cpython-35dm-arm-linux-gnueabihf.so</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1339692</commentid>
    <comment_count>2</comment_count>
    <who name="Jeremy Bicha">jbicha</who>
    <bug_when>2017-08-17 12:50:48 -0700</bug_when>
    <thetext>#0  g_log (log_domain=0xf6c483b0 &quot;GLib&quot;, log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=0xf32ec774 &quot;null&quot;)
    at ../../../../glib/gmessages.c:1394
#1  0xf6c198fe in g_return_if_fail_warning (log_domain=&lt;optimized out&gt;, pretty_function=&lt;optimized out&gt;, expression=&lt;optimized out&gt;)
    at ../../../../glib/gmessages.c:2690
#2  0xf6c3a48a in g_variant_new_string (string=&lt;optimized out&gt;) at ../../../../glib/gvariant.c:1256
#3  0xf6c3d134 in g_variant_valist_new_nnp (str=0xfffee574, ptr=0x0) at ../../../../glib/gvariant.c:4770
#4  0xf6c3dffe in g_variant_valist_new_leaf (app=0xfffee588, str=0xfffee574) at ../../../../glib/gvariant.c:4962
#5  g_variant_valist_new (str=str@entry=0xfffee574, app=app@entry=0xfffee588) at ../../../../glib/gvariant.c:5144
#6  0xf6c3df4e in g_variant_valist_new (str=str@entry=0xfffee574, app=app@entry=0xfffee588) at ../../../../glib/gvariant.c:5196
#7  0xf6c3e15a in g_variant_new_va (format_string=&lt;optimized out&gt;, endptr=0x0, app=0xfffee588) at ../../../../glib/gvariant.c:5372
#8  0xf6c3e1e6 in g_variant_new (format_string=0xf33335cc &quot;(tsssb)&quot;) at ../../../../glib/gvariant.c:5307
#9  0xf3278e70 in Inspector::RemoteInspector::listingForInspectionTarget ()
    at ./Source/JavaScriptCore/inspector/remote/glib/RemoteInspectorGlib.cpp:192
#10 0xf327713c in Inspector::RemoteInspector::listingForTarget () at ./Source/JavaScriptCore/inspector/remote/RemoteInspector.cpp:203
#11 0xf3279af8 in Inspector::RemoteInspector::updateAutomaticInspectionCandidate ()
    at ./Source/JavaScriptCore/inspector/remote/glib/RemoteInspectorGlib.cpp:251
#12 0xf2a4ecc0 in JSGlobalContextCreateInGroup () at ./Source/JavaScriptCore/API/JSContextRef.cpp:144
#13 0xf38d0288 in webkit_web_view_get_javascript_global_context () at ./Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:3154
#14 0xf38d0350 in webkitWebViewRunJavaScriptCallback () at ./Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:3183
#15 0xf38d06e8 in operator() () at ./Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:3210
#16 call () at ./Source/WTF/wtf/Function.h:102
#17 0xf36eb534 in WTF::Function&lt;void (API::SerializedScriptValue*, bool, WebCore::ExceptionDetails const&amp;, WebKit::CallbackBase::Error)&gt;::operator()(API::SerializedScriptValue*, bool, WebCore::ExceptionDetails const&amp;, WebKit::CallbackBase::Error) const () at ./Source/WTF/wtf/Function.h:56
#18 WebKit::GenericCallback&lt;API::SerializedScriptValue*, bool, WebCore::ExceptionDetails const&amp;&gt;::performCallbackWithReturnValue ()
    at ./Source/WebKit/UIProcess/GenericCallback.h:108
#19 WebKit::WebPageProxy::scriptValueCallback () at ./Source/WebKit/UIProcess/WebPageProxy.cpp:5123
#20 0xf3a058b0 in IPC::callMemberFunctionImpl&lt;WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(IPC::DataReference const&amp;, bool, WebCore::ExceptionDetails const&amp;, WebKit::CallbackID), std::tuple&lt;IPC::DataReference, bool, WebCore::ExceptionDetails, WebKit::CallbackID&gt;, 0u, 1u, 2u, 3u&gt;(WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(IPC::DataReference const&amp;, bool, WebCore::ExceptionDetails const&amp;, WebKit::CallbackID), std::tuple&lt;IPC::DataReference, bool, WebCore::ExceptionDetails, WebKit::CallbackID&gt;&amp;&amp;, std::integer_sequence&lt;unsigned int, 0u, 1u, 2u, 3u&gt;) ()
    at ./Source/WebKit/Platform/IPC/HandleMessage.h:40
#21 IPC::callMemberFunction&lt;WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(IPC::DataReference const&amp;, bool, WebCore::ExceptionDetails const&amp;, WebKit::CallbackID), std::tuple&lt;IPC::DataReference, bool, WebCore::ExceptionDetails, WebKit::CallbackID&gt;, std::integer_sequence&lt;unsigned int, 0u, 1u, 2u, 3u&gt; &gt;(std::tuple&lt;IPC::DataReference, bool, WebCore::ExceptionDetails, WebKit::CallbackID&gt;&amp;&amp;, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(IPC::DataReference const&amp;, bool, WebCore::ExceptionDetails const&amp;, WebKit::CallbackID)) () at ./Source/WebKit/Platform/IPC/HandleMessage.h:46
#22 IPC::handleMessage&lt;Messages::WebPageProxy::ScriptValueCallback, WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(IPC::DataReference const&amp;, bool, WebCore::ExceptionDetails const&amp;, WebKit::CallbackID)&gt; () at ./Source/WebKit/Platform/IPC/HandleMessage.h:126
#23 0xf39fece8 in WebKit::WebPageProxy::didReceiveMessage () at ./obj-arm-linux-gnueabihf/DerivedSources/WebKit2/WebPageProxyMessageReceiver.cpp:666
#24 0xf363afd4 in IPC::MessageReceiverMap::dispatchMessage () at ./Source/WebKit/Platform/IPC/MessageReceiverMap.cpp:123
#25 0xf370f6a8 in WebKit::WebProcessProxy::didReceiveMessage () at ./Source/WebKit/UIProcess/WebProcessProxy.cpp:590
#26 0xf3636ba0 in IPC::Connection::dispatchMessage () at ./Source/WebKit/Platform/IPC/Connection.cpp:928
#27 0xf3637498 in IPC::Connection::dispatchOneMessage () at ./Source/WebKit/Platform/IPC/Connection.cpp:959
#28 0xf3293080 in WTF::Function&lt;void ()&gt;::operator()() const () at ./Source/WTF/wtf/Function.h:56
#29 WTF::RunLoop::performWork () at ./Source/WTF/wtf/RunLoop.cpp:106
#30 0xf32baf10 in operator() () at ./Source/WTF/wtf/glib/RunLoopGLib.cpp:68
#31 _FUN () at ./Source/WTF/wtf/glib/RunLoopGLib.cpp:70
#32 0xf6c149da in g_main_dispatch (context=0xab0f57a8) at ../../../../glib/gmain.c:3148
#33 g_main_context_dispatch (context=context@entry=0xab0f57a8) at ../../../../glib/gmain.c:3813
#34 0xf6c14c6a in g_main_context_iterate (context=0xab0f57a8, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;)
    at ../../../../glib/gmain.c:3886
#35 0xf6c14f04 in g_main_loop_run (loop=0xab1abee8) at ../../../../glib/gmain.c:4082
#36 0xf58e71f8 in gtk_main () at ././gtk/gtkmain.c:1322
#37 0xf6bc9c60 in ffi_call_VFP () from /usr/lib/arm-linux-gnueabihf/libffi.so.6
#38 0xf6bca312 in ffi_call () from /usr/lib/arm-linux-gnueabihf/libffi.so.6
#39 0xf6d675ce in ?? () from /usr/lib/python3/dist-packages/gi/_gi.cpython-35dm-arm-linux-gnueabihf.so</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1339693</commentid>
    <comment_count>3</comment_count>
    <who name="Jeremy Bicha">jbicha</who>
    <bug_when>2017-08-17 12:52:02 -0700</bug_when>
    <thetext>Quoting the Debian maintainer:

&quot;I am attaching two stacktraces: one for when the actual crash happens,
and another one for the first call of g_log() in the main process, which
happens just before the crash. I could not figure out how to break on
warnings in WebKitWebProcess.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1339734</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-08-17 13:48:52 -0700</bug_when>
    <thetext>Thanks for reporting. Should be fixed by r220860 http://trac.webkit.org/changeset/220860/webkit.

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

    </bug>

</bugzilla>