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

App crashes randomly while playing videos or scrolling through the log #1504

Open
5 tasks done
maivohun opened this issue Jan 23, 2025 · 5 comments
Open
5 tasks done
Labels
bug Something isn't working

Comments

@maivohun
Copy link

Steps to reproduce

  • Just playing video seems to trigger it randomly.
  • Also crashes if I scroll through the log within the app.

Expected behavior

Shouldn't crash

Actual behavior

Crashes completely while playing videos.

App also crashed while I was reading the error log, so I saved it instead to share.

logcat_2025_01_23_22_31.txt

Cloudstream version and commit hash

4.5.0 5691078

Android version

Android 10 (MIUI 12.5.1)

Logcat

Other details

I am using the same set of settings and extensions on 3 other devices that are running fine.

Hope it isn't a duplicate issue, I tried to look for an existing issue but couldn't find one.

Acknowledgements

  • I am sure my issue is related to the app and NOT some extension.
  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I have updated the app to pre-release version Latest.
  • I will fill out all of the requested information in this form.
@maivohun maivohun added the bug Something isn't working label Jan 23, 2025
@fire-light42
Copy link
Collaborator

You get an sigsegv, which means that there is three possible causes, torrents, software decoding or android being android. So can you please specify:

  1. Does it crash after/while playing torrents or where torrent links involved in any way?
  2. Do you play high resolution videos like 4k? (or even 1080p if you are on an older device)
  3. It this an issue you only found in recent versions of cloudstream?

The crashing logcat may be because it is too large, try to clear it. Someone should really make it a recycleview.

@maivohun
Copy link
Author

  1. At times, yes, happens more often with torrent links. Normal videos also lead to similar crash, but it is not that bad.
  2. No, I only play 720p and 480p on older devices. I was actually watching a 480p video (torrent) today at the time of first crash, then switched to a different provider, 480p video and that too crashed after some time.
  3. TBH, I just installed it on this device recently, so I can't tell for sure. But I can try some older versions to check.

The crashing logcat may be because it is too large

Yeah, it could be that.

@fire-light42
Copy link
Collaborator

It sounds like the torrent lib is not entirely stable, can you confirm that even if no torrent is ran for an entire session (from app launch to crash) it will still consistently crash.

@fire-light42
Copy link
Collaborator

I have also added the option to disable the sw decoding 1eced92 so you can also try to disable that and check.

@maivohun
Copy link
Author

It sounds like the torrent lib is not entirely stable

You might be correct. I tried disabling SW decoding in the latest version, but that didn't resolve the issue. I, then, modified the profile to prevent the torrent source from loading, and as a result, the app didn't crash – tested for 3 hours, different providers, with and without SW encoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants