Bug 214478

Summary: REGRESSION: (r264492) Broke 9 WebRTC tests and 4 indexeddb tests
Product: WebKit Reporter: Truitt Savell <tsavell>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: jer.noble, webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=214410
https://bugs.webkit.org/show_bug.cgi?id=214447
https://bugs.webkit.org/show_bug.cgi?id=214730
Attachments:
Description Flags
crash log none

Description Truitt Savell 2020-07-17 08:38:50 PDT
http/wpt/webrtc/generateCertificate.html [ Crash ]
imported/w3c/web-platform-tests/webrtc/RTCCertificate-postMessage.html [ Crash ]
imported/w3c/web-platform-tests/webrtc/RTCCertificate.html [ Crash ]
imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-generateCertificate.html [ Crash ]
imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-constructor.html [ Crash ]
imported/w3c/web-platform-tests/webrtc/idlharness.https.window.html [ Crash ]
webrtc/certificates-indexeddb.html [ Crash ]
webrtc/h265.html [ Crash ]
webrtc/simulcast-h264.html [ Crash ]

Crash Log:
No crash log found for WebKitTestRunner:53927.

stdout:

stderr:
2020-07-16 20:35:32.351 WebKitTestRunner[53927:6859507] isPrefsCreateCacheFromEnabledAndDefaultInputSources - can't find anything from GetInputSourceEnabledPrefs, use defaultASCIIKeyLayoutDict = <CFBasicHash 0x7fbdae33a820 [0x7fff99c578e0]>{type = immutable dict, count = 3,
entries =>
	0 : <CFString 0x7fff99a26268 [0x7fff99c578e0]>{contents = "InputSourceKind"} = <CFString 0x7fff99a26c28 [0x7fff99c578e0]>{contents = "Keyboard Layout"}
	1 : <CFString 0x7fff99a26c68 [0x7fff99c578e0]>{contents = "KeyboardLayout Name"} = U.S.
	2 : <CFString 0x7fff99a26c48 [0x7fff99c578e0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x62eb5e9e82c87059 [0x7fff99c578e0]>{value = +0, type = kCFNumberSInt32Type}
}
_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.


#
# Fatal error in: /Volumes/Data/slave/mojave-debug/build/Source/ThirdParty/libwebrtc/Source/webrtc/rtc_base/rtc_certificate_generator.cc, line 147
# last system error: 2
# Check failed: signaling_thread_->IsCurrent()
# #CRASHED - com.apple.WebKit.WebContent.Development (pid 53929)
LEAK: 1 WebProcessPool
LEAK: 1 WebPageProxy


It looks like the changes in https://trac.webkit.org/changeset/264492/webkit caused these tests to crash.
Comment 1 Radar WebKit Bug Importer 2020-07-17 08:39:11 PDT
<rdar://problem/65727308>
Comment 2 Ryan Haddad 2020-07-17 09:56:01 PDT
Created attachment 404569 [details]
crash log
Comment 3 Truitt Savell 2020-07-17 10:36:23 PDT
These 4 tests are also a part of this: 
storage/indexeddb/modern/blob-simple-workers.html [ Crash ]
storage/indexeddb/modern/blob-simple.html [ Crash ]
storage/indexeddb/structured-clone-private.html [ Crash ]
storage/indexeddb/structured-clone.html [ Crash ]
Comment 4 Truitt Savell 2020-07-17 10:50:52 PDT
Marked these tests as skip in https://trac.webkit.org/changeset/264520/webkit
Comment 5 youenn fablet 2020-07-23 06:26:40 PDT
IDB tests fixed at r264486.
WebRTC tests fixed at r264604, except the simulcast one which will be handled in https://bugs.webkit.org/show_bug.cgi?id=214684.