[Webkit-unassigned] [Bug 224791] New: [GLIB] REGRESSION(r276246): fast/cookies/cookie-averse-document.html and fast/cookies/local-file-can-set-cookies.html are crashing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 19 17:22:10 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=224791

            Bug ID: 224791
           Summary: [GLIB] REGRESSION(r276246):
                    fast/cookies/cookie-averse-document.html and
                    fast/cookies/local-file-can-set-cookies.html are
                    crashing
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dpino at igalia.com

Two tests are crashing after r276246:

  fast/cookies/cookie-averse-document.html [ Crash ]
  fast/cookies/local-file-can-set-cookies.html [ Crash ]

fast/cookies/local-file-can-set-cookies.html is actually a flaky crash, but it crashes most of the times.

https://build.webkit.org/results/GTK-Linux-64-bit-Release-Tests/r276264%20%281267%29/fast/cookies/local-file-can-set-cookies-crash-log.txt

STDERR: (process:52022): libsoup-CRITICAL **: 12:13:45.535: parse_one_cookie: assertion 'origin == NULL || SOUP_URI_IS_VALID (origin)' failed

Thread 1 (Thread 0x7fcdf1a35e80 (LWP 52022)):
#0  g_logv (log_domain=0x7fcdf2e0795b "libsoup", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1413
#1  0x00007fcdf411e973 in g_log (log_domain=log_domain at entry=0x7fcdf2e0795b "libsoup", log_level=log_level at entry=G_LOG_LEVEL_CRITICAL, format=format at entry=0x7fcdf4176ad0 "%s: assertion '%s' failed") at ../glib/gmessages.c:1451
#2  0x00007fcdf411f19d in g_return_if_fail_warning (log_domain=log_domain at entry=0x7fcdf2e0795b "libsoup", pretty_function=pretty_function at entry=0x7fcdf2e09b70 <__func__.6> "parse_one_cookie", expression=expression at entry=0x7fcdf2e09a88 "origin == NULL || SOUP_URI_IS_VALID (origin)") at ../glib/gmessages.c:2883
#3  0x00007fcdf2dd30b4 in parse_one_cookie (header=0x7fcdf11fd1f0 "ppkcookie1=testcookie", origin=0x5583703bc310) at ../libsoup/cookies/soup-cookie.c:180
#4  0x00007fcdfb923f1a in WebCore::NetworkStorageSession::setCookiesFromDOM(WTF::URL const&, WebCore::SameSiteInfo const&, WTF::URL const&, WTF::Optional<WTF::ObjectIdentifier<WebCore::FrameIdentifierType> >, WTF::Optional<WTF::ObjectIdentifier<WebCore::PageIdentifierType> >, WebCore::ShouldAskITP, WTF::String const&, WebCore::ShouldRelaxThirdPartyCookieBlocking) const () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#5  0x00007fcdf97b842e in WebKit::NetworkConnectionToWebProcess::setCookiesFromDOM(WTF::URL const&, WebCore::SameSiteInfo const&, WTF::URL const&, WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WTF::ObjectIdentifier<WebCore::PageIdentifierType>, WebCore::ShouldAskITP, WTF::String const&, WebCore::ShouldRelaxThirdPartyCookieBlocking) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#6  0x00007fcdf960b345 in void IPC::handleMessage<Messages::NetworkConnectionToWebProcess::SetCookiesFromDOM, WebKit::NetworkConnectionToWebProcess, void (WebKit::NetworkConnectionToWebProcess::*)(WTF::URL const&, WebCore::SameSiteInfo const&, WTF::URL const&, WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WTF::ObjectIdentifier<WebCore::PageIdentifierType>, WebCore::ShouldAskITP, WTF::String const&, WebCore::ShouldRelaxThirdPartyCookieBlocking)>(IPC::Decoder&, WebKit::NetworkConnectionToWebProcess*, void (WebKit::NetworkConnectionToWebProcess::*)(WTF::URL const&, WebCore::SameSiteInfo const&, WTF::URL const&, WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WTF::ObjectIdentifier<WebCore::PageIdentifierType>, WebCore::ShouldAskITP, WTF::String const&, WebCore::ShouldRelaxThirdPartyCookieBlocking)) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#7  0x00007fcdf95f37ec in WebKit::NetworkConnectionToWebProcess::didReceiveNetworkConnectionToWebProcessMessage(IPC::Connection&, IPC::Decoder&) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#8  0x00007fcdf990725d in IPC::Connection::dispatchMessage(std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#9  0x00007fcdf9908bf1 in IPC::Connection::dispatchOneIncomingMessage() () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#10 0x00007fcdf78609db in WTF::RunLoop::performWork() () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0
#11 0x00007fcdf78d54a9 in WTF::RunLoop::RunLoop()::{lambda(void*)#1}::_FUN(void*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0
#12 0x00007fcdf78d5f8f in WTF::RunLoop::{lambda(_GSource*, int (*)(void*), void*)#1}::_FUN(_GSource*, int (*)(void*), void*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0
#13 0x00007fcdf4116dbf in g_main_dispatch (context=0x558370357170) at ../glib/gmain.c:3337
#14 g_main_context_dispatch (context=0x558370357170) at ../glib/gmain.c:4055
#15 0x00007fcdf4117168 in g_main_context_iterate (context=0x558370357170, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#16 0x00007fcdf4117483 in g_main_loop_run (loop=0x558370358200) at ../glib/gmain.c:4329
#17 0x00007fcdf78d60d8 in WTF::RunLoop::run() () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0
#18 0x00007fcdf98f343a in WebKit::NetworkProcessMain(int, char**) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#19 0x00007fcdf3ab9062 in __libc_start_main (main=0x55837028c850 <main>, argc=3, argv=0x7ffcd95548d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcd95548c8) at ../csu/libc-start.c:308
#20 0x000055837028c88e in _start () at ../sysdeps/x86_64/start.S:120

https://build.webkit.org/results/GTK-Linux-64-bit-Release-Tests/r276264%20%281267%29/fast/cookies/cookie-averse-document-crash-log.txt

STDERR: (process:2240): libsoup-CRITICAL **: 12:13:34.768: parse_one_cookie: assertion 'origin == NULL || SOUP_URI_IS_VALID (origin)' failed

Thread 1 (Thread 0x7f63d8719e80 (LWP 2240)):
#0  g_logv (log_domain=0x7f63d9aeb95b "libsoup", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1413
#1  0x00007f63dae02973 in g_log (log_domain=log_domain at entry=0x7f63d9aeb95b "libsoup", log_level=log_level at entry=G_LOG_LEVEL_CRITICAL, format=format at entry=0x7f63dae5aad0 "%s: assertion '%s' failed") at ../glib/gmessages.c:1451
#2  0x00007f63dae0319d in g_return_if_fail_warning (log_domain=log_domain at entry=0x7f63d9aeb95b "libsoup", pretty_function=pretty_function at entry=0x7f63d9aedb70 <__func__.6> "parse_one_cookie", expression=expression at entry=0x7f63d9aeda88 "origin == NULL || SOUP_URI_IS_VALID (origin)") at ../glib/gmessages.c:2883
#3  0x00007f63d9ab70b4 in parse_one_cookie (header=0x7f63d7e76b50 "ppkcookie1=testcookie", origin=0x555b87530190) at ../libsoup/cookies/soup-cookie.c:180
#4  0x00007f63e2607f1a in WebCore::NetworkStorageSession::setCookiesFromDOM(WTF::URL const&, WebCore::SameSiteInfo const&, WTF::URL const&, WTF::Optional<WTF::ObjectIdentifier<WebCore::FrameIdentifierType> >, WTF::Optional<WTF::ObjectIdentifier<WebCore::PageIdentifierType> >, WebCore::ShouldAskITP, WTF::String const&, WebCore::ShouldRelaxThirdPartyCookieBlocking) const () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#5  0x00007f63e049c42e in WebKit::NetworkConnectionToWebProcess::setCookiesFromDOM(WTF::URL const&, WebCore::SameSiteInfo const&, WTF::URL const&, WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WTF::ObjectIdentifier<WebCore::PageIdentifierType>, WebCore::ShouldAskITP, WTF::String const&, WebCore::ShouldRelaxThirdPartyCookieBlocking) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#6  0x00007f63e02ef345 in void IPC::handleMessage<Messages::NetworkConnectionToWebProcess::SetCookiesFromDOM, WebKit::NetworkConnectionToWebProcess, void (WebKit::NetworkConnectionToWebProcess::*)(WTF::URL const&, WebCore::SameSiteInfo const&, WTF::URL const&, WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WTF::ObjectIdentifier<WebCore::PageIdentifierType>, WebCore::ShouldAskITP, WTF::String const&, WebCore::ShouldRelaxThirdPartyCookieBlocking)>(IPC::Decoder&, WebKit::NetworkConnectionToWebProcess*, void (WebKit::NetworkConnectionToWebProcess::*)(WTF::URL const&, WebCore::SameSiteInfo const&, WTF::URL const&, WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WTF::ObjectIdentifier<WebCore::PageIdentifierType>, WebCore::ShouldAskITP, WTF::String const&, WebCore::ShouldRelaxThirdPartyCookieBlocking)) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#7  0x00007f63e02d77ec in WebKit::NetworkConnectionToWebProcess::didReceiveNetworkConnectionToWebProcessMessage(IPC::Connection&, IPC::Decoder&) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#8  0x00007f63e05eb25d in IPC::Connection::dispatchMessage(std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#9  0x00007f63e05ecbf1 in IPC::Connection::dispatchOneIncomingMessage() () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#10 0x00007f63de5449db in WTF::RunLoop::performWork() () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0
#11 0x00007f63de5b94a9 in WTF::RunLoop::RunLoop()::{lambda(void*)#1}::_FUN(void*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0
#12 0x00007f63de5b9f8f in WTF::RunLoop::{lambda(_GSource*, int (*)(void*), void*)#1}::_FUN(_GSource*, int (*)(void*), void*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0
#13 0x00007f63dadfadbf in g_main_dispatch (context=0x555b874c2170) at ../glib/gmain.c:3337
#14 g_main_context_dispatch (context=0x555b874c2170) at ../glib/gmain.c:4055
#15 0x00007f63dadfb168 in g_main_context_iterate (context=0x555b874c2170, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#16 0x00007f63dadfb483 in g_main_loop_run (loop=0x555b874c3200) at ../glib/gmain.c:4329
#17 0x00007f63de5ba0d8 in WTF::RunLoop::run() () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0
#18 0x00007f63e05d743a in WebKit::NetworkProcessMain(int, char**) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0
#19 0x00007f63da79d062 in __libc_start_main (main=0x555b872cf850 <main>, argc=3, argv=0x7ffe19ccc818, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe19ccc808) at ../csu/libc-start.c:308
#20 0x0000555b872cf88e in _start () at ../sysdeps/x86_64/start.S:120

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210420/8e036b68/attachment-0001.htm>


More information about the webkit-unassigned mailing list