Crash: Sila: specialized AnimatedImageCache.withMutation<A, B>(keyPath:_:) + 48
agg23 opened this issue · 1 comments
agg23 commented
Automatically reported by a few users, mostly on TestFlight, but at least one instance on 1.0.1 (first App Store release).
Thread 1 Crashed:
0 libsystem_kernel.dylib 0x000000024a4e83ac __pthread_kill + 8
1 libsystem_pthread.dylib 0x000000024a5c43c4 pthread_kill + 228 (pthread.c:1717)
2 libsystem_c.dylib 0x000000024a451bc0 abort + 160 (abort.c:118)
3 libsystem_malloc.dylib 0x000000024a5877d0 malloc_vreport + 896 (malloc_printf.c:251)
4 libsystem_malloc.dylib 0x000000024a587a60 malloc_zone_error + 104 (malloc_printf.c:319)
5 libsystem_malloc.dylib 0x000000024a563db4 free_small_botch + 40 (magazine_small.c:2201)
6 libswiftCore.dylib 0x0000000249a4a6cc _swift_release_dealloc + 56 (HeapObject.cpp:832)
7 libswiftCore.dylib 0x0000000249a4b714 bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 136 (RefCount.h:0)
8 Sila 0x00000001024e3684 partial apply for closure #1 in AnimatedImageCache.imageHashes.setter + 40
9 Sila 0x00000001024e3640 partial apply for closure #1 in AnimatedImageCache.imageHashes.setter + 12
10 libswiftObservation.dylib 0x0000000249dc5018 ObservationRegistrar.withMutation<A, B, C>(of:keyPath:_:) + 100 (ObservationRegistrar.swift:364)
11 Sila 0x00000001024e1598 specialized AnimatedImageCache.withMutation<A, B>(keyPath:_:) + 48 (@__swiftmacro_20AsyncAnimatedImageUI0bC5Cache10ObservablefMm_.swift:13)
12 Sila 0x00000001024e1598 AnimatedImageCache.imageHashes.setter + 100 (@__swiftmacro_20AsyncAnimatedImageUI0bC5CacheC11imageHashes18ObservationTrackedfMa_.swift:11)
13 Sila 0x00000001024e1598 AnimatedImageCache.update(url:imageHash:) + 480 (AsyncAnimatedImage.swift:172)
14 Sila 0x00000001024dec38 protocol witness for GIFAnimatableDelegate.update(url:imageHash:) in conformance AnimatedImageCache + 36 (<compiler-generated>:0)
15 Sila 0x00000001024dec38 closure #1 in GIFAnimationContainer.animate(withGIFURL:loopCount:preparationBlock:animationBlock:loopBlock:) + 500 (AsyncAnimatedImage.swift:53)
16 Sila 0x00000001024e38a1 partial apply for closure #1 in GIFAnimationContainer.animate(withGIFURL:loopCount:preparationBlock:animationBlock:loopBlock:) + 1 (<compiler-generated>:0)
17 Sila 0x00000001024e1ab1 specialized thunk for @escaping @callee_guaranteed @Sendable @async () -> (@out A) + 1 (<compiler-generated>:0)
18 Sila 0x00000001024e398d partial apply for specialized thunk for @escaping @callee_guaranteed @Sendable @async () -> (@out A) + 1 (<compiler-generated>:0)
19 libswift_Concurrency.dylib 0x0000000249f4c249 completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) + 1 (Task.cpp:463)
agg23 commented
This is still occurring with some frequency. Likely the most common crash.