<?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>167307</bug_id>
          
          <creation_ts>2017-01-23 08:24:35 -0800</creation_ts>
          <short_desc>[GTK] UI process crash in webkit_back_forward_list_get_current_item</short_desc>
          <delta_ts>2017-01-23 08:24:41 -0800</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>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugzilla.redhat.com/show_bug.cgi?id=1415737</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</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>1269054</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-01-23 08:24:35 -0800</bug_when>
    <thetext>I have 51 reports of this UI process crash in webkit_back_forward_list_get_current_item. Looks like this occurs when performing a delayed page load (loading a saved tab for the first time after opening Epiphany):

Thread 1 (Thread 0x7f7119147fc0 (LWP 2493)):
#0  0x00007f71154d8a3c in WTFCrash() () at /usr/src/debug/webkitgtk-2.14.2/Source/WTF/wtf/Assertions.cpp:323
#1  0x00007f7115c8c199 in WTF::CrashOnOverflow::crash() () at /usr/src/debug/webkitgtk-2.14.2/Source/WTF/wtf/CheckedArithmetic.h:85
#2  0x00007f7115c8c199 in WTF::CrashOnOverflow::overflowed() () at /usr/src/debug/webkitgtk-2.14.2/Source/WTF/wtf/CheckedArithmetic.h:78
#3  0x00007f7115c8c199 in WTF::Vector&lt;WTF::RefPtr&lt;WebKit::WebBackForwardListItem&gt;, 0ul, WTF::CrashOnOverflow, 16ul&gt;::at(unsigned long) const (i=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/src/debug/webkitgtk-2.14.2/Source/WTF/wtf/Vector.h:661
#4  0x00007f7115c8c199 in WTF::Vector&lt;WTF::RefPtr&lt;WebKit::WebBackForwardListItem&gt;, 0ul, WTF::CrashOnOverflow, 16ul&gt;::operator[](unsigned long) const (i=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/src/debug/webkitgtk-2.14.2/Source/WTF/wtf/Vector.h:676
#5  0x00007f7115c8c199 in WebKit::WebBackForwardList::currentItem() const (this=&lt;optimized out&gt;) at /usr/src/debug/webkitgtk-2.14.2/Source/WebKit2/UIProcess/WebBackForwardList.cpp:212
#6  0x00007f7115e66fd4 in webkit_back_forward_list_get_current_item(WebKitBackForwardList*) (backForwardList=0x560cbd098720 [WebKitBackForwardList]) at /usr/src/debug/webkitgtk-2.14.2/Source/WebKit2/UIProcess/API/gtk/WebKitBackForwardList.cpp:166
#7  0x0000560cbbc45fa2 in load_delayed_request_if_mapped (user_data=user_data@entry=0x560cbc98f2d0) at ephy-embed.c:648
        embed = 0x560cbc98f2d0 [EphyEmbed]
        web_view = 0x560cbd0063d0 [EphyWebView]
        item = &lt;optimized out&gt;
#8  0x00007f71111f688d in g_timeout_dispatch (source=0x560cbcf6c120, callback=0x560cbbc45f00 &lt;load_delayed_request_if_mapped&gt;, user_data=0x560cbc98f2d0) at gmain.c:4674
        timeout_source = 0x560cbcf6c120
        again = &lt;optimized out&gt;

I considered that this might be an Epiphany bug, but I don&apos;t think it is. We are careful to ensure that callback is not called after the EphyEmbed is disposed. I think the WebBackForwardList has been somehow corrupted, possibly due to a problem with session state.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>