[Webkit-unassigned] [Bug 235690] New: ASSERTION FAILED: Unsafe to ref/deref from different threads RemoteImageBuffer -> Pattern -> NativeImage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 26 23:21:42 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=235690

            Bug ID: 235690
           Summary: ASSERTION FAILED: Unsafe to ref/deref from different
                    threads RemoteImageBuffer -> Pattern -> NativeImage
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kkinnunen at apple.com
                CC: dino at apple.com

ASSERT Unsafe to ref/deref from different threads RemoteImageBuffer -> Pattern -> NativeImage

fast/canvas/large-getImageData.html

https://ews-build.s3-us-west-2.amazonaws.com/macOS-AppleSilicon-Big-Sur-Debug-WK2-Tests-EWS/r450035-22236/results.html


No crash log found for GPUProcess:1688.

stdout:

stderr:
ASSERTION FAILED: Unsafe to ref/deref from different threads
m_isOwnedByMainThread == isMainThread()
/Volumes/Data/worker/macOS-AppleSilicon-Big-Sur-Debug-Build-EWS/build/WebKitBuild/Debug/usr/local/include/wtf/RefCounted.h(114) : void WTF::RefCountedBase::applyRefDerefThreadingCheck() const
1   0x13b6ec02c WTFCrash
2   0x119e4f770 WTF::RefCountedBase::applyRefDerefThreadingCheck() const
3   0x1164e64a0 WTF::RefCountedBase::derefBase() const
4   0x116326590 WTF::RefCounted<WebCore::NativeImage, std::__1::default_delete<WebCore::NativeImage> >::deref() const
5   0x117fb64a0 WTF::Ref<WebCore::NativeImage, WTF::RawPtrTraits<WebCore::NativeImage> >::~Ref()
6   0x117faace4 WTF::Ref<WebCore::NativeImage, WTF::RawPtrTraits<WebCore::NativeImage> >::~Ref()
7   0x11a97199c WebCore::Pattern::~Pattern()
8   0x11a971a10 WebCore::Pattern::~Pattern()
9   0x119b93cb8 std::__1::default_delete<WebCore::Pattern>::operator()(WebCore::Pattern*) const
10  0x119b93c28 WTF::RefCounted<WebCore::Pattern, std::__1::default_delete<WebCore::Pattern> >::deref() const
11  0x11a919c54 WTF::DefaultRefDerefTraits<WebCore::Pattern>::derefIfNotNull(WebCore::Pattern*)
12  0x11a919c0c WTF::RefPtr<WebCore::Pattern, WTF::RawPtrTraits<WebCore::Pattern>, WTF::DefaultRefDerefTraits<WebCore::Pattern> >::~RefPtr()
13  0x11a8f9750 WTF::RefPtr<WebCore::Pattern, WTF::RawPtrTraits<WebCore::Pattern>, WTF::DefaultRefDerefTraits<WebCore::Pattern> >::~RefPtr()
14  0x11a8f9cc0 WTF::RefPtr<WebCore::Pattern, WTF::RawPtrTraits<WebCore::Pattern>, WTF::DefaultRefDerefTraits<WebCore::Pattern> >::operator=(WTF::RefPtr<WebCore::Pattern, WTF::RawPtrTraits<WebCore::Pattern>, WTF::DefaultRefDerefTraits<WebCore::Pattern> > const&)
15  0x11a8f9b94 WebCore::GraphicsContextState::operator=(WebCore::GraphicsContextState const&)
16  0x11a8fcc00 WebCore::GraphicsContext::restore()
17  0x11aa5ecb8 WebCore::GraphicsContextCG::restore()
18  0x101d0cc08 WebKit::RemoteImageBuffer<WebKit::ImageBufferShareableMappedIOSurfaceBackend>::~RemoteImageBuffer()
19  0x101d0af7c WebKit::RemoteImageBuffer<WebKit::ImageBufferShareableMappedIOSurfaceBackend>::~RemoteImageBuffer()
20  0x101d0afb0 WebKit::RemoteImageBuffer<WebKit::ImageBufferShareableMappedIOSurfaceBackend>::~RemoteImageBuffer()
21  0x101374c58 WTF::ThreadSafeRefCounted<WebCore::ImageBuffer, (WTF::DestructionThread)1>::deref() const::'lambda'()::operator()() const
22  0x101374b94 WTF::Detail::CallableWrapper<WTF::ThreadSafeRefCounted<WebCore::ImageBuffer, (WTF::DestructionThread)1>::deref() const::'lambda'(), void>::call()
23  0x13b7167dc WTF::Function<void ()>::operator()() const
24  0x13b7a76a4 WTF::RunLoop::performWork()
25  0x13b7ac470 WTF::RunLoop::performWork(void*)
26  0x1912f2ad4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
27  0x1912f2a20 __CFRunLoopDoSource0
28  0x1912f270c __CFRunLoopDoSources0
29  0x1912f1094 __CFRunLoopRun
30  0x1912f05e8 CFRunLoopRunSpecific
31  0x192099688 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
LEAK: 2 WebPageProxy

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220127/f41afa0d/attachment.htm>


More information about the webkit-unassigned mailing list