Bug 208014 - [ Mac wk2 Debug ] http/tests/websocket/tests/hybi/no-subprotocol.html is flaky crashing.
Summary: [ Mac wk2 Debug ] http/tests/websocket/tests/hybi/no-subprotocol.html is flak...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac macOS 10.15
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-02-20 10:29 PST by Jason Lawrence
Modified: 2020-02-22 17:22 PST (History)
3 users (show)

See Also:


Attachments
Crash log (101.54 KB, text/plain)
2020-02-20 10:29 PST, Jason Lawrence
no flags Details
run-webkit-tests output (7.65 MB, text/plain)
2020-02-22 17:22 PST, Alexey Proskuryakov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Lawrence 2020-02-20 10:29:58 PST
Created attachment 391303 [details]
Crash log

http/tests/websocket/tests/hybi/no-subprotocol.html

Description:
This test is flaky crashing on Mac wk2 Debug .The earliest crash appears to be on r254669.

History:
https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fwebsocket%2Ftests%2Fhybi%2Fno-subprotocol.html&style=debug&platform=mac&flavor=wk2&limit=50000

Crash log:
attached.
Comment 1 Radar WebKit Bug Importer 2020-02-20 10:31:13 PST
<rdar://problem/59634273>
Comment 2 Jason Lawrence 2020-02-20 10:40:17 PST
I have marked this test as crashing while the issue is investigated.
https://trac.webkit.org/changeset/257069/webkit
Comment 3 Alexey Proskuryakov 2020-02-22 17:16:50 PST
ERROR: Could not create TopFrameLoadedThirdPartyScripts table in database (5) - database is locked
/Volumes/Data/slave/mojave-debug/build/Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.cpp(462) : bool WebKit::ResourceLoadStatisticsDatabaseStore::createSchema()
SHOULD NEVER BE REACHED
/Volumes/Data/slave/mojave-debug/build/Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.cpp(290) : WebKit::ResourceLoadStatisticsDatabaseStore::ResourceLoadStatisticsDatabaseStore(WebKit::WebResourceLoadStatisticsStore &, WTF::WorkQueue &, WebKit::ShouldIncludeLocalhost, const WTF::String &, PAL::SessionID)
1   0x12fec50b9 WTFCrash
2   0x10820214b WTFCrashWithInfo(int, char const*, char const*, int)
3   0x108894d53 WebKit::ResourceLoadStatisticsDatabaseStore::ResourceLoadStatisticsDatabaseStore(WebKit::WebResourceLoadStatisticsStore&, WTF::WorkQueue&, WebKit::ShouldIncludeLocalhost, WTF::String const&, PAL::SessionID)
4   0x108896364 WebKit::ResourceLoadStatisticsDatabaseStore::ResourceLoadStatisticsDatabaseStore(WebKit::WebResourceLoadStatisticsStore&, WTF::WorkQueue&, WebKit::ShouldIncludeLocalhost, WTF::String const&, PAL::SessionID)
5   0x1089210bc std::__1::__unique_if<WebKit::ResourceLoadStatisticsDatabaseStore>::__unique_single std::__1::make_unique<WebKit::ResourceLoadStatisticsDatabaseStore, WebKit::WebResourceLoadStatisticsStore&, WTF::Ref<WTF::WorkQueue, WTF::DumbPtrTraits<WTF::WorkQueue> >&, WebKit::ShouldIncludeLocalhost const&, WTF::String const&, PAL::SessionID const&>(WebKit::WebResourceLoadStatisticsStore&&&, WTF::Ref<WTF::WorkQueue, WTF::DumbPtrTraits<WTF::WorkQueue> >&&&, WebKit::ShouldIncludeLocalhost const&&&, WTF::String const&&&, PAL::SessionID const&&&)
Comment 4 Alexey Proskuryakov 2020-02-22 17:17:18 PST
Seems very unlikely that this would be the only test affected by this.
Comment 5 Alexey Proskuryakov 2020-02-22 17:22:08 PST
Created attachment 391470 [details]
run-webkit-tests output

There is a LOT of error logging from SQLite, starting from the very beginning of the tests.