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 / ffmpeg-kit / App crashes within a few seconds of opening #1368

Closed
faren800 opened this issue Dec 29, 2024 · 14 comments
Closed

Scan crash / ffmpeg-kit / App crashes within a few seconds of opening #1368

faren800 opened this issue Dec 29, 2024 · 14 comments
Labels
bug:reproduced P1 crash type:bug Something isn't working video waiting-for-dependency Enjoying Beckett?

Comments

@faren800
Copy link

Describe the bug
A clear and concise description of what the bug is.
App crashes within a few seconds of opening

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error
    Simply opening the app at all, first noticed yesterday when scrolling but today wont even do that

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots or screen recordings to help explain your problem. If they are too private for this public space, feel free to send them by email.

System information and logs:
In the app, there are instructions in the About page > Bug Report section. After following them, paste here your system information and attach your logs.

Package: deckers.thibault.aves
Installer: com.android.vending
Aves version: 1.12.0-play, build 140
Flutter: stable 3.27.1
Android version: 14, API 34
Android build: UP1A.231005.007.S928U1UES4AXKF
Device: samsung SM-S928U1
Support: dynamic colors=true, geocoder=true, HDR=true
Mobile services: ready
Connectivity: wifi
System locales: en_US
Storage volumes: /storage/emulated/0/
Storage grants: /storage/emulated/0/Sorted albums/, /storage/emulated/0/Pictures/, /storage/emulated/0/DCIM/, /storage/emulated/0/Android/media/
Error reporting: [true](url
aves-logs-20241229_115144.txt
)

Additional context
Add any other context about the problem here.

@faren800 faren800 added the type:bug Something isn't working label Dec 29, 2024
@deckerst deckerst added the P1 crash label Dec 29, 2024
@deckerst
Copy link
Owner

Thanks for the report.

Have you enabled the notification permission? If not, please do so.

Then, when you launch the app, do you see the notification showing you the progress of the media cataloguing process?

Does it crash more or less at the same progress (if you launch, let it crash, relaunch, let it crash, etc)?

@faren800
Copy link
Author

faren800 commented Dec 30, 2024 via email

@faren800
Copy link
Author

faren800 commented Dec 30, 2024 via email

@deckerst
Copy link
Owner

Thanks for following up. If it was working fine before, and now it fails during cataloguing as t a specific spot, most likely there is a specific file in your collection that makes the app crash. I'll try and find a way to identify that file and get back to you.

@deckerst
Copy link
Owner

deckerst commented Dec 30, 2024

Could you please follow the instructions here?

edit: updated build & link on 2024/12/30 15:20 GMT

@faren800
Copy link
Author

faren800 commented Dec 31, 2024 via email

@deckerst
Copy link
Owner

Thanks for trying.

The linked build has a debug shortcut to save the log file. It's different from the regular log files exported via the bug report section in the standard release. Here is a screenshot showing the debug shortcut:
aves_977_3_shortcut

With that debug shortcut, it should prompt you to save the file right from the launch, you shouldn't have to navigate or go through menus. And the prompt should show a log file name like aves_issue977_...:
aves_977_4_log_save

Did you follow that shortcut? Did it prompt you to save a file with that name?

@faren800
Copy link
Author

faren800 commented Dec 31, 2024 via email

@deckerst
Copy link
Owner

deckerst commented Jan 1, 2025

I wish I could get my hands on the video so I could find the issue and fix it for everybody. Do you still have it somewhere else (or in the trash)?

@faren800
Copy link
Author

faren800 commented Jan 2, 2025

I tried uploaded the files or folders. Here's a screen recording of what happens when i try via this website and another via web dropbox (it closes chrome)
Maybe you can think of a way i can upload a file that seems to be evasive.
https://github.com/user-attachments/assets/e0a2fe6f-d228-4a75-a726-37698e8331bd

Screen_Recording_20250102_080910_Gallery.mp4

@deckerst
Copy link
Owner

deckerst commented Jan 2, 2025

Maybe you can share it via WeTransfer:
https://wetransfer.com/

@faren800
Copy link
Author

faren800 commented Jan 3, 2025

I made them into a zip file
Hope you can figure it out!
https://we.tl/t-WtTgY7cuwF

@deckerst
Copy link
Owner

deckerst commented Jan 3, 2025

Thank you! I can reproduce the crash with your samples.

@deckerst deckerst changed the title App crashes within a few seconds of opening Scan crash / Video / App crashes within a few seconds of opening Jan 3, 2025
@deckerst deckerst added the waiting-for-dependency Enjoying Beckett? label Jan 3, 2025
@deckerst deckerst changed the title Scan crash / Video / App crashes within a few seconds of opening Scan crash / ffmpeg-kit / App crashes within a few seconds of opening Jan 3, 2025
@deckerst
Copy link
Owner

deckerst commented Jan 3, 2025

For reference, here is one of the problematic files:
https://github.com/user-attachments/assets/82bd5f63-7c24-49bc-bd0b-881815675374

The crash happens in ffmpeg_kit, the package used to read video metadata. Strangely, the crash is silent, with no output at all (neither via logcat nor via automatic reporting with Crashlytics). I can't address this issue myself as it depends on that package, and I don't see any workaround for now.

deckerst added a commit that referenced this issue Jan 9, 2025
@deckerst deckerst closed this as completed Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:reproduced P1 crash type:bug Something isn't working video waiting-for-dependency Enjoying Beckett?
Projects
None yet
Development

No branches or pull requests

2 participants