Neo-Store icon indicating copy to clipboard operation
Neo-Store copied to clipboard

[Bug] Enabling all repositories (some repositories) makes the app constantly crash

Open jvschiavo opened this issue 9 months ago • 1 comments

Guidelines

  • [x] I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
  • [x] I'm on the latest version.
  • [x] I'm not using a test build (alpha/beta/release-candidate).
  • [x] This issue contains only one bug.

Describe the bug

Enabling all repositories makes the app constantly crash, usually making it unusable. Sometimes it tries to sync indefinitely and doesn't sync, and pressing on "Cancel" or "Cancel all" buttons on the notification do nothing. The notifications aren't dismissed ever in this case.

After some investigation after a long time dealing with this, I have discovered the following:

The following repos usually take a lot more time to sync, but don't seem to be responsible for the crashes:

  • Koyu Space
  • Lublin's F-Droid Repo
  • BeoCode Repo

The following repos seem to be the responsible ones for the crashes while trying to sync:

  • Frostnerd
  • Aniyomi

Related (or possibly related) issues: https://github.com/NeoApplications/Neo-Store/issues/625 https://github.com/NeoApplications/Neo-Store/issues/727

Expected Behavior

Enabling such repositories shouldn't crash the application.

If the repos are no more active they should be removed from the list.

Also, to really fix this issue and prevent it from happening in the future, the app should detect unreachable repositories and not crash while trying to sync them.

Neo Store's Version

1.0.9 (Build 1026)

Installation Source

Official F-Droid repo

Last Known Working Version

No response

Relevant information

None, I guess.

jvschiavo avatar Apr 21 '25 06:04 jvschiavo

Thanks for the detailed report. Itwas actually discussed couple of weeks ago in the group, and yup, seems like couple of the repos causing this (mainly ones that act as an archive). This is mainly because of data structural reasons. I'm planing to do some refactoring of data structures when working on 1.1.X, so afix will come eventually...

machiav3lli avatar Apr 21 '25 12:04 machiav3lli