Skip to content

Instantly share code, notes, and snippets.

@HQ1995

HQ1995/asan.txt Secret

Created November 30, 2019 17:43
Show Gist options
  • Save HQ1995/7a84068d75e5b36ad4b5335666294f0f to your computer and use it in GitHub Desktop.
Save HQ1995/7a84068d75e5b36ad4b5335666294f0f to your computer and use it in GitHub Desktop.
asan.txt
=================================================================
==3031==ERROR: AddressSanitizer: heap-use-after-free on address 0x61100009f140 at pc 0x00011bbe65fa bp 0x7ffee37a3180 sp 0x7ffee37a3178
READ of size 8 at 0x61100009f140 thread T0
==3031==WARNING: invalid path to external symbolizer!
==3031==WARNING: Failed to use and restart external symbolizer!
#0 0x11bbe65f9 in WebCore::VideoFullscreenInterfaceMac::~VideoFullscreenInterfaceMac() (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebCore.framework/Versions/A/WebCore:x86_64+0x205a5f9)
#1 0x11bbe66ed in WebCore::VideoFullscreenInterfaceMac::~VideoFullscreenInterfaceMac() (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebCore.framework/Versions/A/WebCore:x86_64+0x205a6ed)
#2 0x111841871 in std::__1::__tuple_impl<std::__1::__tuple_indices<0ul, 1ul>, WTF::RefPtr<WebKit::VideoFullscreenModelContext, WTF::DumbPtrTraits<WebKit::VideoFullscreenModelContext> >, WTF::RefPtr<WebCore::VideoFullscreenInterfaceMac, WTF::DumbPtrTraits<WebCore::VideoFullscreenInterfaceMac> > >::~__tuple_impl() (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc9c871)
#3 0x11184ba6f in WTF::HashTable<unsigned long long, WTF::KeyValuePair<unsigned long long, std::__1::tuple<WTF::RefPtr<WebKit::VideoFullscreenModelContext, WTF::DumbPtrTraits<WebKit::VideoFullscreenModelContext> >, WTF::RefPtr<WebCore::VideoFullscreenInterfaceMac, WTF::DumbPtrTraits<WebCore::VideoFullscreenInterfaceMac> > > >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<unsigned long long, std::__1::tuple<WTF::RefPtr<WebKit::VideoFullscreenModelContext, WTF::DumbPtrTraits<WebKit::VideoFullscreenModelContext> >, WTF::RefPtr<WebCore::VideoFullscreenInterfaceMac, WTF::DumbPtrTraits<WebCore::VideoFullscreenInterfaceMac> > > > >, WTF::IntHash<unsigned long long>, WTF::HashMap<unsigned long long, std::__1::tuple<WTF::RefPtr<WebKit::VideoFullscreenModelContext, WTF::DumbPtrTraits<WebKit::VideoFullscreenModelContext> >, WTF::RefPtr<WebCore::VideoFullscreenInterfaceMac, WTF::DumbPtrTraits<WebCore::VideoFullscreenInterfaceMac> > >, WTF::IntHash<unsigned long long>, WTF::HashTraits<unsigned long long>, WTF::HashTraits<std::__1::tuple<WTF::RefPtr<WebKit::VideoFullscreenModelContext, WTF::DumbPtrTraits<WebKit::VideoFullscreenModelContext> >, WTF::RefPtr<WebCore::VideoFullscreenInterfaceMac, WTF::DumbPtrTraits<WebCore::VideoFullscreenInterfaceMac> > > > >::KeyValuePairTraits, WTF::HashTraits<unsigned long long> >::rehash(unsigned int, WTF::KeyValuePair<unsigned long long, std::__1::tuple<WTF::RefPtr<WebKit::VideoFullscreenModelContext, WTF::DumbPtrTraits<WebKit::VideoFullscreenModelContext> >, WTF::RefPtr<WebCore::VideoFullscreenInterfaceMac, WTF::DumbPtrTraits<WebCore::VideoFullscreenInterfaceMac> > > >*) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xca6a6f)
#4 0x111830b13 in WTF::HashTableAddResult<WTF::HashTableIterator<unsigned long long, WTF::KeyValuePair<unsigned long long, std::__1::tuple<WTF::RefPtr<WebKit::VideoFullscreenModelContext, WTF::DumbPtrTraits<WebKit::VideoFullscreenModelContext> >, WTF::RefPtr<WebCore::VideoFullscreenInterfaceMac, WTF::DumbPtrTraits<WebCore::VideoFullscreenInterfaceMac> > > >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<unsigned long long, std::__1::tuple<WTF::RefPtr<WebKit::VideoFullscreenModelContext, WTF::DumbPtrTraits<WebKit::VideoFullscreenModelContext> >, WTF::RefPtr<WebCore::VideoFullscreenInterfaceMac, WTF::DumbPtrTraits<WebCore::VideoFullscreenInterfaceMac> > > > >, WTF::IntHash<unsigned long long>, WTF::HashMap<unsigned long long, std::__1::tuple<WTF::RefPtr<WebKit::VideoFullscreenModelContext, WTF::DumbPtrTraits<WebKit::VideoFullscreenModelContext> >, WTF::RefPtr<WebCore::VideoFullscreenInterfaceMac, WTF::DumbPtrTraits<WebCore::VideoFullscreenInterfaceMac> > >, WTF::IntHash<unsigned long long>, WTF::HashTraits<unsigned long long>, WTF::HashTraits<std::__1::tuple<WTF::RefPtr<WebKit::VideoFullscreenModelContext, WTF::DumbPtrTraits<WebKit::VideoFullscreenModelContext> >, WTF::RefPtr<WebCore::VideoFullscreenInterfaceMac, WTF::DumbPtrTraits<WebCore::VideoFullscreenInterfaceMac> > > > >::KeyValuePairTraits, WTF::HashTraits<unsigned long long> > > WTF::HashMap<unsigned long long, std::__1::tuple<WTF::RefPtr<WebKit::VideoFullscreenModelContext, WTF::DumbPtrTraits<WebKit::VideoFullscreenModelContext> >, WTF::RefPtr<WebCore::VideoFullscreenInterfaceMac, WTF::DumbPtrTraits<WebCore::VideoFullscreenInterfaceMac> > >, WTF::IntHash<unsigned long long>, WTF::HashTraits<unsigned long long>, WTF::HashTraits<std::__1::tuple<WTF::RefPtr<WebKit::VideoFullscreenModelContext, WTF::DumbPtrTraits<WebKit::VideoFullscreenModelContext> >, WTF::RefPtr<WebCore::VideoFullscreenInterfaceMac, WTF::DumbPtrTraits<WebCore::VideoFullscreenInterfaceMac> > > > >::add<std::__1::tuple<WTF::RefPtr<WebKit::VideoFullscreenModelContext, WTF::DumbPtrTraits<WebKit::VideoFullscreenModelContext> >, WTF::RefPtr<WebCore::VideoFullscreenInterfaceMac, WTF::DumbPtrTraits<WebCore::VideoFullscreenInterfaceMac> > > >(unsigned long long const&, std::__1::tuple<WTF::RefPtr<WebKit::VideoFullscreenModelContext, WTF::DumbPtrTraits<WebKit::VideoFullscreenModelContext> >, WTF::RefPtr<WebCore::VideoFullscreenInterfaceMac, WTF::DumbPtrTraits<WebCore::VideoFullscreenInterfaceMac> > >&&) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc8bb13)
#5 0x111830723 in WebKit::VideoFullscreenManagerProxy::ensureModelAndInterface(unsigned long long) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc8b723)
#6 0x11182fed8 in WebKit::VideoFullscreenManagerProxy::ensureInterface(unsigned long long) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc8aed8)
#7 0x1118329cc in WebKit::VideoFullscreenManagerProxy::setHasVideo(unsigned long long, bool) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc8d9cc)
#8 0x1123aa4b3 in void IPC::handleMessage<Messages::VideoFullscreenManagerProxy::SetHasVideo, WebKit::VideoFullscreenManagerProxy, void (WebKit::VideoFullscreenManagerProxy::*)(unsigned long long, bool)>(IPC::Decoder&, WebKit::VideoFullscreenManagerProxy*, void (WebKit::VideoFullscreenManagerProxy::*)(unsigned long long, bool)) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0x18054b3)
#9 0x1123a9937 in WebKit::VideoFullscreenManagerProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0x1804937)
#10 0x110ca7210 in IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0x102210)
#11 0x111aa74b7 in WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xf024b7)
#12 0x110c268da in IPC::Connection::dispatchMessage(IPC::Decoder&) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0x818da)
#13 0x110c1c17a in IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0x7717a)
#14 0x110c2507e in IPC::Connection::dispatchIncomingMessages() (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0x8007e)
#15 0x1329c652a in WTF::RunLoop::performWork() (/Users/macos/Desktop/webkit/WebKitBuild/Release/JavaScriptCore.framework/Versions/A/JavaScriptCore:x86_64+0xb652a)
#16 0x1329c70ea in WTF::RunLoop::performWork(void*) (/Users/macos/Desktop/webkit/WebKitBuild/Release/JavaScriptCore.framework/Versions/A/JavaScriptCore:x86_64+0xb70ea)
#17 0x7fff2fb17b80 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ (/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation:x86_64h+0x57b80)
#18 0x7fff2fb17b1f in __CFRunLoopDoSource0 (/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation:x86_64h+0x57b1f)
#19 0x7fff2fafb153 in __CFRunLoopDoSources0 (/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation:x86_64h+0x3b153)
#20 0x7fff2fafa75f in __CFRunLoopRun (/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation:x86_64h+0x3a75f)
#21 0x7fff2faf9fe2 in CFRunLoopRunSpecific (/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation:x86_64h+0x39fe2)
#22 0x7fff2e68167c in RunCurrentEventLoopInMode (/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox:x86_64+0xa67c)
#23 0x7fff2e6813bc in ReceiveNextEventCommon (/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox:x86_64+0xa3bc)
#24 0x7fff2e681146 in _BlockUntilNextEventMatchingListInModeWithFilter (/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox:x86_64+0xa146)
#25 0x7fff2cd05813 in _DPSNextEvent (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit:x86_64+0x17813)
#26 0x7fff2cd04583 in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit:x86_64+0x16583)
#27 0x7fff2ccfed25 in -[NSApplication run] (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit:x86_64+0x10d25)
#28 0x7fff2ccf090c in NSApplicationMain (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit:x86_64+0x290c)
#29 0x7fff66fd52e4 in start (/usr/lib/system/libdyld.dylib:x86_64+0x112e4)
0x61100009f140 is located 0 bytes inside of 224-byte region [0x61100009f140,0x61100009f220)
freed by thread T0 here:
#0 0x10c50585b in __sanitizer_mz_free (/Users/macos/Desktop/webkit/WebKitBuild/Release/MiniBrowser.app/Contents/Frameworks/libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x6285b)
#1 0x1117e47af in WTF::HashTable<unsigned long long, WTF::KeyValuePair<unsigned long long, std::__1::tuple<WTF::RefPtr<WebKit::PlaybackSessionModelContext, WTF::DumbPtrTraits<WebKit::PlaybackSessionModelContext> >, WTF::RefPtr<WebCore::PlaybackSessionInterfaceMac, WTF::DumbPtrTraits<WebCore::PlaybackSessionInterfaceMac> > > >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<unsigned long long, std::__1::tuple<WTF::RefPtr<WebKit::PlaybackSessionModelContext, WTF::DumbPtrTraits<WebKit::PlaybackSessionModelContext> >, WTF::RefPtr<WebCore::PlaybackSessionInterfaceMac, WTF::DumbPtrTraits<WebCore::PlaybackSessionInterfaceMac> > > > >, WTF::IntHash<unsigned long long>, WTF::HashMap<unsigned long long, std::__1::tuple<WTF::RefPtr<WebKit::PlaybackSessionModelContext, WTF::DumbPtrTraits<WebKit::PlaybackSessionModelContext> >, WTF::RefPtr<WebCore::PlaybackSessionInterfaceMac, WTF::DumbPtrTraits<WebCore::PlaybackSessionInterfaceMac> > >, WTF::IntHash<unsigned long long>, WTF::HashTraits<unsigned long long>, WTF::HashTraits<std::__1::tuple<WTF::RefPtr<WebKit::PlaybackSessionModelContext, WTF::DumbPtrTraits<WebKit::PlaybackSessionModelContext> >, WTF::RefPtr<WebCore::PlaybackSessionInterfaceMac, WTF::DumbPtrTraits<WebCore::PlaybackSessionInterfaceMac> > > > >::KeyValuePairTraits, WTF::HashTraits<unsigned long long> >::rehash(unsigned int, WTF::KeyValuePair<unsigned long long, std::__1::tuple<WTF::RefPtr<WebKit::PlaybackSessionModelContext, WTF::DumbPtrTraits<WebKit::PlaybackSessionModelContext> >, WTF::RefPtr<WebCore::PlaybackSessionInterfaceMac, WTF::DumbPtrTraits<WebCore::PlaybackSessionInterfaceMac> > > >*) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc3f7af)
#2 0x1117c35c3 in WTF::HashTableAddResult<WTF::HashTableIterator<unsigned long long, WTF::KeyValuePair<unsigned long long, std::__1::tuple<WTF::RefPtr<WebKit::PlaybackSessionModelContext, WTF::DumbPtrTraits<WebKit::PlaybackSessionModelContext> >, WTF::RefPtr<WebCore::PlaybackSessionInterfaceMac, WTF::DumbPtrTraits<WebCore::PlaybackSessionInterfaceMac> > > >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<unsigned long long, std::__1::tuple<WTF::RefPtr<WebKit::PlaybackSessionModelContext, WTF::DumbPtrTraits<WebKit::PlaybackSessionModelContext> >, WTF::RefPtr<WebCore::PlaybackSessionInterfaceMac, WTF::DumbPtrTraits<WebCore::PlaybackSessionInterfaceMac> > > > >, WTF::IntHash<unsigned long long>, WTF::HashMap<unsigned long long, std::__1::tuple<WTF::RefPtr<WebKit::PlaybackSessionModelContext, WTF::DumbPtrTraits<WebKit::PlaybackSessionModelContext> >, WTF::RefPtr<WebCore::PlaybackSessionInterfaceMac, WTF::DumbPtrTraits<WebCore::PlaybackSessionInterfaceMac> > >, WTF::IntHash<unsigned long long>, WTF::HashTraits<unsigned long long>, WTF::HashTraits<std::__1::tuple<WTF::RefPtr<WebKit::PlaybackSessionModelContext, WTF::DumbPtrTraits<WebKit::PlaybackSessionModelContext> >, WTF::RefPtr<WebCore::PlaybackSessionInterfaceMac, WTF::DumbPtrTraits<WebCore::PlaybackSessionInterfaceMac> > > > >::KeyValuePairTraits, WTF::HashTraits<unsigned long long> > > WTF::HashMap<unsigned long long, std::__1::tuple<WTF::RefPtr<WebKit::PlaybackSessionModelContext, WTF::DumbPtrTraits<WebKit::PlaybackSessionModelContext> >, WTF::RefPtr<WebCore::PlaybackSessionInterfaceMac, WTF::DumbPtrTraits<WebCore::PlaybackSessionInterfaceMac> > >, WTF::IntHash<unsigned long long>, WTF::HashTraits<unsigned long long>, WTF::HashTraits<std::__1::tuple<WTF::RefPtr<WebKit::PlaybackSessionModelContext, WTF::DumbPtrTraits<WebKit::PlaybackSessionModelContext> >, WTF::RefPtr<WebCore::PlaybackSessionInterfaceMac, WTF::DumbPtrTraits<WebCore::PlaybackSessionInterfaceMac> > > > >::add<std::__1::tuple<WTF::RefPtr<WebKit::PlaybackSessionModelContext, WTF::DumbPtrTraits<WebKit::PlaybackSessionModelContext> >, WTF::RefPtr<WebCore::PlaybackSessionInterfaceMac, WTF::DumbPtrTraits<WebCore::PlaybackSessionInterfaceMac> > > >(unsigned long long const&, std::__1::tuple<WTF::RefPtr<WebKit::PlaybackSessionModelContext, WTF::DumbPtrTraits<WebKit::PlaybackSessionModelContext> >, WTF::RefPtr<WebCore::PlaybackSessionInterfaceMac, WTF::DumbPtrTraits<WebCore::PlaybackSessionInterfaceMac> > >&&) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc1e5c3)
#3 0x1117c31d3 in WebKit::PlaybackSessionManagerProxy::ensureModelAndInterface(unsigned long long) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc1e1d3)
#4 0x1117c36c8 in WebKit::PlaybackSessionManagerProxy::ensureModel(unsigned long long) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc1e6c8)
#5 0x111830230 in WebKit::VideoFullscreenManagerProxy::createModelAndInterface(unsigned long long) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc8b230)
#6 0x11183078e in WebKit::VideoFullscreenManagerProxy::ensureModelAndInterface(unsigned long long) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc8b78e)
#7 0x11182fed8 in WebKit::VideoFullscreenManagerProxy::ensureInterface(unsigned long long) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc8aed8)
#8 0x1118329cc in WebKit::VideoFullscreenManagerProxy::setHasVideo(unsigned long long, bool) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc8d9cc)
#9 0x1123aa4b3 in void IPC::handleMessage<Messages::VideoFullscreenManagerProxy::SetHasVideo, WebKit::VideoFullscreenManagerProxy, void (WebKit::VideoFullscreenManagerProxy::*)(unsigned long long, bool)>(IPC::Decoder&, WebKit::VideoFullscreenManagerProxy*, void (WebKit::VideoFullscreenManagerProxy::*)(unsigned long long, bool)) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0x18054b3)
#10 0x1123a9937 in WebKit::VideoFullscreenManagerProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0x1804937)
#11 0x110ca7210 in IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0x102210)
#12 0x111aa74b7 in WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xf024b7)
#13 0x110c268da in IPC::Connection::dispatchMessage(IPC::Decoder&) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0x818da)
#14 0x110c1c17a in IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0x7717a)
#15 0x110c2507e in IPC::Connection::dispatchIncomingMessages() (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0x8007e)
#16 0x1329c652a in WTF::RunLoop::performWork() (/Users/macos/Desktop/webkit/WebKitBuild/Release/JavaScriptCore.framework/Versions/A/JavaScriptCore:x86_64+0xb652a)
#17 0x1329c70ea in WTF::RunLoop::performWork(void*) (/Users/macos/Desktop/webkit/WebKitBuild/Release/JavaScriptCore.framework/Versions/A/JavaScriptCore:x86_64+0xb70ea)
#18 0x7fff2fb17b80 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ (/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation:x86_64h+0x57b80)
#19 0x7fff2fb17b1f in __CFRunLoopDoSource0 (/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation:x86_64h+0x57b1f)
#20 0x7fff2fafb153 in __CFRunLoopDoSources0 (/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation:x86_64h+0x3b153)
#21 0x7fff2fafa75f in __CFRunLoopRun (/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation:x86_64h+0x3a75f)
#22 0x7fff2faf9fe2 in CFRunLoopRunSpecific (/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation:x86_64h+0x39fe2)
#23 0x7fff2e68167c in RunCurrentEventLoopInMode (/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox:x86_64+0xa67c)
#24 0x7fff2e6813bc in ReceiveNextEventCommon (/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox:x86_64+0xa3bc)
#25 0x7fff2e681146 in _BlockUntilNextEventMatchingListInModeWithFilter (/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox:x86_64+0xa146)
#26 0x7fff2cd05813 in _DPSNextEvent (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit:x86_64+0x17813)
#27 0x7fff2cd04583 in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit:x86_64+0x16583)
#28 0x7fff2ccfed25 in -[NSApplication run] (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit:x86_64+0x10d25)
#29 0x7fff2ccf090c in NSApplicationMain (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit:x86_64+0x290c)
previously allocated by thread T0 here:
#0 0x10c5052f3 in __sanitizer_mz_malloc (/Users/macos/Desktop/webkit/WebKitBuild/Release/MiniBrowser.app/Contents/Frameworks/libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x622f3)
#1 0x7fff671937ef in malloc_zone_malloc (/usr/lib/system/libsystem_malloc.dylib:x86_64+0x17ef)
#2 0x132ab18f8 in bmalloc::DebugHeap::malloc(unsigned long, bmalloc::FailureAction) (/Users/macos/Desktop/webkit/WebKitBuild/Release/JavaScriptCore.framework/Versions/A/JavaScriptCore:x86_64+0x1a18f8)
#3 0x1117c2fad in WebKit::PlaybackSessionModelContext::create(WebKit::PlaybackSessionManagerProxy&, unsigned long long) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc1dfad)
#4 0x1117c2e07 in WebKit::PlaybackSessionManagerProxy::createModelAndInterface(unsigned long long) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc1de07)
#5 0x1117c323e in WebKit::PlaybackSessionManagerProxy::ensureModelAndInterface(unsigned long long) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc1e23e)
#6 0x1117c3718 in WebKit::PlaybackSessionManagerProxy::ensureInterface(unsigned long long) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc1e718)
#7 0x11183025f in WebKit::VideoFullscreenManagerProxy::createModelAndInterface(unsigned long long) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc8b25f)
#8 0x11183078e in WebKit::VideoFullscreenManagerProxy::ensureModelAndInterface(unsigned long long) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc8b78e)
#9 0x11182fed8 in WebKit::VideoFullscreenManagerProxy::ensureInterface(unsigned long long) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc8aed8)
#10 0x1118329cc in WebKit::VideoFullscreenManagerProxy::setHasVideo(unsigned long long, bool) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xc8d9cc)
#11 0x1123aa4b3 in void IPC::handleMessage<Messages::VideoFullscreenManagerProxy::SetHasVideo, WebKit::VideoFullscreenManagerProxy, void (WebKit::VideoFullscreenManagerProxy::*)(unsigned long long, bool)>(IPC::Decoder&, WebKit::VideoFullscreenManagerProxy*, void (WebKit::VideoFullscreenManagerProxy::*)(unsigned long long, bool)) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0x18054b3)
#12 0x1123a9937 in WebKit::VideoFullscreenManagerProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0x1804937)
#13 0x110ca7210 in IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0x102210)
#14 0x111aa74b7 in WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0xf024b7)
#15 0x110c268da in IPC::Connection::dispatchMessage(IPC::Decoder&) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0x818da)
#16 0x110c1c17a in IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0x7717a)
#17 0x110c2507e in IPC::Connection::dispatchIncomingMessages() (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit:x86_64+0x8007e)
#18 0x1329c652a in WTF::RunLoop::performWork() (/Users/macos/Desktop/webkit/WebKitBuild/Release/JavaScriptCore.framework/Versions/A/JavaScriptCore:x86_64+0xb652a)
#19 0x1329c70ea in WTF::RunLoop::performWork(void*) (/Users/macos/Desktop/webkit/WebKitBuild/Release/JavaScriptCore.framework/Versions/A/JavaScriptCore:x86_64+0xb70ea)
#20 0x7fff2fb17b80 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ (/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation:x86_64h+0x57b80)
#21 0x7fff2fb17b1f in __CFRunLoopDoSource0 (/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation:x86_64h+0x57b1f)
#22 0x7fff2fafb153 in __CFRunLoopDoSources0 (/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation:x86_64h+0x3b153)
#23 0x7fff2fafa75f in __CFRunLoopRun (/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation:x86_64h+0x3a75f)
#24 0x7fff2faf9fe2 in CFRunLoopRunSpecific (/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation:x86_64h+0x39fe2)
#25 0x7fff2e68167c in RunCurrentEventLoopInMode (/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox:x86_64+0xa67c)
#26 0x7fff2e6813bc in ReceiveNextEventCommon (/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox:x86_64+0xa3bc)
#27 0x7fff2e681146 in _BlockUntilNextEventMatchingListInModeWithFilter (/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox:x86_64+0xa146)
#28 0x7fff2cd05813 in _DPSNextEvent (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit:x86_64+0x17813)
#29 0x7fff2cd04583 in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit:x86_64+0x16583)
SUMMARY: AddressSanitizer: heap-use-after-free (/Users/macos/Desktop/webkit/WebKitBuild/Release/WebCore.framework/Versions/A/WebCore:x86_64+0x205a5f9) in WebCore::VideoFullscreenInterfaceMac::~VideoFullscreenInterfaceMac()
Shadow bytes around the buggy address:
0x1c2200013dd0: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00
0x1c2200013de0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1c2200013df0: 00 00 00 00 fa fa fa fa fa fa fa fa fa fa fa fa
0x1c2200013e00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x1c2200013e10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x1c2200013e20: fa fa fa fa fa fa fa fa[fd]fd fd fd fd fd fd fd
0x1c2200013e30: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x1c2200013e40: fd fd fd fd fa fa fa fa fa fa fa fa fa fa fa fa
0x1c2200013e50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1c2200013e60: 00 00 00 00 00 00 00 00 00 00 00 00 fa fa fa fa
0x1c2200013e70: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
Left alloca redzone: ca
Right alloca redzone: cb
Shadow gap: cc
==3031==ABORTING
macOSs-Mac:webkit macos$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment