RESOLVED FIXED286063
[GLIB] SSL API tests failing with ENABLE_ASSERTS=ON
https://bugs.webkit.org/show_bug.cgi?id=286063
Summary [GLIB] SSL API tests failing with ENABLE_ASSERTS=ON
Claudio Saavedra
Reported 2025-01-16 06:54:06 PST
We enabled assertions in the GTK bots and there are two SSL tests constantly failing due to an assertion reached: /WebKitGTK/TestSSL:/webkit/WebKitWebView/web-socket-client-side-certificate /WebKitGTK/TestSSL:/webkit/WebKitWebView/web-socket-tls-errors The stacktrace is the same: SHOULD NEVER BE REACHED /app/webkit/Source/WebKit/NetworkProcess/NetworkProcess.cpp(464) : WebKit::NetworkProcess::AllowCookieAccess WebKit::NetworkProcess::allowsFirstPartyForCookies(WebCore::ProcessIdentifier, const RegistrableDomain&) 1 0x7f424a9f13aa WebKit::NetworkProcess::allowsFirstPartyForCookies(WTF::ObjectIdentifierGeneric<WebCore::ProcessIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long>, WebCore::RegistrableDomain const&) 2 0x7f424a9f15c1 WebKit::NetworkProcess::allowsFirstPartyForCookies(WTF::ObjectIdentifierGeneric<WebCore::ProcessIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long>, WTF::URL const&) 3 0x7f424a9cccb8 WebKit::NetworkConnectionToWebProcess::createSocketChannel(WebCore::ResourceRequest const&, WTF::String const&, WTF::ObjectIdentifierGeneric<WebCore::WebSocketIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WTF::ObjectIdentifierGeneric<WebKit::WebPageProxyIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long>, std::optional<WebCore::ProcessQualified<WTF::ObjectIdentifierGeneric<WebCore::FrameIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long> > >, std::optional<WTF::ObjectIdentifierGeneric<WebCore::PageIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long> >, WebCore::ClientOrigin const&, bool, bool, WTF::OptionSet<WebCore::AdvancedPrivacyProtections>, WebCore::ShouldRelaxThirdPartyCookieBlocking, WebCore::StoredCredentialsPolicy) 4 0x7f424a549f32 void IPC::handleMessage<Messages::NetworkConnectionToWebProcess::CreateSocketChannel, IPC::Connection, WebKit::NetworkConnectionToWebProcess, WebKit::NetworkConnectionToWebProcess, void (WebCore::ResourceRequest const&, WTF::String const&, WTF::ObjectIdentifierGeneric<WebCore::WebSocketIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WTF::ObjectIdentifierGeneric<WebKit::WebPageProxyIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long>, std::optional<WebCore::ProcessQualified<WTF::ObjectIdentifierGeneric<WebCore::FrameIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long> > >, std::optional<WTF::ObjectIdentifierGeneric<WebCore::PageIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long> >, WebCore::ClientOrigin const&, bool, bool, WTF::OptionSet<WebCore::AdvancedPrivacyProtections>, WebCore::ShouldRelaxThirdPartyCookieBlocking, WebCore::StoredCredentialsPolicy)>(IPC::Connection&, IPC::Decoder&, WebKit::NetworkConnectionToWebProcess*, void (WebKit::NetworkConnectionToWebProcess::*)(WebCore::ResourceRequest const&, WTF::String const&, WTF::ObjectIdentifierGeneric<WebCore::WebSocketIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WTF::ObjectIdentifierGeneric<WebKit::WebPageProxyIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long>, std::optional<WebCore::ProcessQualified<WTF::ObjectIdentifierGeneric<WebCore::FrameIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long> > >, std::optional<WTF::ObjectIdentifierGeneric<WebCore::PageIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long> >, WebCore::ClientOrigin const&, bool, bool, WTF::OptionSet<WebCore::AdvancedPrivacyProtections>, WebCore::ShouldRelaxThirdPartyCookieBlocking, WebCore::StoredCredentialsPolicy)) [clone .isra.0] 5 0x7f424a54b404 WebKit::NetworkConnectionToWebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&) 6 0x7f424abf7c2d IPC::Connection::dispatchMessage(WTF::UniqueRef<IPC::Decoder>) [clone .part.0] 7 0x7f424abf8395 IPC::Connection::dispatchOneIncomingMessage() 8 0x7f4245176221 WTF::RunLoop::performWork() 9 0x7f4245252089 WTF::RunLoop::RunLoop()::{lambda(void*)#1}::_FUN(void*) 10 0x7f424525361f WTF::RunLoop::{lambda(_GSource*, int (*)(void*), void*)#1}::_FUN(_GSource*, int (*)(void*), void*) 11 0x7f423fd17d36 g_main_context_dispatch 12 0x7f423fd752b8 g_main_context_iterate.isra.0 13 0x7f423fd173ff g_main_loop_run 14 0x7f4245253750 WTF::RunLoop::run() 15 0x7f424ab4a63a int WebKit::AuxiliaryProcessMain<WebKit::NetworkProcessMainSoup>(int, char**) 16 0x7f423f75208a __libc_start_call_main 17 0x7f423f75214b __libc_start_main 18 0x5614fdc868a5 _start
Attachments
Claudio Saavedra
Comment 1 2025-01-16 07:02:41 PST
Claudio Saavedra
Comment 2 2025-01-17 03:41:51 PST
They are also having the same problem in WPE.
Carlos Alberto Lopez Perez
Comment 3 2025-09-26 15:50:42 PDT
This test is timing out on GTK (instead of failing/crashing/whatever) since bots were migrated to the new infra. See: https://bugs.webkit.org/show_bug.cgi?id=299598
Nikolas Zimmermann
Comment 11 2025-12-16 14:43:50 PST
Gardened the following tests in https://commits.webkit.org/304545@main: fast/forms/appearance-base/appearance-base-checkable-checkmark-dynamic.html fast/mediastream/RTCPeerConnection-page-cache.html html5lib/generated/run-tests7-data.html media/audio-only-video-intrinsic-size.html storage/indexeddb/cursor-properties.html storage/indexeddb/modern/idbobjectstore-delete-failures-private.html
Fujii Hironori
Comment 12 2026-02-12 20:19:34 PST
There are two bugs here. They have different backtraces. NetworkProcess::allowsFirstPartyForCookie is called from NetworkConnectionToWebProcess::createSocketChannel or NetworkConnectionToWebProcess::scheduleResourceLoad.
Fujii Hironori
Comment 13 2026-02-12 21:11:50 PST
EWS
Comment 14 2026-02-13 05:26:25 PST
Committed 307466@main (90216fdce034): <https://commits.webkit.org/307466@main> Reviewed commits have been landed. Closing PR #58586 and removing active labels.
Claudio Saavedra
Comment 15 2026-02-13 09:08:56 PST
But the tests that Niko gardened are layout tests, are those unrelated to this bug then?
Fujii Hironori
Comment 16 2026-02-13 16:11:58 PST
yes, it's another bug. I'll file a bug.
Fujii Hironori
Comment 17 2026-02-18 16:03:45 PST
Created bug#308176 for the issue.
Note You need to log in before you can comment on or make changes to this bug.