Bug 274888 - [WK1] iOS WK1 application crashes after loading media
Summary: [WK1] iOS WK1 application crashes after loading media
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jean-Yves Avenard [:jya]
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-05-29 23:30 PDT by Jean-Yves Avenard [:jya]
Modified: 2024-05-30 12:14 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Yves Avenard [:jya] 2024-05-29 23:30:20 PDT
```
Thread 0 Crashed::   Dispatch queue: com.apple.main-thread
0   WebCore                       	       0x1ab180d3c WTFCrashWithInfo(int, char const*, char const*, int) + 24 (/AppleInternal/Library/BuildRoots/38d85185-139b-11ef-b242-6aba2dc7bdd7/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.0.Internal.sdk/usr/local/include/wtf/Assertions.h:835) [inlined]
1   WebCore                       	       0x1ab180d3c WebCore::MemoryCache::singleton() + 24 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/loader/cache/MemoryCache.cpp:58) [inlined]
2   WebCore                       	       0x1ab180d3c WebCore::CachedResource::removeClient(WebCore::CachedResourceClient&) + 1276 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/loader/cache/CachedResource.cpp:588)
3   WebCore                       	       0x1ab129e88 WebCore::MediaResource::shutdown() + 200 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/loader/MediaResourceLoader.cpp:223)
4   WebCore                       	       0x1abb01af0 -[WebCoreNSURLSessionDataTask _cancel] + 128 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.mm:768)
5   WebCore                       	       0x1abb04e98 -[WebCoreNSURLSessionDataTask cancel]::$_15::operator()() + 40 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.mm:853) [inlined]
6   WebCore                       	       0x1abb04e98 WTF::Detail::CallableWrapper<-[WebCoreNSURLSessionDataTask cancel]::$_15, void>::call() + 64 (/AppleInternal/Library/BuildRoots/38d85185-139b-11ef-b242-6aba2dc7bdd7/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.0.Internal.sdk/usr/local/include/wtf/Function.h:53)
7   JavaScriptCore                	       0x1ad0321c8 WTF::Function<void ()>::operator()() const + 36 (/Library/Caches/com.apple.xbs/Sources/WTF/Source/WTF/wtf/Function.h:82) [inlined]
8   JavaScriptCore                	       0x1ad0321c8 WTF::(anonymous namespace)::DispatchWorkItem::operator()() + 36 (/Library/Caches/com.apple.xbs/Sources/WTF/Source/WTF/wtf/cocoa/WorkQueueCocoa.cpp:40) [inlined]
9   JavaScriptCore                	       0x1ad0321c8 void WTF::dispatchWorkItem<WTF::(anonymous namespace)::DispatchWorkItem>(void*) + 60 (/Library/Caches/com.apple.xbs/Sources/WTF/Source/WTF/wtf/cocoa/WorkQueueCocoa.cpp:48)
10  libdispatch.dylib             	       0x19dd12160 _dispatch_client_callout + 20 (/Library/Caches/com.apple.xbs/Sources/libdispatch/src/object.m:576)
11  libdispatch.dylib             	       0x19dd20a70 _dispatch_continuation_invoke_inline + 224 (/Library/Caches/com.apple.xbs/Sources/libdispatch/src/inline_internal.h:2666) [inlined]
12  libdispatch.dylib             	       0x19dd20a70 _dispatch_continuation_pop_inline + 492 (/Library/Caches/com.apple.xbs/Sources/libdispatch/src/inline_internal.h:2714) [inlined]
13  libdispatch.dylib             	       0x19dd20a70 _dispatch_main_queue_drain + 980 (/Library/Caches/com.apple.xbs/Sources/libdispatch/src/queue.c:8085)
14  libdispatch.dylib             	       0x19dd2068c _dispatch_main_queue_callback_4CF + 44 (/Library/Caches/com.apple.xbs/Sources/libdispatch/src/queue.c:8245)
15  CoreFoundation                	       0x195ec31c8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (/Library/Caches/com.apple.xbs/Sources/CoreFoundation/CoreFoundation/RunLoop.subproj/CFRunLoop.c:1775)
16  CoreFoundation                	       0x195ec03e8 __CFRunLoopRun + 2012 (/Library/Caches/com.apple.xbs/Sources/CoreFoundation/CoreFoundation/RunLoop.subproj/CFRunLoop.c:3144)
17  CoreFoundation                	       0x195ebf774 CFRunLoopRunSpecific + 608 (/Library/Caches/com.apple.xbs/Sources/CoreFoundation/CoreFoundation/RunLoop.subproj/CFRunLoop.c:3415)
18  GraphicsServices              	       0x1e1d241c4 GSEventRunModal + 164 (/Library/Caches/com.apple.xbs/Sources/GraphicsServices/GSEvent.c:2196)
19  UIKitCore                     	       0x198a21118 -[UIApplication _run] + 888 (/Library/Caches/com.apple.xbs/Sources/UIKitCore/UIApplication.m:3808)
20  UIKitCore                     	       0x198acf4d4 UIApplicationMain + 340 (/Library/Caches/com.apple.xbs/Sources/UIKitCore/UIApplication.m:5402)
21  Ayat                          	       0x10019354c
22  dyld                          	       0x1bbc39da0 start + 2752 (/Library/Caches/com.apple.xbs/Sources/dyld/dyld/dyldMain.cpp:1328)
```
Comment 1 Jean-Yves Avenard [:jya] 2024-05-29 23:30:31 PDT
rdar://128549043
Comment 2 Jean-Yves Avenard [:jya] 2024-05-30 02:42:07 PDT
Pull request: https://github.com/WebKit/WebKit/pull/29295
Comment 3 EWS 2024-05-30 12:14:26 PDT
Committed 279535@main (0a505cbe327d): <https://commits.webkit.org/279535@main>

Reviewed commits have been landed. Closing PR #29295 and removing active labels.