feditext / feditext

A free, open-source iOS client for Mastodon, Glitch, GotoSocial, Iceshrimp, Akkoma, and other Mastodon-API-compatible Fediverse instance servers.
https://mastodon.social/@Feditext
GNU General Public License v3.0
167 stars 8 forks source link

App crash loop on scrolling to far #353

Open joan7770 opened 7 months ago

joan7770 commented 7 months ago

Describe the bug Scrolling too far in the timeline causes the app to become unresponsive and crash. Opening the app afterwards causes the app to seemingly load forever but is actually unresponsive and leaving the app causes the app to crash. This crash loop persists after device restart. The only way to fix the crash loop is by uninstalling and reinstalling.

To Reproduce Steps to reproduce the behavior:

  1. Scroll for a while (about an hour and half of continuous regular use), can just scroll continuously.
  2. App freezes
  3. Leave app
  4. iOS reports fediText crashed

Expected behavior Keep using app normally

Screenshots image

(please complete the following information):

Additional context I did not see this issue on iOS 16, I recently updated to 17.3 from 16. Error thrown here may be related, but only was thrown once out of the 6 times I've reproduced the issue:

{
  "alertLocation" : {
    "file" : "ViewModels/CollectionItemsViewModel.swift",
    "function" : "init(collectionService:identityContext:)",
    "line" : 35
  },
  "app" : {
    "build" : "84",
    "bundle" : "com.gotgoat.metatext",
    "version" : "1.7.2"
  },
  "message" : "SQLite error 14: unable to open database file - while executing `SELECT * FROM sqlite_master LIMIT 1`",
  "system" : {
    "idiom" : "phone",
    "model" : "iPhone",
    "name" : "iOS",
    "version" : "17.3"
  },
  "title" : "DatabaseError",
  "type" : "DatabaseError"
}
joan7770 commented 7 months ago

This may be related to issue #255 sorry if it was duplicate, I did not check before creating as I was busy with something else.

VyrCossont commented 7 months ago

@joan7770 Thanks for the report and the video. What kind of backend server are you using: Mastodon, GotoSocial, Akkoma?

joan7770 commented 7 months ago

Bunni Social Mastodon 4.1.13, I've only modified the image assets, and some configs.

VyrCossont commented 7 months ago

Got it, thank you. Will try to reproduce it.