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 when seeking to the end of a specific video #11461

Closed
6 tasks done
gustav-langer opened this issue Aug 17, 2024 · 0 comments · Fixed by #11584
Closed
6 tasks done

App crashes when seeking to the end of a specific video #11461

gustav-langer opened this issue Aug 17, 2024 · 0 comments · Fixed by #11584
Labels
bug Issue is related to a bug player Issues related to any player (main, popup and background)

Comments

@gustav-langer
Copy link

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.27.2

Steps to reproduce the bug

  1. Go to this video: https://www.youtube.com/watch?v=Ox1Ve7jlCzo
  2. Seek until the end, then slightly before the end, then back to the end again without letting go.

Expected behavior

The video skips to the end.

Actual behavior

The app crashes with the message given below.

Screenshots/Screen recordings

screen-20240817-210947.mp4.2.mp4

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: DE
  • Content Language: de-DE
  • App Language: de_DE
  • Service: none
  • Version: 0.27.2
  • OS: Linux Android 12 - 32
Crash log

java.lang.IllegalArgumentException: cannot use a recycled source in createBitmap
	at android.graphics.Bitmap.createBitmap(Bitmap.java:864)
	at android.graphics.Bitmap.createBitmap(Bitmap.java:818)
	at org.schabi.newpipe.player.seekbarpreview.SeekbarPreviewThumbnailHolder.lambda$generateDataFrom$3(SeekbarPreviewThumbnailHolder.java:143)
	at org.schabi.newpipe.player.seekbarpreview.SeekbarPreviewThumbnailHolder.$r8$lambda$0elxBGHHcmMbO9kgf0vknFIh1sg(SeekbarPreviewThumbnailHolder.java:0)
	at org.schabi.newpipe.player.seekbarpreview.SeekbarPreviewThumbnailHolder$$ExternalSyntheticLambda4.get(R8$$SyntheticClass:0)
	at org.schabi.newpipe.player.seekbarpreview.SeekbarPreviewThumbnailHolder.getBitmapAt(SeekbarPreviewThumbnailHolder.java:214)
	at org.schabi.newpipe.player.ui.VideoPlayerUi.onProgressChanged(VideoPlayerUi.java:585)
	at org.schabi.newpipe.views.FocusAwareSeekBar$NestedListener.onProgressChanged(FocusAwareSeekBar.java:130)
	at android.widget.SeekBar.onProgressRefresh(SeekBar.java:99)
	at android.widget.ProgressBar.doRefreshProgress(ProgressBar.java:1577)
	at android.widget.ProgressBar.refreshProgress(ProgressBar.java:1686)
	at android.widget.ProgressBar.setProgressInternal(ProgressBar.java:1752)
	at android.widget.AbsSeekBar.trackTouchEvent(AbsSeekBar.java:1016)
	at android.widget.AbsSeekBar.onTouchEvent(AbsSeekBar.java:924)
	at android.view.View.dispatchTouchEvent(View.java:14599)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2801)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2801)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2801)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2801)
	at android.view.View.dispatchPointerEvent(View.java:14858)
	at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:6446)
	at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:6247)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5725)
	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5782)
	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5748)
	at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5913)
	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5756)
	at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:5970)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5729)
	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5782)
	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5748)
	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5756)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5729)
	at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:8696)
	at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:8647)
	at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:8616)
	at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:8819)
	at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:259)
	at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)
	at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:239)
	at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:8776)
	at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:8905)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1037)
	at android.view.Choreographer.doCallbacks(Choreographer.java:845)
	at android.view.Choreographer.doFrame(Choreographer.java:772)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1022)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:201)
	at android.os.Looper.loop(Looper.java:288)
	at android.app.ActivityThread.main(ActivityThread.java:7870)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)


Affected Android/Custom ROM version

Android 12

Affected device model

No response

Additional information

No response

@gustav-langer gustav-langer added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Aug 17, 2024
@ShareASmile ShareASmile added player Issues related to any player (main, popup and background) and removed needs triage Issue is not yet ready for PR authors to take up labels Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug player Issues related to any player (main, popup and background)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants