Bug 269614 - REGRESSION: [GTK WPE Win] ASSERTION FAILED: m_encodedDataStatus == EncodedDataStatus::SizeAvailable for some image tests
Summary: REGRESSION: [GTK WPE Win] ASSERTION FAILED: m_encodedDataStatus == EncodedDat...
Status: RESOLVED DUPLICATE of bug 269626
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-16 15:06 PST by Fujii Hironori
Modified: 2024-02-17 15:57 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2024-02-16 15:06:17 PST
History:
  https://results.webkit.org/?suite=layout-tests&test=fast%2Fcanvas%2Fcanvas-drawImage-detached-leak.html&style=debug&platform=GTK&platform=WPE&platform=wincairo

This seems like the first failure.

  Buildbot: builder GTK-Linux-64-bit-Debug-Tests build 12421 : 274762@main
  https://build.webkit.org/#/builders/63/builds/12421

stderr:

ASSERTION FAILED: m_encodedDataStatus == EncodedDataStatus::SizeAvailable
/app/webkit/Source/WebCore/platform/image-decoders/ScalableImageDecoder.h(91) : virtual void WebCore::ScalableImageDecoder::setData(const WebCore::FragmentedSharedBuffer&, bool)
1   0x7ff2e2ad7a84 WTFCrash
2   0x7ff2edb22cb6 WTF::isIntegralOrPointerType()
3   0x7ff2ef9179df WebCore::ScalableImageDecoder::setData(WebCore::FragmentedSharedBuffer const&, bool)
4   0x7ff2ef921f4d WebCore::GIFImageDecoder::setData(WebCore::FragmentedSharedBuffer const&, bool)
5   0x7ff2f3e96e70 WebCore::BitmapImageSource::setData(WebCore::FragmentedSharedBuffer*, bool)
6   0x7ff2f3e96f35 WebCore::BitmapImageSource::resetData()
7   0x7ff2f3e96966 WebCore::BitmapImageSource::destroyDecodedData(bool)
8   0x7ff2f3e957ca WebCore::BitmapImage::destroyDecodedData(bool)
9   0x7ff2f397850b operator()
10  0x7ff2f3987e64 call
11  0x7ff2f3989923 WTF::Function<void (WebCore::CachedResource&)>::operator()(WebCore::CachedResource&) const
12  0x7ff2f3978169 WebCore::MemoryCache::forEachResource(WTF::Function<void (WebCore::CachedResource&)> const&)
13  0x7ff2f39785d0 WebCore::MemoryCache::destroyDecodedDataForAllImages()
14  0x7ff279995919 WebCore::Internals::destroyDecodedDataForAllImages()
15  0x7ff279ab5e65 operator()
16  0x7ff279b2f6e5 toJS<WebCore::IDLUndefined, WebCore::jsInternalsPrototypeFunction_destroyDecodedDataForAllImagesBody(JSC::JSGlobalObject*, JSC::CallFrame*, IDLOperation<JSInternals>::ClassParameter)::<lambda()> >
17  0x7ff279ab5f63 jsInternalsPrototypeFunction_destroyDecodedDataForAllImagesBody
18  0x7ff279b2f993 call<WebCore::jsInternalsPrototypeFunction_destroyDecodedDataForAllImagesBody>
19  0x7ff279ab5fcd jsInternalsPrototypeFunction_destroyDecodedDataForAllImages
20  0x7ff28ca08038 ???
WebKitWebProcess terminated (pid 50227) for reason: crash
Comment 1 Fujii Hironori 2024-02-16 15:11:22 PST
274746@main (bug#265363) was touching ScalableImageDecoder recently?
Comment 2 Fujii Hironori 2024-02-17 15:57:15 PST
274896@main reverted it.

*** This bug has been marked as a duplicate of bug 269626 ***