Bug 207605
Summary: | [GTK][WPE] Some service workers tests crashing with NetworkProcess crashes | ||
---|---|---|---|
Product: | WebKit | Reporter: | Lauro Moura <lmoura> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bugs-noreply, zan |
Priority: | P2 | ||
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Lauro Moura
[GTK][WPE] WKPageClearAdClickAttribution completion handler does not run
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Lauro Moura
http/wpt/cache-storage/quota-third-party.https.html
http/tests/workers/service/registration-clear-redundant-worker.html
http/tests/websocket/tests/hybi/no-subprotocol.html
http/tests/workers/service/postmessage-after-terminate.https.html
Same stack, caused by no networkProcess being available when clearing the AdClick list:
STDERR: ASSERTION FAILED: Completion handler should always be called
STDERR: !m_function
STDERR: DerivedSources/ForwardingHeaders/wtf/CompletionHandler.h(53) : WTF::CompletionHandler<Out(In ...)>::~CompletionHandler() [with Out = void; In = {}]
STDERR: 1 0x7fcedf4af193 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.0.so.18(WTFCrash+0x9) [0x7fcedf4af193]
STDERR: 2 0x7fceecd3b0a2 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WTF::CompletionHandler<void ()>::~CompletionHandler()+0x4c) [0x7fceecd3b0a2]
STDERR: 3 0x7fceed731bad /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WKPageClearAdClickAttribution+0x62) [0x7fceed731bad]
STDERR: 4 0x55b9a730094a /home/slave/webkitgtk/gtk-linux-64-debug-tests/build/WebKitBuild/Debug/bin/WebKitTestRunner(+0x6294a) [0x55b9a730094a]
STDERR: 5 0x55b9a72f5738 /home/slave/webkitgtk/gtk-linux-64-debug-tests/build/WebKitBuild/Debug/bin/WebKitTestRunner(+0x57738) [0x55b9a72f5738]
STDERR: 6 0x55b9a7322a8d /home/slave/webkitgtk/gtk-linux-64-debug-tests/build/WebKitBuild/Debug/bin/WebKitTestRunner(+0x84a8d) [0x55b9a7322a8d]
STDERR: 7 0x55b9a72f8d63 /home/slave/webkitgtk/gtk-linux-64-debug-tests/build/WebKitBuild/Debug/bin/WebKitTestRunner(+0x5ad63) [0x55b9a72f8d63]
STDERR: 8 0x55b9a72f8f5b /home/slave/webkitgtk/gtk-linux-64-debug-tests/build/WebKitBuild/Debug/bin/WebKitTestRunner(+0x5af5b) [0x55b9a72f8f5b]
STDERR: 9 0x55b9a72f8f9c /home/slave/webkitgtk/gtk-linux-64-debug-tests/build/WebKitBuild/Debug/bin/WebKitTestRunner(+0x5af9c) [0x55b9a72f8f9c]
STDERR: 10 0x55b9a72f1bb2 /home/slave/webkitgtk/gtk-linux-64-debug-tests/build/WebKitBuild/Debug/bin/WebKitTestRunner(+0x53bb2) [0x55b9a72f1bb2]
STDERR: 11 0x55b9a7354c9c /home/slave/webkitgtk/gtk-linux-64-debug-tests/build/WebKitBuild/Debug/bin/WebKitTestRunner(+0xb6c9c) [0x55b9a7354c9c]
STDERR: 12 0x7fced75f709b /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7fced75f709b]
STDERR: 13 0x55b9a72e9e7a /home/slave/webkitgtk/gtk-linux-64-debug-tests/build/WebKitBuild/Debug/bin/WebKitTestRunner(+0x4be7a) [0x55b9a72e9e7a]
STDERR: ERROR: 0x7f3b35dea000 - WebLoaderStrategy::networkProcessCrashed: failing all pending resource loaders
STDERR: ../../Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp(501) : void WebKit::WebLoaderStrategy::networkProcessCrashed()
Running the list above with "--run-singly" shows some failures but no crashes. Then reusing WTR the crash appears.
Could not bisect, but maybe related to bug202195?
(In reply to Lauro Moura from comment #0)
> [GTK][WPE] WKPageClearAdClickAttribution completion handler does not run
Disregard. Clicked submit before it was ready.
Zan Dobersek
No longer crashing.