moc icon indicating copy to clipboard operation
moc copied to clipboard

Crash on viewing certain album messages

Open voltangle opened this issue 3 years ago • 7 comments

...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.

voltangle avatar Aug 09 '22 16:08 voltangle

I have found where to reproduce the crash, trying to narrow down the cause

voltangle avatar Aug 09 '22 17:08 voltangle

Bruh, this is actually makeDocument inside of makeAlbum how the fuck a document message is inside of an album watafuk

voltangle avatar Aug 09 '22 17:08 voltangle

After more investigation, I'm sure that photo and video rendering is working as it should, only the document one is broken

voltangle avatar Aug 09 '22 19:08 voltangle

Oh wow, not only the document one causes crashes

voltangle avatar Aug 13 '22 07:08 voltangle

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

voltangle avatar Aug 19 '22 14:08 voltangle

ARE YOU FUCKING KIDDING ME I TRIGGERED THIS CRASH ON VENTURA HOW

voltangle avatar Aug 20 '22 20:08 voltangle

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

voltangle avatar Aug 30 '22 09:08 voltangle