WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
203036
REGRESSION(
r251124
): [GTK] Crashes in service workers tests
https://bugs.webkit.org/show_bug.cgi?id=203036
Summary
REGRESSION(r251124): [GTK] Crashes in service workers tests
Carlos Alberto Lopez Perez
Reported
2019-10-16 09:14:41 PDT
Since
r251124
several service worker related tests crash on platform GTK. Here are different crash logs from the debug bot obtained on
r251177
:
https://build.webkit.org/results/GTK%20Linux%2064-bit%20Debug%20(Tests)/r251177%20(5409)/results.html
All related to service workers crash on the same part. This is the relevant part of the crash, piped to c++filt: Thread 1 (Thread 0x7f8453ab49c0 (LWP 32796)): #0 0x00007f8469f9c1c6 in WebKit::ServiceWorkerFetchTask::serviceWorkerIdentifier() const (this=0x0) at ../../Source/WebKit/NetworkProcess/ServiceWorker/ServiceWorkerFetchTask.h:73 #1 0x00007f8469fa2dc4 in WebKit::WebSWServerConnection::<lambda(bool)>::operator()(bool) (__closure=0x7ffc38a41310, success=true) at ../../Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.cpp:189 #2 0x00007f8469fa2f51 in WebKit::WebSWServerConnection::startFetch(WebKit::ServiceWorkerFetchTask&, WebCore::SWServerWorker&) (this=0x7f84531d6090, task=..., worker=...) at ../../Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.cpp:214 #3 0x00007f8469fa2acc in WebKit::WebSWServerConnection::createFetchTask(WebKit::NetworkResourceLoader&) (this=0x7f84531d6090, loader=...) at ../../Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.cpp:159 #4 0x00007f8469f093af in WebKit::NetworkResourceLoader::startWithServiceWorker(WebKit::WebSWServerConnection*) (this=0x7f8453149500, swConnection=0x7f84531d6090) at ../../Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp:1229 #5 0x00007f8469ebbcff in WebKit::NetworkConnectionToWebProcess::scheduleResourceLoad(WebKit::NetworkResourceLoadParameters&&) (this=0x7f84531bd000, loadParameters=...) at ../../Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp:411 #6 0x00007f8469af5c65 in void IPC::callMemberFunctionImpl<WebKit::NetworkConnectionToWebProcess, void (WebKit::NetworkConnectionToWebProcess::*)(WebKit::NetworkResourceLoadParameters&&), std::tuple<WebKit::NetworkResourceLoadParameters>, 0ul>(WebKit::NetworkConnectionToWebProcess*, void (WebKit::NetworkConnectionToWebProcess::*)(WebKit::NetworkResourceLoadParameters&&), std::tuple<WebKit::NetworkResourceLoadParameters>&&, std::integer_sequence<unsigned long, 0ul>) (object=0x7f84531bd000, function=(void (WebKit::NetworkConnectionToWebProcess::*)(WebKit::NetworkConnectionToWebProcess * const, WebKit::NetworkResourceLoadParameters &&)) 0x7f8469ebbb52 <WebKit::NetworkConnectionToWebProcess::scheduleResourceLoad(WebKit::NetworkResourceLoadParameters&&)>, args=...) at ../../Source/WebKit/Platform/IPC/HandleMessage.h:41 #7 0x00007f8469af0203 in void IPC::callMemberFunction<WebKit::NetworkConnectionToWebProcess, void (WebKit::NetworkConnectionToWebProcess::*)(WebKit::NetworkResourceLoadParameters&&), std::tuple<WebKit::NetworkResourceLoadParameters>, std::integer_sequence<unsigned long, 0ul> >(std::tuple<WebKit::NetworkResourceLoadParameters>&&, WebKit::NetworkConnectionToWebProcess*, void (WebKit::NetworkConnectionToWebProcess::*)(WebKit::NetworkResourceLoadParameters&&)) (args=..., object=0x7f84531bd000, function=(void (WebKit::NetworkConnectionToWebProcess::*)(WebKit::NetworkConnectionToWebProcess * const, WebKit::NetworkResourceLoadParameters &&)) 0x7f8469ebbb52 <WebKit::NetworkConnectionToWebProcess::scheduleResourceLoad(WebKit::NetworkResourceLoadParameters&&)>) at ../../Source/WebKit/Platform/IPC/HandleMessage.h:47 #8 0x00007f8469ae853f in void IPC::handleMessage<Messages::NetworkConnectionToWebProcess::ScheduleResourceLoad, WebKit::NetworkConnectionToWebProcess, void (WebKit::NetworkConnectionToWebProcess::*)(WebKit::NetworkResourceLoadParameters&&)>(IPC::Decoder&, WebKit::NetworkConnectionToWebProcess*, void (WebKit::NetworkConnectionToWebProcess::*)(WebKit::NetworkResourceLoadParameters&&)) (decoder=..., object=0x7f84531bd000, function=(void (WebKit::NetworkConnectionToWebProcess::*)(WebKit::NetworkConnectionToWebProcess * const, WebKit::NetworkResourceLoadParameters &&)) 0x7f8469ebbb52 <WebKit::NetworkConnectionToWebProcess::scheduleResourceLoad(WebKit::NetworkResourceLoadParameters&&)>) at ../../Source/WebKit/Platform/IPC/HandleMessage.h:120 #9 0x00007f8469ae26bc in WebKit::NetworkConnectionToWebProcess::didReceiveNetworkConnectionToWebProcessMessage(IPC::Connection&, IPC::Decoder&) (this=0x7f84531bd000, connection=..., decoder=...) at DerivedSources/WebKit/NetworkConnectionToWebProcessMessageReceiver.cpp:286 #10 0x00007f8469eba8d8 in WebKit::NetworkConnectionToWebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&) (this=0x7f84531bd000, connection=..., decoder=...) at ../../Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp:151 #11 0x00007f846a0dfc2e in IPC::Connection::dispatchMessage(IPC::Decoder&) (this=0x7f84531e61c0, decoder=...) at ../../Source/WebKit/Platform/IPC/Connection.cpp:949 #12 0x00007f846a0e007e in IPC::Connection::dispatchMessage(std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >) (this=0x7f84531e61c0, message=std::unique_ptr<IPC::Decoder> = {...}) at ../../Source/WebKit/Platform/IPC/Connection.cpp:1001 #13 0x00007f846a0e0572 in IPC::Connection::dispatchOneIncomingMessage() (this=0x7f84531e61c0) at ../../Source/WebKit/Platform/IPC/Connection.cpp:1070 #14 0x00007f846a0df96c in IPC::Connection::<lambda()>::operator()(void) (__closure=0x7f84531bccc8) at ../../Source/WebKit/Platform/IPC/Connection.cpp:926 #15 0x00007f846a0e526e in WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::unique_ptr<IPC::Decoder>)::<lambda()>, void>::call(void) (this=0x7f84531bccc0) at DerivedSources/ForwardingHeaders/wtf/Function.h:52 #16 0x00007f8469a9d32b in WTF::Function<void ()>::operator()() const (this=0x7ffc38a422a8) at DerivedSources/ForwardingHeaders/wtf/Function.h:79 #17 0x00007f845dbdfb13 in WTF::RunLoop::performWork() (this=0x7f84531f8000) at ../../Source/WTF/wtf/RunLoop.cpp:107 #18 0x00007f845dc560b0 in WTF::RunLoop::<lambda(gpointer)>::operator()(gpointer) const (__closure=0x0, userData=0x7f84531f8000) at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:68 #19 0x00007f845dc560d4 in WTF::RunLoop::<lambda(gpointer)>::_FUN(gpointer) () at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:70 #20 0x00007f845dc56062 in WTF::<lambda(GSource*, GSourceFunc, gpointer)>::operator()(GSource *, GSourceFunc, gpointer) const (__closure=0x0, source=0x55bbef7a72d0, callback=0x7f845dc560b7 <WTF::RunLoop::<lambda(gpointer)>::_FUN(gpointer)>, userData=0x7f84531f8000) at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:45 #21 0x00007f845dc56092 in WTF::<lambda(GSource*, GSourceFunc, gpointer)>::_FUN(GSource *, GSourceFunc, gpointer) () at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:46 #22 0x00007f8456ed16b8 in g_main_dispatch () at ../../Source/glib-2.58.1/glib/gmain.c:3182 #23 g_main_context_dispatch () at ../../Source/glib-2.58.1/glib/gmain.c:3847 #24 0x00007f8456ed1a78 in g_main_context_iterate () at ../../Source/glib-2.58.1/glib/gmain.c:3920 #25 0x00007f8456ed1d62 in g_main_loop_run () at ../../Source/glib-2.58.1/glib/gmain.c:4116 #26 0x00007f845dc5659d in WTF::RunLoop::run() () at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:96 #27 0x00007f846a0d495e in int WebKit::AuxiliaryProcessMain<WebKit::NetworkProcess, WebKit::NetworkProcessMain>(int, char**) (argc=3, argv=0x7ffc38a42698) at ../../Source/WebKit/Shared/unix/AuxiliaryProcessMain.h:66 #28 0x00007f846a0c7258 in WebKit::NetworkProcessMainUnix (argc=3, argv=0x7ffc38a42698) at ../../Source/WebKit/NetworkProcess/soup/NetworkProcessMainSoup.cpp:57 #29 0x000055bbee9aecc8 in main (argc=3, argv=0x7ffc38a42698) at ../../Source/WebKit/NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp:42 Note that this=NULL on #0
Attachments
extended crash log for test http/tests/workers/service/image-fetch.html with a debug build on r251187
(99.80 KB, text/plain)
2019-10-16 09:23 PDT
,
Carlos Alberto Lopez Perez
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Carlos Alberto Lopez Perez
Comment 1
2019-10-16 09:23:10 PDT
Created
attachment 381073
[details]
extended crash log for test http/tests/workers/service/image-fetch.html with a debug build on
r251187
I'm attaching a more detailed crash log with the values of variables. Has been obtained on a debug build on
r251187
when running the layout test http/tests/workers/service/image-fetch.html On stderr this was printed: 16:19:20.554 119655 worker/0 http/tests/workers/service/image-fetch.html crashed, (stderr lines): 16:19:20.554 119655 ERROR: Failed to initialize the WebKit network disk cache 16:19:20.554 119655 ../../Source/WebKit/NetworkProcess/NetworkSession.cpp(105) : WebKit::NetworkSession::NetworkSession(WebKit::NetworkProcess&, const WebKit::NetworkSessionCreationParameters&) 16:19:20.554 119655 ERROR: Failed to initialize the WebKit network disk cache 16:19:20.554 119655 ../../Source/WebKit/NetworkProcess/NetworkSession.cpp(105) : WebKit::NetworkSession::NetworkSession(WebKit::NetworkProcess&, const WebKit::NetworkSessionCreationParameters&) 16:19:20.555 119655 ERROR: Failed to initialize the WebKit network disk cache 16:19:20.555 119655 ../../Source/WebKit/NetworkProcess/NetworkSession.cpp(105) : WebKit::NetworkSession::NetworkSession(WebKit::NetworkProcess&, const WebKit::NetworkSessionCreationParameters&) 16:19:20.555 119655 ERROR: Failed to initialize the WebKit network disk cache 16:19:20.555 119655 ../../Source/WebKit/NetworkProcess/NetworkSession.cpp(105) : WebKit::NetworkSession::NetworkSession(WebKit::NetworkProcess&, const WebKit::NetworkSessionCreationParameters&) 16:19:20.555 119655 ../../Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp(478) : void WebKit::WebLoaderStrategy::networkProcessCrashed() 16:19:20.555 119655 [1/1] http/tests/workers/service/image-fetch.html failed unexpectedly (WebKitNetworkProcess crashed [pid=119756])
Carlos Alberto Lopez Perez
Comment 2
2019-10-18 04:10:43 PDT
This has been fixed by
r251278
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug