PipePipe icon indicating copy to clipboard operation
PipePipe copied to clipboard

[Bug] v5.2.5-beta Videos stop playing at 59 seconds

Open TimeBombz opened this issue 4 months ago • 8 comments

Checklist

  • [x] I make sure that the issue is NOT a duplicate of pinned issues
  • [x] I make sure I am using the LATEST version - check here
  • [x] I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
  • [ ] I have attached the error report in the issue

Describe the bug

All v5.2.5-beta Videos stop playing at 59 seconds. I had to drop back to the Prod Version 5.4.2 and the videos started playing full length again.

Version

v5.2.5-beta

Frequency

Always (100% of the time)

Device

Galaxy 23 + Android 16

Steps to reproduce the bug

Play any Video and they all stopped playing at exactly 59 seconds.

Additional context

F ell back to the previous release and videos played fully.

TimeBombz avatar Aug 01 '26 17:08 TimeBombz

I think this is the same bug:

Exception

  • User Action: play stream
  • Request: Player error[type=ERROR_CODE_IO_UNSPECIFIED] occurred while playing https://www.youtube.com/watch?v=LlkziznE-WI
  • Content Country: GB
  • Content Language: en-GB
  • App Language: en_GB_#u-fw-sun-ms-uksystem-mu-celsius
  • Service: YouTube (Anonymous)
  • Endpoint: mweb
  • Version: 5.2.5-beta
  • OS: Linux Android 17 - 37
Crash log

androidx.media3.exoplayer.ExoPlaybackException: Source error
	at androidx.media3.exoplayer.ExoPlayerImplInternal.handleIoException(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:17)
	at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:456)
	at android.os.Handler.dispatchMessageImpl(Handler.java:138)
	at android.os.Handler.dispatchMessage(Handler.java:125)
	at android.os.Looper.loopOnce(Looper.java:296)
	at android.os.Looper.loop(Looper.java:397)
	at android.os.HandlerThread.run(HandlerThread.java:139)
Caused by: androidx.media3.database.DatabaseIOException: SABR logic failure
	at org.schabi.newpipe.player.datasource.SabrStreamPump.loop(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:1528)
	at org.acra.builder.ReportExecutor$$ExternalSyntheticLambda0.run(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:203)
	at java.lang.Thread.run(Thread.java:1572)
Caused by: org.schabi.newpipe.extractor.services.youtube.sabr.SabrProtocolException: SABR error: SABR attestation required: parts=3, status=3, maxRetries=20, backoffMs=2000, policy=true, reload=false, redirect=false, error=null
	at org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.applyControlPolicy(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:534)
	at org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.pumpOnceInternal(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:130)
	at org.schabi.newpipe.player.datasource.SabrStreamPump.pumpOnceStreaming(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:20)
	at org.schabi.newpipe.player.datasource.SabrStreamPump.loop(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:1289)
	... 2 more


Tried to reproduce by watching a video from the beginning and got this. Video stopped a few seconds early but audio stopped right when OP said it would.

Exception

  • User Action: play stream
  • Request: Player error[type=ERROR_CODE_IO_UNSPECIFIED] occurred while playing https://www.youtube.com/watch?v=fDH8waSmJGM
  • Content Country: GB
  • Content Language: en-GB
  • App Language: en_GB_#u-fw-sun-ms-uksystem-mu-celsius
  • Service: YouTube (Anonymous)
  • Endpoint: mweb
  • Version: 5.2.5-beta
  • OS: Linux Android 17 - 37
Crash log

androidx.media3.exoplayer.ExoPlaybackException: Source error
	at androidx.media3.exoplayer.ExoPlayerImplInternal.handleIoException(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:17)
	at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:456)
	at android.os.Handler.dispatchMessageImpl(Handler.java:138)
	at android.os.Handler.dispatchMessage(Handler.java:125)
	at android.os.Looper.loopOnce(Looper.java:296)
	at android.os.Looper.loop(Looper.java:397)
	at android.os.HandlerThread.run(HandlerThread.java:139)
Caused by: androidx.media3.database.DatabaseIOException: SABR logic failure
	at org.schabi.newpipe.player.datasource.SabrStreamPump.loop(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:1528)
	at org.acra.builder.ReportExecutor$$ExternalSyntheticLambda0.run(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:203)
	at java.lang.Thread.run(Thread.java:1572)
Caused by: org.schabi.newpipe.extractor.services.youtube.sabr.SabrProtocolException: SABR error: SABR attestation required: parts=3, status=3, maxRetries=20, backoffMs=2000, policy=true, reload=false, redirect=false, error=null
	at org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.applyControlPolicy(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:534)
	at org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.pumpOnceInternal(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:130)
	at org.schabi.newpipe.player.datasource.SabrStreamPump.pumpOnceStreaming(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:20)
	at org.schabi.newpipe.player.datasource.SabrStreamPump.loop(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:427)
	... 2 more

ProgrammerWhoPrograms avatar Aug 01 '26 18:08 ProgrammerWhoPrograms

I got the same error

Exception

  • User Action: play stream
  • Request: Player error[type=ERROR_CODE_IO_UNSPECIFIED] occurred while playing https://www.youtube.com/watch?v=-Vi2J0S93TU
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: YouTube (Anonymous)
  • Endpoint: mweb
  • Version: 5.2.5-beta
  • OS: Linux samsung/gta4xlwifixx/gta4xlwifi:13/TP1A.220624.014/P610XXU4FWJ1:user/release-keys 13 - 33
Crash log

androidx.media3.exoplayer.ExoPlaybackException: Source error
	at androidx.media3.exoplayer.ExoPlayerImplInternal.handleIoException(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:17)
	at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:456)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loopOnce(Looper.java:226)
	at android.os.Looper.loop(Looper.java:313)
	at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: androidx.media3.database.DatabaseIOException: SABR logic failure
	at org.schabi.newpipe.player.datasource.SabrStreamPump.loop(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:1528)
	at org.acra.builder.ReportExecutor$$ExternalSyntheticLambda0.run(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:203)
	at java.lang.Thread.run(Thread.java:1572)
Caused by: org.schabi.newpipe.extractor.services.youtube.sabr.SabrProtocolException: SABR error: SABR attestation required: parts=3, status=3, maxRetries=20, backoffMs=2000, policy=true, reload=false, redirect=false, error=null
	at org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.applyControlPolicy(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:534)
	at org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.pumpOnceInternal(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:130)
	at org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.pumpOnceStreamingForDemand(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:52)
	at org.schabi.newpipe.player.datasource.SabrStreamPump.pumpOnceStreamingUntilCached(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:9)
	at org.schabi.newpipe.player.datasource.SabrStreamPump.loop(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:844)
	... 2 more


VitoItalianGamer avatar Aug 01 '26 20:08 VitoItalianGamer

I have another issue too as I updated and the error still appears.

VitoItalianGamer avatar Aug 02 '26 20:08 VitoItalianGamer

Exception

  • User Action: play stream
  • Request: Player error[type=ERROR_CODE_IO_UNSPECIFIED] occurred while playing https://www.youtube.com/watch?v=rom1b1lM2E4
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: YouTube (Logged in)
  • Endpoint: mweb
  • Version: 5.2.5-beta2
  • OS: Linux samsung/gta4xlwifixx/gta4xlwifi:13/TP1A.220624.014/P610XXU4FWJ1:user/release-keys 13 - 33
Crash log

androidx.media3.exoplayer.ExoPlaybackException: Source error
	at androidx.media3.exoplayer.ExoPlayerImplInternal.handleIoException(r8-map-id-4dc59598091eb73ffa53d1daeb6adb9d4b45a80ea19e2b2895b9e9df4f7eeb24:17)
	at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(r8-map-id-4dc59598091eb73ffa53d1daeb6adb9d4b45a80ea19e2b2895b9e9df4f7eeb24:456)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loopOnce(Looper.java:226)
	at android.os.Looper.loop(Looper.java:313)
	at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: androidx.media3.database.DatabaseIOException: SABR logic failure
	at org.schabi.newpipe.player.datasource.SabrStreamPump.loop(r8-map-id-4dc59598091eb73ffa53d1daeb6adb9d4b45a80ea19e2b2895b9e9df4f7eeb24:1528)
	at org.acra.builder.ReportExecutor$$ExternalSyntheticLambda0.run(r8-map-id-4dc59598091eb73ffa53d1daeb6adb9d4b45a80ea19e2b2895b9e9df4f7eeb24:203)
	at java.lang.Thread.run(Thread.java:1572)
Caused by: org.schabi.newpipe.extractor.services.youtube.sabr.SabrProtocolException: SABR error: SABR attestation required: parts=3, status=3, maxRetries=20, backoffMs=2000, policy=true, reload=false, redirect=false, error=null
	at org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.applyControlPolicy(r8-map-id-4dc59598091eb73ffa53d1daeb6adb9d4b45a80ea19e2b2895b9e9df4f7eeb24:955)
	at org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.pumpOnceInternal(r8-map-id-4dc59598091eb73ffa53d1daeb6adb9d4b45a80ea19e2b2895b9e9df4f7eeb24:130)
	at org.schabi.newpipe.player.datasource.SabrStreamPump.pumpOnceStreaming(r8-map-id-4dc59598091eb73ffa53d1daeb6adb9d4b45a80ea19e2b2895b9e9df4f7eeb24:20)
	at org.schabi.newpipe.player.datasource.SabrStreamPump.loop(r8-map-id-4dc59598091eb73ffa53d1daeb6adb9d4b45a80ea19e2b2895b9e9df4f7eeb24:427)
	... 2 more


VitoItalianGamer avatar Aug 02 '26 20:08 VitoItalianGamer

I have this issue on the version 5.2.4 At second 59 the video stops with the message "youtube forces us to wait 2 seconds before continuing playback" And video stops This is quite sistematicaly

andreiung avatar Aug 03 '26 05:08 andreiung

Everyone, just disable SABR for now.

nettnikl avatar Aug 03 '26 06:08 nettnikl

Exception

  • User Action: play stream
  • Request: Player error[type=ERROR_CODE_IO_UNSPECIFIED] occurred while playing https://www.youtube.com/watch?v=57crFR8Snoc
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: YouTube (Logged in)
  • Endpoint: tv_downgraded
  • Version: 5.2.5-beta2
  • OS: Linux samsung/gta4xlwifixx/gta4xlwifi:13/TP1A.220624.014/P610XXU4FWJ1:user/release-keys 13 - 33
Crash log

androidx.media3.exoplayer.ExoPlaybackException: Source error
	at androidx.media3.exoplayer.ExoPlayerImplInternal.handleIoException(r8-map-id-4dc59598091eb73ffa53d1daeb6adb9d4b45a80ea19e2b2895b9e9df4f7eeb24:17)
	at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(r8-map-id-4dc59598091eb73ffa53d1daeb6adb9d4b45a80ea19e2b2895b9e9df4f7eeb24:456)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loopOnce(Looper.java:226)
	at android.os.Looper.loop(Looper.java:313)
	at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: java.io.EOFException
	at okhttp3.internal._UtilJvmKt$$ExternalSyntheticLambda0.m$2(r8-map-id-4dc59598091eb73ffa53d1daeb6adb9d4b45a80ea19e2b2895b9e9df4f7eeb24:24)
	at androidx.media3.extractor.DefaultExtractorInput.readFromUpstream(r8-map-id-4dc59598091eb73ffa53d1daeb6adb9d4b45a80ea19e2b2895b9e9df4f7eeb24:23)
	at androidx.media3.extractor.DefaultExtractorInput.skipFully(r8-map-id-4dc59598091eb73ffa53d1daeb6adb9d4b45a80ea19e2b2895b9e9df4f7eeb24:27)
	at androidx.media3.extractor.DefaultExtractorInput.skipFully(r8-map-id-4dc59598091eb73ffa53d1daeb6adb9d4b45a80ea19e2b2895b9e9df4f7eeb24:47)
	at androidx.media3.extractor.mkv.MatroskaExtractor.read(r8-map-id-4dc59598091eb73ffa53d1daeb6adb9d4b45a80ea19e2b2895b9e9df4f7eeb24:434)
	at androidx.media3.exoplayer.source.chunk.ContainerMediaChunk.load(r8-map-id-4dc59598091eb73ffa53d1daeb6adb9d4b45a80ea19e2b2895b9e9df4f7eeb24:106)
	at androidx.media3.exoplayer.upstream.Loader$LoadTask.run(r8-map-id-4dc59598091eb73ffa53d1daeb6adb9d4b45a80ea19e2b2895b9e9df4f7eeb24:35)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1100)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:1572)


Got this issue on dash.

VitoItalianGamer avatar Aug 03 '26 16:08 VitoItalianGamer

Fixed in 5.2.5-beta4.

InfinityLoop1308 avatar Aug 04 '26 10:08 InfinityLoop1308