Bug 228667 - [ iOS Debug ] http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-css-in-iframe.html is a flaky crash
Summary: [ iOS Debug ] http/tests/security/contentSecurityPolicy/upgrade-insecure-requ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-07-30 16:07 PDT by ayumi_kojima
Modified: 2021-10-12 09:59 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ayumi_kojima 2021-07-30 16:07:50 PDT
http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-css-in-iframe.html

Is flaky crashing on iOS 14 E Simulator Debug.

History: https://results.webkit.org/?platform=ios&suite=layout-tests&test=http%2Ftests%2Fsecurity%2FcontentSecurityPolicy%2Fupgrade-insecure-requests%2Fupgrade-insecure-css-in-iframe.html

Crash log:

ASSERTION FAILED: !m_messageReceiverMapCount
/Volumes/Data/worker/ios-simulator-14-debug/build/Source/WebKit/Platform/IPC/MessageReceiver.h(41) : virtual IPC::MessageReceiver::~MessageReceiver()
1   0x5a543fad9 WTFCrash
2   0x5880b10db WTFCrashWithInfo(int, char const*, char const*, int)
3   0x5880f60e8 IPC::MessageReceiver::~MessageReceiver()
4   0x589db7fde WebKit::RemoteAudioHardwareListener::~RemoteAudioHardwareListener()
5   0x589db8125 WebKit::RemoteAudioHardwareListener::~RemoteAudioHardwareListener()
6   0x589db818c WebKit::RemoteAudioHardwareListener::~RemoteAudioHardwareListener()
7   0x5ae2a4f9f std::__1::default_delete<WebCore::AudioHardwareListener>::operator()(WebCore::AudioHardwareListener*) const
8   0x5ae2a4f62 WTF::RefCounted<WebCore::AudioHardwareListener, std::__1::default_delete<WebCore::AudioHardwareListener> >::deref() const
9   0x5ae2a4ee7 WTF::DefaultRefDerefTraits<WebCore::AudioHardwareListener>::derefIfNotNull(WebCore::AudioHardwareListener*)
10  0x5af90f3b4 WTF::RefPtr<WebCore::AudioHardwareListener, WTF::RawPtrTraits<WebCore::AudioHardwareListener>, WTF::DefaultRefDerefTraits<WebCore::AudioHardwareListener> >::operator=(std::nullptr_t)
11  0x5af90f36e WebCore::MediaSessionManagerCocoa::removeSession(WebCore::PlatformMediaSession&)
12  0x5b205fd8f WebCore::PlatformMediaSession::stopSession()
13  0x5b13bc9fc WebCore::HTMLMediaElement::stop()
14  0x5b100686d auto WebCore::ScriptExecutionContext::stopActiveDOMObjects()::$_3::operator()<WebCore::ActiveDOMObject>(WebCore::ActiveDOMObject&) const
15  0x5b1006803 WTF::Detail::CallableWrapper<WebCore::ScriptExecutionContext::stopActiveDOMObjects()::$_3, WebCore::ScriptExecutionContext::ShouldContinue, WebCore::ActiveDOMObject&>::call(WebCore::ActiveDOMObject&)
16  0x5b0fef0ba WTF::Function<WebCore::ScriptExecutionContext::ShouldContinue (WebCore::ActiveDOMObject&)>::operator()(WebCore::ActiveDOMObject&) const
17  0x5b0feef10 WebCore::ScriptExecutionContext::forEachActiveDOMObject(WTF::Function<WebCore::ScriptExecutionContext::ShouldContinue (WebCore::ActiveDOMObject&)> const&) const
18  0x5b0fef427 WebCore::ScriptExecutionContext::stopActiveDOMObjects()
19  0x5b0dada3f WebCore::Document::stopActiveDOMObjects()
20  0x5b0dad7dc WebCore::Document::commonTeardown()
21  0x5b0dbb124 WebCore::Document::willBeRemovedFromFrame()
22  0x5b1d5d663 WebCore::Frame::setView(WTF::RefPtr<WebCore::FrameView, WTF::RawPtrTraits<WebCore::FrameView>, WTF::DefaultRefDerefTraits<WebCore::FrameView> >&&)
23  0x5b1b21862 WebCore::FrameLoader::detachFromParent()
24  0x58a2bba03 WebKit::WebPage::close()
25  0x58a3663f4 void IPC::callMemberFunctionImpl<WebKit::WebPage, void (WebKit::WebPage::*)(), std::__1::tuple<> >(WebKit::WebPage*, void (WebKit::WebPage::*)(), std::__1::tuple<>&&, std::__1::integer_sequence<unsigned long>)
26  0x58a3662f0 void IPC::callMemberFunction<WebKit::WebPage, void (WebKit::WebPage::*)(), std::__1::tuple<>, std::__1::integer_sequence<unsigned long> >(std::__1::tuple<>&&, WebKit::WebPage*, void (WebKit::WebPage::*)())
27  0x58a342db8 void IPC::handleMessage<Messages::WebPage::Close, WebKit::WebPage, void (WebKit::WebPage::*)()>(IPC::Decoder&, WebKit::WebPage*, void (WebKit::WebPage::*)())
28  0x58a335da8 WebKit::WebPage::didReceiveWebPageMessage(IPC::Connection&, IPC::Decoder&)
29  0x58a2cd8ae WebKit::WebPage::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
30  0x58863a9a5 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&)
31  0x589c06447 WebKit::WebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
com.apple.WebKit.WebContent.Development terminated (pid 82943) because the process crashed
Comment 1 Radar WebKit Bug Importer 2021-07-30 16:08:16 PDT
<rdar://problem/81347088>
Comment 2 ayumi_kojima 2021-07-30 16:10:56 PDT
I was not able to reproduce the crash on iOS 15 simulator on my local machine using: 

run-webkit-tests --debug  --iterations 500 --exit-after-n-failures 2 --exit-after-n-crashes-or-timeouts 2 --ipad-simulator http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-css-in-iframe.html
Comment 3 Alexey Proskuryakov 2021-07-31 18:20:19 PDT
Isn't this just another dupe of bug 228038?