<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] WebProcess from WebKitGtk+ 2.15.2 SIGSEGVs in std::unique_ptr<SoupBuffer, WTF::GPtrDeleter<SoupBuffer> >::get() const () at /usr/include/c++/6/bits/unique_ptr.h:305"
href="https://bugs.webkit.org/show_bug.cgi?id=165848#c18">Comment # 18</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] WebProcess from WebKitGtk+ 2.15.2 SIGSEGVs in std::unique_ptr<SoupBuffer, WTF::GPtrDeleter<SoupBuffer> >::get() const () at /usr/include/c++/6/bits/unique_ptr.h:305"
href="https://bugs.webkit.org/show_bug.cgi?id=165848">bug 165848</a>
from <span class="vcard"><a class="email" href="mailto:cgarcia@igalia.com" title="Carlos Garcia Campos <cgarcia@igalia.com>"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=165848#c12">comment #12</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=165848#c11">comment #11</a>)
> > (In reply to <a href="show_bug.cgi?id=165848#c10">comment #10</a>)
> > > Maybe this is the same I fixed in r208881
> >
> > Sounds like it. I will apply that patch and check ...
>
> Actually, this is already in 2.15.2</span >
I didn't take into account that size() calls isSizeAvailable() that is virtual, and in the case of GIF, it's overriden and also calls decode(). I think the solution should be to make decoders thread-safe, but in the meantime, could you try moving the LockHolder locker(m_lock); in ImageDecoder::createFrameImageAtIndex() to the beginning? right before the size() call?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>