Closed ggoraa closed 1 year ago
I have found where to reproduce the crash, trying to narrow down the cause
Bruh, this is actually makeDocument inside of makeAlbum how the fuck a document message is inside of an album watafuk
After more investigation, I'm sure that photo and video rendering is working as it should, only the document one is broken
Oh wow, not only the document one causes crashes
Closing due to issue not being related to my bad code but rather to a bug in SwiftUI, because this issue is not a thing in Ventura
ARE YOU FUCKING KIDDING ME I TRIGGERED THIS CRASH ON VENTURA HOW
New info found: with Adress Sanitizer enabled in Xcode I was able to find an understandable error name for hoomans: it's a stack overflow how the fuck does it happen? I have no idea! But, well, we have nothing else to do than to investigate more
...and I currently have no idea which exact messages provoke this kind of behavior. For now we have the crash reports from AppCenter, which help us understand that the issue is in media messages, specifically photos and/or videos.
Here are crashes themselves: First Second
I should investigate what exact messages were the culprits of these crashes, and hopefully fix them.