deckerst / aves

Aves is a gallery and metadata explorer app, built for Android with Flutter.
BSD 3-Clause "New" or "Revised" License
2.57k stars 96 forks source link

Scan crash / Video / App keeps crashing #761

Closed nwamugo closed 1 year ago

nwamugo commented 1 year ago

Describe the bug The app randomly closes when I am using it, regardless of whether any button is pressed or not.

To Reproduce Steps to reproduce the behavior:

  1. Be inside the app
  2. Do anything or do nothing at all
  3. Maybe scroll or click one or two buttons
  4. The app crashes.

Expected behavior That the app works without crashing every now and then

Screenshots Not applicable

System information and logs: Package: deckers.thibault.aves Installer: com.android.vending Aves version: 1.9.3-play, build 104 Flutter: stable 3.13.1 Android version: 13, API 33 Android build: TKQ1.220829.002 test-keys Device: Xiaomi 22081212UG Geocoder: ready Mobile services: ready System locales: en_GB, en_US Storage volumes: /storage/emulated/0/ Storage grants: /storage/emulated/0/Android/media/ Error reporting: true

Additional context None

deckerst commented 1 year ago

Do you recognize your situation in either of these?

deckerst commented 1 year ago

Also, please attach the exported logs from “About " > "Bug Report".

nwamugo commented 1 year ago

Yes, I recognize my situation in #758

Do you recognize your situation in either of these?

nwamugo commented 1 year ago

Also, please attach the exported logs from “About " > "Bug Report".

aves-logs-20230917_122931.txt

deckerst commented 1 year ago

Could you try this build and let me know how it goes? It will install as a separate app called "Aves [Profile]". Also, cataloguing from scratch can take a while if you have many items, so you may want to enable notification permission to track cataloguing progress and know for sure when it's complete.

nwamugo commented 1 year ago

I have tried the build. So at first it crashed after spending some time in it, showing the same behavior as before. But then, I closed every open/background application on my phone, and tried it again. And this time, the app stayed working with no crashing experience.

deckerst commented 1 year ago

I'll release soon another version with the fix. Feel free to comment here if you still experience crashes later on.