You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kingfisher causes a SwiftUI app to crash when scrolling a List by clicking the scroll bar on macOS Sequoia. I’ve created a sample project that demonstrates the issue and I’m also attaching a screen recording. The crash stops when we remove KFImage from the list’s cells.
No outputs are printed to the console when it crashes; only this error is shown:
Thread 1: EXC_BAD_ACCESS (code=1, address=0x43938ef28660)
A bad access to memory terminated the process.
Steps to Reproduce
Download the attached Xcode project, open it, and launch the app.
Scroll down the list to reveal the scroll bar.
Move your mouse cursor to the scroll bar and click it to quickly scroll to the selected location.
Since the crash stack only includes the SwiftUI Attributed Graph and not Kingfisher, I suspect the issue lies within SwiftUI, possibly related to bad memory access. I’ll investigate further to identify the root cause, but fixes in Kingfisher would likely only serve as workarounds rather than addressing the core problem. It might also be worth reporting this to Apple.
Kingfisher causes a SwiftUI app to crash when scrolling a
List
by clicking the scroll bar on macOS Sequoia. I’ve created a sample project that demonstrates the issue and I’m also attaching a screen recording. The crash stops when we removeKFImage
from the list’s cells.No outputs are printed to the console when it crashes; only this error is shown:
Steps to Reproduce
System Info
Stack trace
KingfisherTest.zip
Screen Recording 2025-02-21 at 12.28.21.mov.zip
The text was updated successfully, but these errors were encountered: