<?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>164926</bug_id>
          
          <creation_ts>2016-11-18 09:10:50 -0800</creation_ts>
          <short_desc>[GTK] Memory corruption causes web process crash in WebCore::createStyleContext</short_desc>
          <delta_ts>2016-11-18 09:12:32 -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=1371065</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>1252690</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-11-18 09:10:50 -0800</bug_when>
    <thetext>Memory corruption causes web process crash in WebCore::createStyleContext. Only one report of this ever, with 2.12.4. Unfortunately I have no valgrind memcheck for this.

Truncated backtrace:
Thread no. 1 (10 frames)
 #6 g_malloc at gmem.c:94
 #7 g_data_set_internal at gdataset.c:464
 #8 g_datalist_id_set_data_full at gdataset.c:670
 #9 g_object_notify_queue_freeze at gobject.c:242
 #10 g_object_init at gobject.c:975
 #11 g_type_create_instance at gtype.c:1869
 #12 g_object_new_internal at gobject.c:1781
 #15 gtk_css_path_node_new at gtkcsspathnode.c:142
 #16 gtk_style_context_init at gtkstylecontext.c:355
 #17 g_type_create_instance at gtype.c:1875

Full backtrace downstream. Importantly:

#3  0x00007f904cc96c13 in malloc_printerr (ar_ptr=0x3, ptr=&lt;optimized out&gt;, str=0x7f904cda3250 &quot;malloc(): smallbin double linked list corrupted&quot;, action=3) at malloc.c:5004
        buf = &quot;000056427ea9ba30&quot;
        cp = &lt;optimized out&gt;
        ar_ptr = 0x3
        ptr = &lt;optimized out&gt;
        str = 0x7f904cda3250 &quot;malloc(): smallbin double linked list corrupted&quot;
        action = 3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1252692</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-11-18 09:12:32 -0800</bug_when>
    <thetext>Note: last time we had a crash like this, it was an Epiphany bug in an unrelated part of code, due to forgetting to remove a weak pointer. Epiphany is not a likely culprit here since this is web process.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>