Bug 179198

Summary: ASSERTION FAILED: isMainThread() : API test WebKitLegacy.AudioSessionCategoryIOS is failing on iOS
Product: WebKit Reporter: Matt Lewis <jlewis3>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: joepeck, sam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Matt Lewis
Reported 2017-11-02 14:08:31 PDT
WebKitLegacy.AudioSessionCategoryIOS API test is failing consistently on iOS Debug https://build.webkit.org/builders/Apple%20iOS%2011%20Simulator%20Debug%20WK2%20%28Tests%29/builds/764/steps/run-api-tests/logs/stdio https://build.webkit.org/builders/Apple%20iOS%2011%20Simulator%20Debug%20WK2%20%28Tests%29/builds/764 This may have been introduced when the test and associated files were edited in https://trac.webkit.org/changeset/223720/webkit#file47 UNEXPECTEDLY EXITED WebKitLegacy.AudioSessionCategoryIOS ASSERTION FAILED: isMainThread() /Volumes/Data/slave/ios-simulator-11-debug/build/Source/WebCore/inspector/InspectorInstrumentation.h(1389) : static WebCore::InstrumentingAgents &WebCore::InspectorInstrumentation::instrumentingAgentsForPage(WebCore::Page &) 1 0x1104726fd WTFCrash 2 0x11811757d WebCore::InspectorInstrumentation::instrumentingAgentsForPage(WebCore::Page&) 3 0x118117480 WebCore::InspectorInstrumentation::instrumentingAgentsForPage(WebCore::Page*) 4 0x1182c106d WebCore::InspectorInstrumentation::instrumentingAgentsForFrame(WebCore::Frame&) 5 0x118d23365 WebCore::InspectorInstrumentation::didReceiveResourceResponse(WebCore::Frame&, unsigned long, WebCore::DocumentLoader*, WebCore::ResourceResponse const&, WebCore::ResourceLoader*) 6 0x118dbd432 WebCore::ResourceLoadNotifier::dispatchDidReceiveResponse(WebCore::DocumentLoader*, unsigned long, WebCore::ResourceResponse const&, WebCore::ResourceLoader*) 7 0x118dbd390 WebCore::ResourceLoadNotifier::didReceiveResponse(WebCore::ResourceLoader*, WebCore::ResourceResponse const&) 8 0x118dc3848 WebCore::ResourceLoader::didReceiveResponse(WebCore::ResourceResponse const&) 9 0x118dd6e79 WebCore::SubresourceLoader::didReceiveResponse(WebCore::ResourceResponse const&) 10 0x118dc4422 WebCore::ResourceLoader::didReceiveResponseAsync(WebCore::ResourceHandle*, WebCore::ResourceResponse&&) 11 0x1193d15d7 WebCore::ResourceHandle::didReceiveResponse(WebCore::ResourceResponse&&) 12 0x117728ae0 -[WebCoreResourceHandleAsOperationQueueDelegate connection:didReceiveResponse:]::$_3::operator()() 13 0x1177286b9 invocation function for block in -[WebCoreResourceHandleAsOperationQueueDelegate connection:didReceiveResponse:]::$_3::operator void () block_pointer() const 14 0x126f11273 _dispatch_call_block_and_release 15 0x126f122b5 _dispatch_client_callout 16 0x126f1c496 _dispatch_main_queue_callback_4CF 17 0x126833ef9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ 18 0x1267f8662 __CFRunLoopRun 19 0x1267f7a89 CFRunLoopRunSpecific 20 0x125bd7e5e -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 21 0x10ee0ae73 TestWebKitAPI::Util::run(bool*) 22 0x10ebbbc8a TestWebKitAPI::WebKitLegacy_AudioSessionCategoryIOS_Test::TestBody() 23 0x10ee9057a testing::Test::Run() 24 0x10ee9103d testing::internal::TestInfoImpl::Run() 25 0x10ee9208d testing::TestCase::Run() 26 0x10ee9810b testing::internal::UnitTestImpl::RunAllTests() 27 0x10ee97d89 testing::UnitTest::Run() 28 0x10ed9635c TestWebKitAPI::TestsController::run(int, char**) 29 0x10ee659a0 main 30 0x126f86d81 start
Attachments
Matt Lewis
Comment 1 2017-11-02 14:16:23 PDT
Actually looking at the assertion failure, looks like this was the actual cause of the assertion failures: https://trac.webkit.org/changeset/208240/webkit
Matt Lewis
Comment 2 2017-11-02 14:24:12 PDT
Radar WebKit Bug Importer
Comment 3 2017-11-15 12:23:25 PST
Note You need to log in before you can comment on or make changes to this bug.