Bug 302189
| Summary: | RELEASE_ASSERT() under WebCore::Page::serviceWorkerGlobalObject | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | WebKit Extensions | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | timothy, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Chris Dumez
RELEASE_ASSERT() under WebCore::Page::serviceWorkerGlobalObject:
```
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread:
0 WebCore 0x1bc652a18 WTFCrashWithInfo(int, char const*, char const*, int) + 24 (/AppleInternal/Library/BuildRoots/4~CBNbugAVY4NwvDu7UBvAZ9iu0ihsUlcRUqB01_o/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.2.Internal.sdk/usr/local/include/wtf/Assertions.h:969) [inlined]
1 WebCore 0x1bc652a18 WebCore::Page::serviceWorkerGlobalObject(WebCore::DOMWrapperWorld&) + 364 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/page/Page.cpp:5143)
2 WebKit 0x1b9aef274 WebKit::WebFrame::jsContextForServiceWorkerWorld(WebCore::DOMWrapperWorld&) + 68 (/Library/Caches/com.apple.xbs/Sources/WebKit/Source/WebKit/WebProcess/WebPage/WebFrame.cpp:916)
3 WebKit 0x1b988cf34 _ZZN6WebKit24WebExtensionContextProxy34enumerateFramesAndNamespaceObjectsERKN3WTF8FunctionIFvRNS_8WebFrameERNS_24WebExtensionAPINamespaceEEEEONS1_3RefIN7WebCore15DOMWrapperWorldENS1_12RawPtrTraitsISD_EENS1_21DefaultRefDerefTraitsISD_EEEEENK3$_0clIS3_EEDaRT_ + 68 (/Library/Caches/com.apple.xbs/Sources/WebKit/Source/WebKit/WebProcess/Extensions/WebExtensionContextProxy.cpp:202) [inlined]
4 WebKit 0x1b988cf34 WTF::Detail::CallableWrapper<WebKit::WebExtensionContextProxy::enumerateFramesAndNamespaceObjects(WTF::Function<void (WebKit::WebFrame&, WebKit::WebExtensionAPINamespace&)> const&, WTF::Ref<WebCore::DOMWrapperWorld, WTF::RawPtrTraits<WebCore::DOMWrapperWorld>, WTF::DefaultRefDerefTraits<WebCore::DOMWrapperWorld>>&&)::$_0, void, WebKit::WebFrame&>::call(WebKit::WebFrame&) + 104 (/AppleInternal/Library/BuildRoots/4~CBNmugC9bzWW7e4TdJHOAxRpE2rQ8-6KbiMOKF0/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.2.Internal.sdk/usr/local/include/wtf/Function.h:53)
5 WebKit 0x1b9889364 WTF::Function<void (WebKit::WebFrame&)>::operator()(WebKit::WebFrame&) const + 40 (/AppleInternal/Library/BuildRoots/4~CBNmugC9bzWW7e4TdJHOAxRpE2rQ8-6KbiMOKF0/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.2.Internal.sdk/usr/local/include/wtf/Function.h:82) [inlined]
6 WebKit 0x1b9889364 WTF::WeakHashSet<WebKit::WebFrame, WTF::DefaultWeakPtrImpl, (WTF::EnableWeakPtrThreadingAssertions)1>::forEach(WTF::Function<void (WebKit::WebFrame&)> const&) + 424 (/AppleInternal/Library/BuildRoots/4~CBNmugC9bzWW7e4TdJHOAxRpE2rQ8-6KbiMOKF0/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.2.Internal.sdk/usr/local/include/wtf/WeakHashSet.h:206)
7 WebKit 0x1b988915c WebKit::WebExtensionContextProxy::enumerateFramesAndNamespaceObjects(WTF::Function<void (WebKit::WebFrame&, WebKit::WebExtensionAPINamespace&)> const&, WTF::Ref<WebCore::DOMWrapperWorld, WTF::RawPtrTraits<WebCore::DOMWrapperWorld>, WTF::DefaultRefDerefTraits<WebCore::DOMWrapperWorld>>&&) + 92 (/Library/Caches/com.apple.xbs/Sources/WebKit/Source/WebKit/WebProcess/Extensions/WebExtensionContextProxy.cpp:197)
8 WebKit 0x1b9001864 WebKit::WebExtensionContextProxy::dispatchStorageChangedEvent(WTF::String const&, WebKit::WebExtensionDataType, WebKit::WebExtensionContentWorldType) + 460 (/Library/Caches/com.apple.xbs/Sources/WebKit/Source/WebKit/WebProcess/Extensions/API/Cocoa/WebExtensionAPIStorageCocoa.mm:118)
```
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
<rdar://164059424>
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/53617
EWS
Committed 302758@main (acda47626961): <https://commits.webkit.org/302758@main>
Reviewed commits have been landed. Closing PR #53617 and removing active labels.