<?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>146783</bug_id>
          
          <creation_ts>2015-07-09 06:19:56 -0700</creation_ts>
          <short_desc>[SOUP] Crash in ~WebSoupRequestAsyncData</short_desc>
          <delta_ts>2017-03-11 11:03:58 -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>WebKit2</component>
          <version>528+ (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=1241391</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>cgarcia</cc>
    
    <cc>mario</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1108189</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-07-09 06:19:56 -0700</bug_when>
    <thetext>Core was generated by `/usr/libexec/webkit2gtk-4.0/WebKitWebProcess 42&apos;.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  ~WebSoupRequestAsyncData (this=0x1, __in_chrg=&lt;optimized out&gt;) at /usr/src/debug/webkitgtk-2.8.3/Source/WebKit2/Shared/Network/CustomProtocols/soup/CustomProtocolManagerImpl.cpp:54
54	        if (request)

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 ~WebSoupRequestAsyncData at /usr/src/debug/webkitgtk-2.8.3/Source/WebKit2/Shared/Network/CustomProtocols/soup/CustomProtocolManagerImpl.cpp:54
 #1 operator() at /usr/include/c++/5.1.1/bits/unique_ptr.h:76
 #2 ~unique_ptr at /usr/include/c++/5.1.1/bits/unique_ptr.h:236
 #3 ~KeyValuePair at /usr/src/debug/webkitgtk-2.8.3/Source/WTF/wtf/HashTraits.h:180
 #4 reinsert at /usr/src/debug/webkitgtk-2.8.3/Source/WTF/wtf/HashTable.h:926
 #5 WTF::HashTable&lt;unsigned long, WTF::KeyValuePair&lt;unsigned long, std::unique_ptr&lt;WebKit::WebSoupRequestAsyncData, std::default_delete&lt;WebKit::WebSoupRequestAsyncData&gt; &gt; &gt;, WTF::KeyValuePairKeyExtractor&lt;WTF::KeyValuePair&lt;unsigned long, std::unique_ptr&lt;WebKit::WebSoupRequestAsyncData, std::default_delete&lt;WebKit::WebSoupRequestAsyncData&gt; &gt; &gt; &gt;, WTF::IntHash&lt;unsigned long&gt;, WTF::HashMap&lt;unsigned long, std::unique_ptr&lt;WebKit::WebSoupRequestAsyncData, std::default_delete&lt;WebKit::WebSoupRequestAsyncData&gt; &gt;, WTF::IntHash&lt;unsigned long&gt;, WTF::HashTraits&lt;unsigned long&gt;, WTF::HashTraits&lt;std::unique_ptr&lt;WebKit::WebSoupRequestAsyncData, std::default_delete&lt;WebKit::WebSoupRequestAsyncData&gt; &gt; &gt; &gt;::KeyValuePairTraits, WTF::HashTraits&lt;unsigned long&gt; &gt;::rehash at /usr/src/debug/webkitgtk-2.8.3/Source/WTF/wtf/HashTable.h:1126
 #6 shrink at /usr/src/debug/webkitgtk-2.8.3/Source/WTF/wtf/HashTable.h:444
 #7 WTF::HashTable&lt;unsigned long, WTF::KeyValuePair&lt;unsigned long, std::unique_ptr&lt;WebKit::WebSoupRequestAsyncData, std::default_delete&lt;WebKit::WebSoupRequestAsyncData&gt; &gt; &gt;, WTF::KeyValuePairKeyExtractor&lt;WTF::KeyValuePair&lt;unsigned long, std::unique_ptr&lt;WebKit::WebSoupRequestAsyncData, std::default_delete&lt;WebKit::WebSoupRequestAsyncData&gt; &gt; &gt; &gt;, WTF::IntHash&lt;unsigned long&gt;, WTF::HashMap&lt;unsigned long, std::unique_ptr&lt;WebKit::WebSoupRequestAsyncData, std::default_delete&lt;WebKit::WebSoupRequestAsyncData&gt; &gt;, WTF::IntHash&lt;unsigned long&gt;, WTF::HashTraits&lt;unsigned long&gt;, WTF::HashTraits&lt;std::unique_ptr&lt;WebKit::WebSoupRequestAsyncData, std::default_delete&lt;WebKit::WebSoupRequestAsyncData&gt; &gt; &gt; &gt;::KeyValuePairTraits, WTF::HashTraits&lt;unsigned long&gt; &gt;::remove at /usr/src/debug/webkitgtk-2.8.3/Source/WTF/wtf/HashTable.h:1000
 #8 removeAndInvalidateWithoutEntryConsistencyCheck at /usr/src/debug/webkitgtk-2.8.3/Source/WTF/wtf/HashTable.h:974
 #9 removeWithoutEntryConsistencyCheck at /usr/src/debug/webkitgtk-2.8.3/Source/WTF/wtf/HashTable.h:1020

See the downstream bug for the full backtrace.

I spent a bit of time looking at this, but I don&apos;t understand the crash. The code looks safe to me.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>