WKWebsiteDataStore.allDataStoreIdentifiers crashes

Whenever I call allDataStoreIdentifiers the app just crashes, tested on both iOS 26.1 simulator and iOS 18.7 device.

#0	0x00000001b0d958fc in WTF::RunLoop::dispatch ()

#1	0x00000001af8e0650 in WTF::Detail::CallableWrapper<WebKit::WebsiteDataStore::fetchAllDataStoreIdentifiers(WTF::CompletionHandler<void (WTF::Vector<WTF::UUID, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&)::$_0, void>::call ()

#2	0x00000001b0d96eb4 in WTF::dispatchWorkItem<WTF::(anonymous namespace)::DispatchWorkItem> ()

#3	0x000000010bfd6064 in _dispatch_client_callout ()

#4	0x000000010bfc491c in _dispatch_lane_serial_drain ()

#5	0x000000010bfc55a4 in _dispatch_lane_invoke ()

#6	0x000000010bfd1894 in _dispatch_root_queue_drain_deferred_wlh ()

#7	0x000000010bfd0eb0 in _dispatch_workloop_worker_thread ()

#8	0x0000000223cbca0c in _pthread_wqthread ()

Enqueued from com.apple.main-thread (Thread 1) Queue : com.apple.main-thread (serial)

#0	0x000000010bfc16f0 in dispatch_async_f ()

#1	0x00000001af8df11c in WebKit::WebsiteDataStore::fetchAllDataStoreIdentifiers ()

#2	0x00000001af8dff80 in +[WKWebsiteDataStore(WKPrivate) _fetchAllIdentifiers:] ()

#3	0x0000000104b91714 in closure #1 in closure #1 in closure #1 in SystemHealthLiveClient.load() at /Users/superx3man/Documents/Code/chefaio-app-ios/ChefAIO/Sources/View/HomeTabs/Settings/SystemHealth/SystemHealth+Client.swift:29

I'm wondering if there's a workaround on this crash.

Thanks for the post, looking at your crash I'm wondering what tool are you using to develop? Do you have a simple focused project that reproduces the issue?

Kindly submit a comprehensive crash report, adhering to the guidelines outlined in Posting a Crash Report.

https://developer.apple.com/forums/thread/688669

Albert
  Worldwide Developer Relations.

WKWebsiteDataStore.allDataStoreIdentifiers crashes
 
 
Q