[Webkit-unassigned] [Bug 201712] New: [iOS] ASSERTION FAILED: Unsafe to ref/deref from different threads in WTF::RefCountedBase::applyRefDerefThreadingCheck()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 11 21:38:19 PDT 2019


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

            Bug ID: 201712
           Summary: [iOS] ASSERTION FAILED: Unsafe to ref/deref from
                    different threads in
                    WTF::RefCountedBase::applyRefDerefThreadingCheck()
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ryanhaddad at apple.com

The following assertion failure was seen on the iOS Simulator debug bot with layout tests css3/filters/blur-clipped-by-ancestor.html and fast/writing-mode/english-bt-text-with-spelling-marker.html


ASSERTION FAILED: Unsafe to ref/deref from different threads
m_isOwnedByMainThread == isMainThread()
/Volumes/Data/slave/ios-simulator-12-debug/build/WebKitBuild/Debug-iphonesimulator/usr/local/include/wtf/RefCounted.h(115) : void WTF::RefCountedBase::applyRefDerefThreadingCheck() const
1   0x5369db4a9 WTFCrash
2   0x10c22fcda WTF::RefCountedBase::applyRefDerefThreadingCheck() const
3   0x10c22faa9 WTF::RefCountedBase::derefBase() const
4   0x10c2f880f WTF::RefCounted<WebKit::ShareableBitmap, std::__1::default_delete<WebKit::ShareableBitmap> >::deref() const
5   0x10ca89802 WebKit::ShareableBitmap::releaseBitmapContextData(void*, void*)
6   0x5326f70da CGBitmapContextInfoRelease
7   0x5326f95cb context_reclaim
8   0x1160f123e _CFRelease
9   0x10c480a19 WTF::RetainPtr<CGContext*>::~RetainPtr()
10  0x10c477865 WTF::RetainPtr<CGContext*>::~RetainPtr()
11  0x10c48089f WTF::VectorDestructor<true, WTF::RetainPtr<CGContext*> >::destruct(WTF::RetainPtr<CGContext*>*, WTF::RetainPtr<CGContext*>*)
12  0x10c4807dd WTF::VectorTypeOperations<WTF::RetainPtr<CGContext*> >::destruct(WTF::RetainPtr<CGContext*>*, WTF::RetainPtr<CGContext*>*)
13  0x10c48075f WTF::Vector<WTF::RetainPtr<CGContext*>, 0ul, WTF::CrashOnOverflow, 16ul>::~Vector()
14  0x10c477ac5 WTF::Vector<WTF::RetainPtr<CGContext*>, 0ul, WTF::CrashOnOverflow, 16ul>::~Vector()
15  0x10c47d643 WebKit::RemoteLayerTreeDrawingArea::BackingStoreFlusher::~BackingStoreFlusher()
16  0x10c47d615 WebKit::RemoteLayerTreeDrawingArea::BackingStoreFlusher::~BackingStoreFlusher()
17  0x10c47d5ea WTF::ThreadSafeRefCounted<WebKit::RemoteLayerTreeDrawingArea::BackingStoreFlusher, (WTF::DestructionThread)0>::deref() const::'lambda'()::operator()() const
18  0x10c47d5ad WTF::ThreadSafeRefCounted<WebKit::RemoteLayerTreeDrawingArea::BackingStoreFlusher, (WTF::DestructionThread)0>::deref() const
19  0x10c47d531 void WTF::derefIfNotNull<WebKit::RemoteLayerTreeDrawingArea::BackingStoreFlusher>(WebKit::RemoteLayerTreeDrawingArea::BackingStoreFlusher*)
20  0x10c47d4f9 WTF::RefPtr<WebKit::RemoteLayerTreeDrawingArea::BackingStoreFlusher, WTF::DumbPtrTraits<WebKit::RemoteLayerTreeDrawingArea::BackingStoreFlusher> >::~RefPtr()
21  0x10c475215 WTF::RefPtr<WebKit::RemoteLayerTreeDrawingArea::BackingStoreFlusher, WTF::DumbPtrTraits<WebKit::RemoteLayerTreeDrawingArea::BackingStoreFlusher> >::~RefPtr()
22  0x10c47ac95 WebKit::RemoteLayerTreeDrawingArea::flushLayers()::$_2::~$_2()
23  0x10c477cc5 WebKit::RemoteLayerTreeDrawingArea::flushLayers()::$_2::~$_2()
24  0x10c477ca9 __destroy_helper_block_e8_32c62_ZTSKZN6WebKit26RemoteLayerTreeDrawingArea11flushLayersEvE3$_2
25  0x53101e9cd _Block_release
26  0x530f2ad02 _dispatch_client_callout
27  0x530f31720 _dispatch_lane_serial_drain
28  0x530f32261 _dispatch_lane_invoke
29  0x530f3afcb _dispatch_workloop_worker_thread
30  0x53130c611 _pthread_wqthread
31  0x53130c3fd start_wqthread

https://build.webkit.org/results/Apple%20iOS%2012%20Simulator%20Debug%20WK2%20(Tests)/r249790%20(5549)/results.html

-- 
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/20190912/952ce4f4/attachment-0001.html>


More information about the webkit-unassigned mailing list