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

[Bug]Crush happened when opening some certain videos on bilibili #166

Closed
Lihewin opened this issue Oct 25, 2023 · 2 comments
Closed

[Bug]Crush happened when opening some certain videos on bilibili #166

Lihewin opened this issue Oct 25, 2023 · 2 comments
Labels

Comments

@Lihewin
Copy link

Lihewin commented Oct 25, 2023

What's going on

  • Crush happened when I tried to open this video: av535006055 with default settings, while other videos can be played.
  • I reproduced this crush several times so I believe it's a bug.
  • I am using the app in portrait mode, using a Redmi note 11t pro.

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: none
  • Version: 3.1.5
  • OS: Linux Android 13 - 33
Crash log

java.lang.RuntimeException: Canvas: trying to draw too large(278999442bytes) bitmap.
	at android.graphics.RecordingCanvas.throwIfCannotDraw(RecordingCanvas.java:266)
	at android.graphics.BaseRecordingCanvas.drawBitmap(BaseRecordingCanvas.java:94)
	at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:549)
	at com.squareup.picasso.PicassoDrawable.draw(PicassoDrawable.java:109)
	at android.widget.ImageView.onDraw(ImageView.java:1454)
	at com.google.android.material.imageview.ShapeableImageView.onDraw(ShapeableImageView.java:198)
	at android.view.View.draw(View.java:23490)
	at android.view.View.updateDisplayListIfDirty(View.java:22308)
	at android.view.View.draw(View.java:23200)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4602)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4360)
	at android.view.View.updateDisplayListIfDirty(View.java:22297)
	at android.view.View.draw(View.java:23200)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4602)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4360)
	at android.view.View.draw(View.java:23499)
	at android.view.View.updateDisplayListIfDirty(View.java:22308)
	at android.view.View.draw(View.java:23200)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4602)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4360)
	at android.view.View.updateDisplayListIfDirty(View.java:22297)
	at android.view.View.draw(View.java:23200)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4602)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4360)
	at android.view.View.updateDisplayListIfDirty(View.java:22297)
	at android.view.View.draw(View.java:23200)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4602)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4360)
	at android.view.View.updateDisplayListIfDirty(View.java:22297)
	at android.view.View.draw(View.java:23200)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4602)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4360)
	at android.view.View.draw(View.java:23499)
	at com.google.android.material.appbar.AppBarLayout.draw(AppBarLayout.java:414)
	at android.view.View.updateDisplayListIfDirty(View.java:22308)
	at android.view.View.draw(View.java:23200)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4602)
	at androidx.coordinatorlayout.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:1277)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4360)
	at android.view.View.updateDisplayListIfDirty(View.java:22297)
	at android.view.View.draw(View.java:23200)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4602)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4360)
	at android.view.View.draw(View.java:23499)
	at android.view.View.updateDisplayListIfDirty(View.java:22308)
	at android.view.View.draw(View.java:23200)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4602)
	at androidx.fragment.app.FragmentContainerView.drawChild(FragmentContainerView.java:268)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4360)
	at androidx.fragment.app.FragmentContainerView.dispatchDraw(FragmentContainerView.java:256)
	at android.view.View.updateDisplayListIfDirty(View.java:22297)
	at android.view.View.draw(View.java:23200)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4602)
	at androidx.coordinatorlayout.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:1277)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4360)
	at android.view.View.updateDisplayListIfDirty(View.java:22297)
	at android.view.View.draw(View.java:23200)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4602)
	at androidx.drawerlayout.widget.DrawerLayout.drawChild(DrawerLayout.java:1478)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4360)
	at android.view.View.updateDisplayListIfDirty(View.java:22297)
	at android.view.View.draw(View.java:23200)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4602)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4360)
	at android.view.View.updateDisplayListIfDirty(View.java:22297)
	at android.view.View.draw(View.java:23200)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4602)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4360)
	at android.view.View.updateDisplayListIfDirty(View.java:22297)
	at android.view.View.draw(View.java:23200)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4602)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4360)
	at android.view.View.updateDisplayListIfDirty(View.java:22297)
	at android.view.View.draw(View.java:23200)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4602)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4360)
	at android.view.View.updateDisplayListIfDirty(View.java:22297)
	at android.view.View.draw(View.java:23200)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4602)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4360)
	at android.view.View.draw(View.java:23499)
	at com.android.internal.policy.DecorView.draw(DecorView.java:894)
	at android.view.View.updateDisplayListIfDirty(View.java:22308)
	at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:682)
	at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:690)
	at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:795)
	at android.view.ViewRootImpl.draw(ViewRootImpl.java:4987)
	at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:4676)
	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3873)
	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2574)
	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9649)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1386)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1394)
	at android.view.Choreographer.doCallbacks(Choreographer.java:1013)
	at android.view.Choreographer.doFrame(Choreographer.java:911)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1366)
	at android.os.Handler.handleCallback(Handler.java:942)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:210)
	at android.os.Looper.loop(Looper.java:299)
	at android.app.ActivityThread.main(ActivityThread.java:8136)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)


@InfinityLoop1308
Copy link
Owner

🤔 #3 #44

@InfinityLoop1308
Copy link
Owner

Forget to mention but the issue has been fixed in 3.2.1. It is because the creator use a 20m+ file as his avatar...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants