Bug 296237
| Summary: | Crash under SWServer::forEachClientForOrigin() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | Service Workers | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Chris Dumez
Crash under SWServer::forEachClientForOrigin():
```
==> 4 WTF::Detail::CallableWrapper<WebCore::SWServer::advancedPrivacyProtectionsFromClient(WebCore::ClientOrigin const&) const::$_0, void, WebCore::ServiceWorkerClientData const&>::call(WebCore::ServiceWorkerClientData const&) (WebCore) <==
4 WTF::Function<void (WebCore::ServiceWorkerClientData const&)>::operator()(WebCore::ServiceWorkerClientData const&) const (WebCore)
4 void WebCore::forEachClientForOriginImpl<WebCore::ServiceWorkerClientData const, WTF::HashMap<WebCore::ProcessQualified<WTF::UUID>, WTF::UniqueRef<WebCore::ServiceWorkerClientData>, WTF::DefaultHash<WebCore::ProcessQualified<WTF::UUID>>, WTF::HashTraits<WebCore::ProcessQualified<WTF::UUID>>, WTF::HashTraits<WTF::UniqueRef<WebCore::ServiceWorkerClientData>>, WTF::HashTableTraits, (WTF::ShouldValidateKey)1, WTF::FastMalloc> const>(WTF::Vector<WebCore::ProcessQualified<WTF::UUID>, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> const&, WTF::HashMap<WebCore::ProcessQualified<WTF::UUID>, WTF::UniqueRef<WebCore::ServiceWorkerClientData>, WTF::DefaultHash<WebCore::ProcessQualified<WTF::UUID>>, WTF::HashTraits<WebCore::ProcessQualified<WTF::UUID>>, WTF::HashTraits<WTF::UniqueRef<WebCore::ServiceWorkerClientData>>, WTF::HashTableTraits, (WTF::ShouldValidateKey)1, WTF::FastMalloc> const&, WTF::Function<void (WebCore::ServiceWorkerClientData const&)> const&) (WebCore)
4 WebCore::SWServer::forEachClientForOrigin(WebCore::ClientOrigin const&, WTF::Function<void (WebCore::ServiceWorkerClientData const&)> const&) const (WebCore)
4 WebCore::SWServer::advancedPrivacyProtectionsFromClient(WebCore::ClientOrigin const&) const (WebCore)
4 WebKit::WebSWServerConnection::controlClient(WebKit::NetworkResourceLoadParameters const&, WebCore::SWServerRegistration&, WebCore::ResourceRequest const&, WTF::ObjectIdentifierGeneric<WebCore::ProcessIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>) (WebKit)
4 WebKit::WebSWServerConnection::createFetchTask(WebKit::NetworkResourceLoader&, WebCore::ResourceRequest const&) (WebKit)
4 WebKit::NetworkConnectionToWebProcess::createFetchTask(WebKit::NetworkResourceLoader&, WebCore::ResourceRequest const&) (WebKit)
4 WebKit::NetworkResourceLoader::startWithServiceWorker() (WebKit)
4 WebKit::NetworkConnectionToWebProcess::scheduleResourceLoad(WebKit::NetworkResourceLoadParameters&&, std::__1::optional<WTF::ObjectIdentifierGeneric<WebKit::NetworkResourceLoadIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>>) (WebKit)
```
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
<rdar://155902432>
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/48294
EWS
Committed 297657@main (f766bb18d13a): <https://commits.webkit.org/297657@main>
Reviewed commits have been landed. Closing PR #48294 and removing active labels.