Bug 180501 - ASSERTION FAILED: registration
Summary: ASSERTION FAILED: registration
Status: RESOLVED DUPLICATE of bug 180481
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-12-06 13:55 PST by Matt Lewis
Modified: 2017-12-06 13:58 PST (History)
5 users (show)

See Also:


Attachments
Crash Log (58.05 KB, text/plain)
2017-12-06 13:55 PST, Matt Lewis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Lewis 2017-12-06 13:55:56 PST
Created attachment 328620 [details]
Crash Log

This assertion is being seen with the test imported/w3c/web-platform-tests/service-workers/service-worker/fetch-csp.https.html however in the crash log it is blaming CRASHING TEST: imported/w3c/css/css-color-3/t425-hsla-values-b-expected.html
This is an expected file and the associated test is imported/w3c/css/css-color-3/t425-hsla-values-b.xht however this seems like the wrong test is being blamed in the crash.

https://build.webkit.org/results/Apple%20High%20Sierra%20Debug%20WK2%20(Tests)/r225574%20(1134)/results.html

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=imported%2Fw3c%2Fweb-platform-tests%2Fservice-workers%2Fservice-worker%2Ffetch-csp.https.html


stderr:

ASSERTION FAILED: registration
/Volumes/Data/slave/highsierra-debug/build/Source/WebCore/workers/service/server/SWServerWorker.cpp(144) : void WebCore::SWServerWorker::setHasPendingEvents(bool)
1   0x1217a13ed WTFCrash
2   0x1152421d4 WebCore::SWServerWorker::setHasPendingEvents(bool)
3   0x115242128 WebCore::SWServerToContextConnection::setServiceWorkerHasPendingEvents(WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType>, bool)
4   0x10d9be1c9 void IPC::callMemberFunctionImpl<WebKit::WebSWServerToContextConnection, void (WebCore::SWServerToContextConnection::*)(WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType>, bool), std::__1::tuple<WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType>, bool>, 0ul, 1ul>(WebKit::WebSWServerToContextConnection*, void (WebCore::SWServerToContextConnection::*)(WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType>, bool), std::__1::tuple<WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType>, bool>&&, std::__1::integer_sequence<unsigned long, 0ul, 1ul>)
5   0x10d9bdf60 void IPC::callMemberFunction<WebKit::WebSWServerToContextConnection, void (WebCore::SWServerToContextConnection::*)(WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType>, bool), std::__1::tuple<WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType>, bool>, std::__1::integer_sequence<unsigned long, 0ul, 1ul> >(std::__1::tuple<WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType>, bool>&&, WebKit::WebSWServerToContextConnection*, void (WebCore::SWServerToContextConnection::*)(WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType>, bool))
6   0x10d9bc99b void IPC::handleMessage<Messages::WebSWServerToContextConnection::SetServiceWorkerHasPendingEvents, WebKit::WebSWServerToContextConnection, void (WebCore::SWServerToContextConnection::*)(WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType>, bool)>(IPC::Decoder&, WebKit::WebSWServerToContextConnection*, void (WebCore::SWServerToContextConnection::*)(WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType>, bool))
7   0x10d9bc01c WebKit::WebSWServerToContextConnection::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
8   0x10d2819f4 WebKit::StorageToWebProcessConnection::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
9   0x10cd0d1e3 IPC::Connection::dispatchMessage(IPC::Decoder&)
10  0x10cd027c8 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)
11  0x10cd0d7ea IPC::Connection::dispatchOneMessage()
12  0x10cd25afd IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_14::operator()()
13  0x10cd25a59 WTF::Function<void ()>::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_14>::call()
14  0x1217ba2fb WTF::Function<void ()>::operator()() const
15  0x121801de3 WTF::RunLoop::performWork()
16  0x121802664 WTF::RunLoop::performWork(void*)
17  0x7fff49329711 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
18  0x7fff493e139c __CFRunLoopDoSource0
19  0x7fff4930c700 __CFRunLoopDoSources0
20  0x7fff4930bb7d __CFRunLoopRun
21  0x7fff4930b3d7 CFRunLoopRunSpecific
22  0x7fff4b405b76 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
23  0x7fff4b405a4e -[NSRunLoop(NSRunLoop) run]
24  0x7fff70ecd403 _xpc_objc_main
25  0x7fff70ecc082 xpc_main
26  0x10cbca12b main
27  0x7fff70c00115 start
LEAK: 2 WebPageProxy
Comment 1 Radar WebKit Bug Importer 2017-12-06 13:56:26 PST
<rdar://problem/35891170>
Comment 2 youenn fablet 2017-12-06 13:58:49 PST
Probably fixed through https://bugs.webkit.org/show_bug.cgi?id=180481.
Marking it as duplicate and let's reopen it if not fixed after https://trac.webkit.org/changeset/225581

*** This bug has been marked as a duplicate of bug 180481 ***