polymorphicshade / Tubular

A fork of NewPipe that implements SponsorBlock and ReturnYouTubeDislike.
GNU General Public License v3.0
1.17k stars 28 forks source link

App crashes when playing long videos. #40

Closed eddieofny closed 1 month ago

eddieofny commented 3 months ago

Checklist

Affected version

0.26.1_r3

Steps to reproduce the bug

Whenever I try to play long videos (anything longer than like, an hour) I get this error. I can get around it if I minimize the video while it's loading and then minimize the app when the video starts playing, but if I pause the video from the notification bar or lock screen, the app will crash.

Expected behavior

The video plays like normal.

Actual behavior

The app crashes during long videos.

Screenshots/Screen recordings

No response

Logs

Exception

java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack trace available


Affected Android/Custom ROM version

Android 7.0

Affected device model

LG K20 Plus

Additional information

No response

polymorphicshade commented 3 months ago

Does this happen on vanilla NewPipe? The crash log just shows that you ran out of memory.

eddieofny commented 3 months ago

Just downloaded NewPipe to check and no, NewPipe streams these long videos just fine. But NewPipe isnt receiving updates anymore anyways. I first noticed the problem on NewPipe x Sponsorblock, and it has carried over to Tubular. The problem also does not occur if I open a video in browser. It is specific to Tubular.

polymorphicshade commented 3 months ago

@eddieofny I cannot reproduce this issue, even on an emulator with only 1 GB of RAM.

Can you send me the video you were trying to play?

eddieofny commented 3 months ago

Sorry for getting back to you so late.

Here's the video: https://www.youtube.com/watch?v=V9cuZxdrvrk

Btw, I ended up using og Newpipe to watch this video, and while I was able to finish it, I began encountering similar issues. It took a little bit of time though, so when I first started the video there were no bugs, and the longer I watched, I started having issues. Not sure if that info helps or not.

polymorphicshade commented 2 months ago

@eddieofny v0.27.0 has been released.

Can you try to see if you get this issue again?

DI555 commented 2 months ago

@polymorphicshade , i have crashes on long videos with v0.27.0 (( , and even with not long videos either(( but i’m using the app on Android 5.1

eddieofny commented 1 month ago

Sorry it took me so long to respond. I got a new phone last month and tubular has been working fine on it, even with long videos. But I just got around to testing it on the old phone today, and it is working perfectly there as well. Thank you