<?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>202001</bug_id>
          
          <creation_ts>2019-09-19 13:32:00 -0700</creation_ts>
          <short_desc>[GTK][Debug] MiniBrowser assertion failure on start in WebKit::IconDatabase::readFromDatabase</short_desc>
          <delta_ts>2019-09-20 01:09:27 -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>Unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>201303</dup_id>
          
          <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="Yury Semikhatsky">yurys</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cdumez</cc>
    
    <cc>cgarcia</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1572453</commentid>
    <comment_count>0</comment_count>
    <who name="Yury Semikhatsky">yurys</who>
    <bug_when>2019-09-19 13:32:00 -0700</bug_when>
    <thetext>./Tools/Scripts/run-minibrowser --debug -g 1600x1200+500 --gtk https://webkit.org will crash with the following stack trace.


Thread 1 (Thread 0x7fc895dfc700 (LWP 23123)):
#0  WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:305
No locals.
#1  0x00007fc8b982815b in WTFCrashWithInfo () at DerivedSources/ForwardingHeaders/wtf/Assertions.h:616
No locals.
#2  0x00007fc8bcf784c2 in WebCore::ImageSource::ImageSource (this=0x7fc89c44d000, image=0x7fc89c4bc2d0, alphaOption=WebCore::AlphaOption::Premultiplied, gammaAndColorProfileOption=WebCore::GammaAndColorProfileOption::Applied) at ../../Source/WebCore/platform/graphics/ImageSource.cpp:51
No locals.
#3  0x00007fc8bced6d94 in WebCore::ImageSource::create (image=0x7fc89c4bc2d0, alphaOption=WebCore::AlphaOption::Premultiplied, gammaAndColorProfileOption=WebCore::GammaAndColorProfileOption::Applied) at ../../Source/WebCore/platform/graphics/ImageSource.h:50
No locals.
#4  0x00007fc8bcec9a3d in WebCore::BitmapImage::BitmapImage (this=0x7fc89c4bc2d0, observer=0x0) at ../../Source/WebCore/platform/graphics/BitmapImage.cpp:46
No locals.
#5  0x00007fc8ba37a316 in WebCore::BitmapImage::create (observer=0x0) at DerivedSources/ForwardingHeaders/WebCore/BitmapImage.h:62
No locals.
#6  0x00007fc8ba36d588 in WebKit::IconDatabase::IconRecord::setImageData (this=0x7fc89c49d7e8, data=...) at ../../Source/WebKit/UIProcess/API/glib/IconDatabase.cpp:127
        image = {static isRef = &lt;optimized out&gt;, m_ptr = 0x7fc8b9dacdcd &lt;std::move&lt;(WTF::CheckMoveParameterTag)0, WTF::RefPtr&lt;WebCore::SharedBuffer, WTF::DumbPtrTraits&lt;WebCore::SharedBuffer&gt; &gt;&amp;&gt;(WTF::RefPtr&lt;WebCore::SharedBuffer, WTF::DumbPtrTraits&lt;WebCore::SharedBuffer&gt; &gt;&amp;)+29&gt;}
#7  0x00007fc8ba37482f in WebKit::IconDatabase::readFromDatabase (this=0x7fc89c2fc000) at ../../Source/WebKit/UIProcess/API/glib/IconDatabase.cpp:1385
        outerHash = 0x0
        innerHash = 0x0
        readLocker = {&lt;WTF::AbstractLocker&gt; = {&lt;No data fields&gt;}, m_lockable = 0x7fc89c2fc138}
        urlLocker = {&lt;WTF::AbstractLocker&gt; = {&lt;No data fields&gt;}, m_lockable = 0x7fc89c2fc064}
        imageData = {static isRefPtr = &lt;optimized out&gt;, m_ptr = 0x0}
        i = 0
        timeStamp = {static clockType = WTF::ClockType::Monotonic, m_value = 259333.15089399999}
        didAnyWork = true
        icons = {&lt;WTF::VectorBuffer&lt;WebKit::IconDatabase::IconRecord*, 0&gt;&gt; = {&lt;WTF::VectorBufferBase&lt;WebKit::IconDatabase::IconRecord*&gt;&gt; = {m_buffer = 0x7fc89c4c5780, m_capacity = 16, m_size = 1}, &lt;No data fields&gt;}, &lt;No data fields&gt;}
        urlsToNotify = {m_impl = {static m_maxLoad = &lt;optimized out&gt;, static m_minLoad = &lt;optimized out&gt;, m_table = 0x0, m_tableSize = 0, m_tableSizeMask = 0, m_keyCount = 0, m_deletedCount = 0, m_iterators = 0x0, m_mutex = std::unique_ptr&lt;WTF::Lock&gt; = {get() = 0x7fc89c4bf1e0}}}
        delta = {m_value = 6.9415968625691809e-310}
#8  0x00007fc8ba37220b in WebKit::IconDatabase::syncThreadMainLoop (this=0x7fc89c2fc000) at ../../Source/WebKit/UIProcess/API/glib/IconDatabase.cpp:1260
        didWrite = false
        timeStamp = {static clockType = WTF::ClockType::Monotonic, m_value = 259333.15062599999}
        didAnyWork = true
        newstamp = {static clockType = WTF::ClockType::Monotonic, m_value = 259331.84262400001}
        delta = {m_value = 0.00027400001999922097}
        prunedUnretainedIcons = false
#9  0x00007fc8ba37204b in WebKit::IconDatabase::iconDatabaseSyncThread (this=0x7fc89c2fc000) at ../../Source/WebKit/UIProcess/API/glib/IconDatabase.cpp:931
        startTime = {static clockType = WTF::ClockType::Monotonic, m_value = 259331.82703799999}
        journalFilename = {static MaxLength = 2147483647, m_impl = {static isRefPtr = &lt;optimized out&gt;, m_ptr = 0x7fc89c4d1000}}
        timeStamp = {static clockType = WTF::ClockType::Monotonic, m_value = 259331.82946899999}
        delta = {m_value = 0.012878000008640811}
        newStamp = {static clockType = WTF::ClockType::Monotonic, m_value = 259331.842347}
        totalDelta = {m_value = 0.015309000009438023}
#10 0x00007fc8ba377ba8 in WebKit::IconDatabase::open(WTF::String const&amp;, WTF::String const&amp;)::$_0::operator()() const (this=0x7fc89c4f7558) at ../../Source/WebKit/UIProcess/API/glib/IconDatabase.cpp:223
No locals.
#11 0x00007fc8ba377b89 in _ZN3WTF6Detail15CallableWrapperIZN6WebKit12IconDatabase4openERKNS_6StringES6_E3$_0vJEE4callEv (this=0x7fc89c4f7550) at DerivedSources/ForwardingHeaders/wtf/Function.h:52
No locals.
#12 0x00007fc8b991576a in WTF::Function&lt;void ()&gt;::operator()() const (this=0x7fc895dfbc40) at DerivedSources/ForwardingHeaders/wtf/Function.h:79
No locals.
#13 0x00007fc8ae600b43 in WTF::Thread::entryPoint (newThreadContext=0x7fc89c4ec1f8) at ../../Source/WTF/wtf/Threading.cpp:148
        function = {m_callableWrapper = std::unique_ptr&lt;WTF::Detail::CallableWrapperBase&lt;void&gt;&gt; = {get() = 0x7fc89c4f7550}}
#14 0x00007fc8ae688885 in WTF::wtfThreadEntryPoint (context=0x7fc89c4ec1f8) at ../../Source/WTF/wtf/posix/ThreadingPOSIX.cpp:200
No locals.
#15 0x00007fc8a73276db in start_thread (arg=0x7fc895dfc700) at pthread_create.c:463
        pd = 0x7fc895dfc700
        now = &lt;optimized out&gt;
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140499484657408, -3998709707378614786, 140499484654912, 0, 140499592593912, 140721278801128, 3967830745774988798, 3967940454066855422}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = &lt;optimized out&gt;
#16 0x00007fc8a477e88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1572687</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2019-09-20 01:09:27 -0700</bug_when>
    <thetext>

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

    </bug>

</bugzilla>