Dimillian / IceCubesApp

A SwiftUI Mastodon client
https://apps.apple.com/us/app/ice-cubes-for-mastodon/id6444915884
GNU Affero General Public License v3.0
5.41k stars 516 forks source link

Bug: Immediate crash on iphone / Startet auf iphone nicht mehr #1913

Closed Growianer closed 9 months ago

Growianer commented 9 months ago

Environment:

Description

Lässt sich nicht öffnen, stürzt sofort ab.

Related Issues

ppuschmann commented 9 months ago

@Growianer please use english... 😀

@Dimillian same issue here

While browsing the standard home list the app crashed and doesn't want to start again.

The app is already completely stopped

iOS and Ice Cubes version as above

Dimillian commented 9 months ago

Hmmm I guess it's some specific post triggering that. Now I have to find which one.

Dimillian commented 9 months ago

If this is in the cache your best bet is to reinstall it unfortunately

tron2342 commented 9 months ago

Same issue here - reinstall has no effect.

Growianer commented 9 months ago

If this is in the cache your best bet is to reinstall it unfortunately

Reinstall doesn't help...

Murgeye commented 9 months ago

Reinstall worked for me. New version was working fine yesterday and this morning until the timeline refreshed - after that no dice.

Dimillian commented 9 months ago

I need to find the post that is problematic 😬

Murgeye commented 9 months ago

I think for me it's this one (or one directly after it on the author's profile): https://mastodon.social/@mkreutzfeldt/111795583554357452

If I scroll past this one, the app crashes.

ppuschmann commented 9 months ago

Would a log from the iPhone (taken on macOS) help you? How could I share this log securely with you?

ppuschmann commented 9 months ago

@Murgeye this could be a hint. I can't find a similar post (of mkreutzfeld) on my timeline on my mastodon-instance (web interface), although I also follow this account.

Maybe this is related?

Murgeye commented 9 months ago

@Murgeye this could be a hint. I can't find a similar post (of mkreutzfeld) on my timeline on my mastodon-instance (web interface), although I also follow this account.

For me opening his profile (via search) also crashes the app. The post was about 12 hours ago and is a reply to his own post, so it might be buried in your timeline?

Dimillian commented 9 months ago

That's a great find! If I can reproduce it it'll get fixed right away!

Dimillian commented 9 months ago

Hmm I can browse his profile and don't get any crash.

Murgeye commented 9 months ago

That's weird, it is reproducible for me (see screencast below). Can I do anything to help debug this?

https://github.com/Dimillian/IceCubesApp/assets/16648242/4dee1f49-4437-47aa-94f4-9e3f2cbad887

Dimillian commented 9 months ago

Can you reboot your phone and tell me if this is still happening?

ppuschmann commented 9 months ago

App still crashes upon startup. -> turn iPhone off, then on again -> App still crashes upon startup

Dimillian commented 9 months ago

That's weird, it is reproducible for me (see screencast below). Can I do anything to help debug this?

trim.AFA002CF-2645-4B1C-9DD2-4C5EE5EF1269.MOV

It was more for this behaviour

Flachlandcoder commented 9 months ago

Same problem here. I don't know if it is helpful, but the last thing I noticed before the app started crashing, was that only a part of the images appended to the toots were loaded. The older images were no longer visible, only the images of the most recent toots.

Murgeye commented 9 months ago

That's weird, it is reproducible for me (see screencast below). Can I do anything to help debug this?

trim.AFA002CF-2645-4B1C-9DD2-4C5EE5EF1269.MOV

It was more for this behaviour

The crash on visiting the profile remains on reboot. I have no insights on the internals of mastodon, but if this only happens for me, this might be an issue caused by federation with my instance (infosec.exchange)?

blueturtleai commented 9 months ago

I entered the mentioned url https://mastodon.social/@mkreutzfeldt/111795583554357452 in the search field on the explore tab and the app crashes immediately before even showing the post. iOS 17.2 icecubes 1.10.24

appinator commented 9 months ago

1.10.26 fixed it for me.

blueturtleai commented 9 months ago

1.10.26 fixed it for me too.

Dimillian commented 9 months ago

Oh yeah okay this is it! https://github.com/Dimillian/IceCubesApp/commit/92662665b9d8238d88d0914db1c727edba8f7fcc

So it was already solved, that's why I could not reproduce it on my version.

Dimillian commented 9 months ago

Thanks all!