SDWebImage / SDWebImageSwiftUI

SwiftUI Image loading and Animation framework powered by SDWebImage
https://sdwebimage.github.io/SDWebImageSwiftUI
MIT License
2.14k stars 219 forks source link

EXC_BAD_ACCESS crash during ImageManager load #189

Open chinedufn opened 3 years ago

chinedufn commented 3 years ago

Hey!

I'm new to the Swift world, so apologies if I give the wrong information or ask the wrong questions.


My application just crashed and the stack trace seems to suggest that something happened in SDWebImageSwiftUI. Here's a screenshot:

image

This has never happened before, so it's possible that it's a race condition or some other hard to detect issue.

Here's my SDWebImageSwiftUI call

            WebImage(url: URL(string: thumbnailUrl))
                .placeholder(Image(systemName: "photo"))
                .resizable()
                .indicator(.activity)
                .transition(.fade(duration: 0.5))
                .scaledToFit()
                .frame(width: productImageSize, height: productImageSize)

Feel free to let me know if there's anymore information that I can provide.

Thanks!