Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scan crash / Video / App crashes right after start #977

Open
BieneMaja2 opened this issue Apr 15, 2024 · 10 comments
Open

Scan crash / Video / App crashes right after start #977

BieneMaja2 opened this issue Apr 15, 2024 · 10 comments
Labels
bug:works-for-me P1 crash type:bug Something isn't working

Comments

@BieneMaja2
Copy link

Describe the bug
Whenever starting the app it crashes instantly (or after a few seconds).
This behaviour is shown on both normal start and secure start. Also it does not matter if the phone is rebooted or any other way the app was shut down before.

To Reproduce
Steps to reproduce the behavior:

  1. Start the app.
  2. Do nothing or scroll the list (does not matter).
  3. On instant, app crashes (without crash report)

Expected behavior
A stable working app.

Screenshots
n/a

aves-logs-20240415_143010.txt

System information and logs:
Package: deckers.thibault.aves
Installer: com.android.vending
Aves version: 1.10.8-play, build 117
Flutter: stable 3.19.5
Android version: 13, API 33
Android build: FP5.TT46.A.144.20240205
Device: Fairphone FP5
Support: dynamic colors=true, geocoder=true, HDR=true
Mobile services: ready
System locales: de_DE
Storage volumes: /storage/emulated/0/, /storage/FDF6-9790/
Storage grants:
Error reporting: true

Additional context
Last update did not fix the bug yet.

@BieneMaja2 BieneMaja2 added the type:bug Something isn't working label Apr 15, 2024
@deckerst
Copy link
Owner

Thanks for the report.

Do nothing or scroll the list

Do you mean you see Aves screen for a little bit? From your report I thought it crashed instantly, so you wouldn't see any frame from Aves.

Have you ever seen Aves work correctly with a previous version of the app on your device?

Do you have a large collection (e.g. more than 50k) of images and videos on your device?

@BieneMaja2
Copy link
Author

BieneMaja2 commented Apr 15, 2024 via email

@BieneMaja2
Copy link
Author

BieneMaja2 commented Apr 15, 2024 via email

@deckerst
Copy link
Owner

20k might take a few seconds to launch but it's fine. I've asked because beyond 100k it could be a crash from the DB.

I don't see any related crash report in Crashlytics so it will be tricky to debug :/

  1. If you know your way around development tools, could you access your device and get logs from adb logcat showing the crash details?

  2. Otherwise, if you have no vault and have nothing important in the recycle bin, you could clear the app data (not only the cache), launch the app and see whether it solves the issue. That would narrow down the possible reasons for the crash in the first place.

  3. You could also install Aves Libre (another flavour of Aves, but very similar), and see whether you encounter the issue.

@BieneMaja2
Copy link
Author

BieneMaja2 commented Apr 15, 2024 via email

@deckerst
Copy link
Owner

I could be wrong, but it's unlikely because of the settings, but more probably because the background media scan reaches a file that make it crash. After you clean the app data and start from scratch, the media scan will take time to reach that file. But with subsequent launches, the media scan will crash sooner.

You can do the test by 1) cleaning the data, 2) keep the original settings, 3) let the app scan all your media. If you haven't done so already, you can give Aves notification permission so you can see the media scan progress in the notification bar.

@deckerst deckerst added the P1 crash label Apr 16, 2024
@BieneMaja2
Copy link
Author

BieneMaja2 commented Apr 17, 2024 via email

@deckerst
Copy link
Owner

Please do the following:

  1. install this test build. It will install as Aves [Profile]
  2. launch Aves [Profile] and let it do the scan until it crashes
  3. launch the debug shortcut of the Aves [Profile] app
  4. it will prompt you to save a log file. Save it somewhere and leave the app.
  5. open the log file. It should contain dates and paths of media files.
  6. pick the last line and find the media file at that path (most likely an MP4)
  7. send me the media file. You can share it with me via email if you don't feel comfortable sharing it in this issue thread.

@BieneMaja2
Copy link
Author

BieneMaja2 commented Apr 20, 2024 via email

@deckerst
Copy link
Owner

It would really help me solve this issue if i got my hands on such a file. So please send it to me if you find it again, or if you stumble upon a similar file that makes the app crash.

@deckerst deckerst changed the title App crashes right after start Scan crash / Video / App crashes right after start Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:works-for-me P1 crash type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants