-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[YouTube] Crashes related to channels serialization (playing a video after some time, going to another app or to settings, ...) #11356
[YouTube] Crashes related to channels serialization (playing a video after some time, going to another app or to settings, ...) #11356
Comments
I'm seeing the same exception consistently when I was trying to shuffle large YouTube playlists (e.g. https://www.youtube.com/watch?v=NC2blnl0WTE&list=PL8mG-RkN2uTx9GY3silWiMf2W2EJ9sTgx). I specifically did the following:
I think this was introduced only after the 0.27.2 hotfix. (Despite the above consistent reproduction steps, I think the root cause could still be intermittent, as I'm also occasionally seeing it even when I'm not doing the above steps. My guess is that shuffling large amount of videos just increase the chance of getting a bad one, thus making the reproduction consistent. A wild guess: YouTube AB testing something again?) |
I experience the same issue, with the same exception. In my case:
UPDATE: When I played the same video again after few hours, it worked fine and didn't crash the application. Also one thing worth noting - I had such problem with videos only from a single channel (probably with all of them, but checked only a few). |
In my case it will crash the app when i attempt to open the playlist tab after i click play all video, it will just crash the app if you try to get to the playlist tab `## Exception
Crash log
` |
Having the same issues on a pixel 3 Android 11 |
I have the same problem. Started after upgrading from NewPipe 0.27.1 to 0.27.2. Android 8.0.0 - 26. |
same problem. as @jensli mentioned, UI crash is observed when switching from version I also observe what @vshc said. this crash mostly happens when I turn off the screen or switch from one application to another. at the same time, sometimes even with long screen off times, everything continues to work correctly. i think it might be due to memory freeing in android when another application is launched. then, with long screen off times, even if everything works, it could be explained by the fact that android kept the application data in memory all the time and didn't unload it until I turned the screen back on. |
The following are my observations and speculations about the problem. Maybe they can contribute to find the cause and fix it. Basic observationsThe Android framework tries to serialize a It seems reasonable that The bug was probably introduced in the changes between version 2.4.1 and 2.4.2: TeamNewPipe/NewPipeExtractor@v0.24.1...v0.24.2 What could be the mistake?The following is one idea:
The
Bingo! That is a possible chain of references from The whole chain looks like this:
...the object ...a lambda implementing When the framework serializes Potintial fixCreate a local variable that contains
Edit: On a second though this exact fix doesn't work because DisclaimerI'm not at all sure that the above reasoning is correct. I have not tried it. It is based only on reading the code at GitHub. But maybe! |
This comment was marked as off-topic.
This comment was marked as off-topic.
Finally I had found something with the help of Scoop. |
This comment was marked as duplicate.
This comment was marked as duplicate.
@WagnerGMD Look at the description. There is already a crash report available, so no need (unless a dev specifically asks for it). |
@opusforlife2 Ok I will wait apparently it could be different (unless it's another one ? I can't tell). For the record : I had disable all the animation (inside the settings of Android 12 as developer). Perhaps it's the delay ? Because my history is bigger and apparenlty I haven't met this bug since these changes (3 at total). |
This comment was marked as off-topic.
This comment was marked as off-topic.
@WagnerGMD It has nothing to do with any of those settings. |
This comment was marked as outdated.
This comment was marked as outdated.
At least for me it only occurs when i try to play video from a playlist in the background and switch to another app or turn off screen , when i play it back from history or open the individual video and push to bg , there seems to be a non problem |
Same thing, It won't crash when playing the link directly, only when
playing from a subscription.
…On Sat, Aug 17, 2024 at 5:37 PM T-rex2017 ***@***.***> wrote:
At least for me it only occurs when i try to play video from a playlist in
the background and switch to another app or turn off screen , when i play
it back from history or open the individual video and push to bg , there
seems to be a non problem
—
Reply to this email directly, view it on GitHub
<#11356 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOGIUVV7I6CMCQJ5MGRWYALZR67B3AVCNFSM6AAAAABLSRK34KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJUHE4TENBVGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@ShareASmile told me to reference my issue #11510 here
ConsequencesNewPipe consistently crashes LogsException
Crash log
|
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
Will the fix be included in a hotfix release, or will we need to wait for a full release in order to get the fix? |
Checklist
Affected version
0.27.2
Steps to reproduce the bug
Play any video, after a while newpipe crashes
Expected behavior
Video playback
Actual behavior
Newpipe crashes,
Before newpipe used to throw errors but playbagk continued, now on error newpipe crashes
Screenshots/Screen recordings
No response
Logs
Exception
Crash log
Affected Android/Custom ROM version
Android 13 - Lineageos 20
Affected device model
Xiaomi Mi MIX 2S
Additional information
No response
The text was updated successfully, but these errors were encountered: