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/UI crashed #3

Closed
AngelofMe opened this issue Jun 28, 2022 · 2 comments
Closed

App/UI crashed #3

AngelofMe opened this issue Jun 28, 2022 · 2 comments

Comments

@AngelofMe
Copy link

I don't know why it happened
Appearance: Black
other settings default
Video
不买错亿!神作集体骨折价!【steam夏促】
https://m.bilibili.com/video/BV1va411W7yY?p=1
{"user_action":"ui error","request":"ACRA report","content_language":"en-US","content_country":"US","app_language":"en_US","service":"none","package":"org.schabi.newpipe","version":"0.23.0","os":"Linux Android 12 - 32","time":"2022-06-28 14:24","exceptions":["java.lang.RuntimeException: Canvas: trying to draw too large(228985130bytes) bitmap.\n\tat android.graphics.RecordingCanvas.throwIfCannotDraw(RecordingCanvas.java:266)\n\tat android.graphics.BaseRecordingCanvas.drawBitmap(BaseRecordingCanvas.java:94)\n\tat android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:549)\n\tat com.squareup.picasso.PicassoDrawable.draw(PicassoDrawable.java:109)\n\tat android.widget.ImageView.onDraw(ImageView.java:1442)\n\tat android.view.View.draw(View.java:22704)\n\tat android.view.View.updateDisplayListIfDirty(View.java:21579)\n\tat android.view.View.draw(View.java:22435)\n\tat android.view.ViewGroup.drawChild(ViewGroup.java:4528)\n\tat android.view.ViewGroup.dispatchDraw(ViewGroup.java:4289)\n\tat androidx.constraintlayout.widget.ConstraintLayout.dispatchDraw(ConstraintLayout.java:1994)\n\tat android.view.View.draw(View.java:22707)\n\tat android.view.View.updateDisplayListIfDirty(View.java:21579)\n\tat android.view.View.draw(View.java:22435)\n\tat android.view.ViewGroup.drawChild(ViewGroup.java:4528)\n\tat androidx.recyclerview.widget.RecyclerView.drawChild(RecyclerView.java:5204)\n\tat android.view.ViewGroup.dispatchDraw(ViewGroup.java:4289)\n\tat android.view.View.draw(View.java:22707)\n\tat androidx.recyclerview.widget.RecyclerView.draw(RecyclerView.java:4603)\n\tat android.view.View.updateDisplayListIfDirty(View.java:21579)\n\tat android.view.View.draw(View.java:22435)\n\tat android.view.ViewGroup.drawChild(ViewGroup.java:4528)\n\tat android.view.ViewGroup.dispatchDraw(ViewGroup.java:4289)\n\tat android.view.View.updateDisplayListIfDirty(View.java:21570)\n\tat android.view.View.draw(View.java:22435)\n\tat android.view.ViewGroup.drawChild(ViewGroup.java:4528)\n\tat android.view.ViewGroup.dispatchDraw(ViewGroup.java:4289)\n\tat android.view.View.draw(View.java:22707)\n\tat androidx.viewpager.widget.ViewPager.draw(ViewPager.java:2426)\n\tat android.view.View.updateDisplayListIfDirty(View.java:21579)\n\tat android.view.View.draw(View.java:22435)\n\tat android.view.ViewGroup.drawChild(ViewGroup.java:4528)\n\tat androidx.coordinatorlayout.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:1277)\n\tat android.view.ViewGroup.dispatchDraw(ViewGroup.java:4289)\n\tat android.view.View.updateDisplayListIfDirty(View.java:21570)\n\tat android.view.View.draw(View.java:22435)\n\tat android.view.ViewGroup.drawChild(ViewGroup.java:4528)\n\tat android.view.ViewGroup.dispatchDraw(ViewGroup.java:4289)\n\tat android.view.View.draw(View.java:22707)\n\tat android.view.View.updateDisplayListIfDirty(View.java:21579)\n\tat android.view.View.draw(View.java:22435)\n\tat android.view.ViewGroup.drawChild(ViewGroup.java:4528)\n\tat androidx.fragment.app.FragmentContainerView.drawChild(FragmentContainerView.java:268)\n\tat android.view.ViewGroup.dispatchDraw(ViewGroup.java:4289)\n\tat androidx.fragment.app.FragmentContainerView.dispatchDraw(FragmentContainerView.java:256)\n\tat android.view.View.updateDisplayListIfDirty(View.java:21570)\n\tat android.view.View.draw(View.java:22435)\n\tat android.view.ViewGroup.drawChild(ViewGroup.java:4528)\n\tat androidx.coordinatorlayout.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:1277)\n\tat android.view.ViewGroup.dispatchDraw(ViewGroup.java:4289)\n\tat android.view.View.updateDisplayListIfDirty(View.java:21570)\n\tat android.view.View.draw(View.java:22435)\n\tat android.view.ViewGroup.drawChild(ViewGroup.java:4528)\n\tat androidx.drawerlayout.widget.DrawerLayout.drawChild(DrawerLayout.java:1478)\n\tat android.view.ViewGroup.dispatchDraw(ViewGroup.java:4289)\n\tat android.view.View.updateDisplayListIfDirty(View.java:21570)\n\tat android.view.View.draw(View.java:22435)\n\tat android.view.ViewGroup.drawChild(ViewGroup.java:4528)\n\tat android.view.ViewGroup.dispatchDraw(ViewGroup.java:4289)\n\tat android.view.View.updateDisplayListIfDirty(View.java:21570)\n\tat android.view.View.draw(View.java:22435)\n\tat android.view.ViewGroup.drawChild(ViewGroup.java:4528)\n\tat android.view.ViewGroup.dispatchDraw(ViewGroup.java:4289)\n\tat android.view.View.updateDisplayListIfDirty(View.java:21570)\n\tat android.view.View.draw(View.java:22435)\n\tat android.view.ViewGroup.drawChild(ViewGroup.java:4528)\n\tat android.view.ViewGroup.dispatchDraw(ViewGroup.java:4289)\n\tat android.view.View.updateDisplayListIfDirty(View.java:21570)\n\tat android.view.View.draw(View.java:22435)\n\tat android.view.ViewGroup.drawChild(ViewGroup.java:4528)\n\tat android.view.ViewGroup.dispatchDraw(ViewGroup.java:4289)\n\tat android.view.View.updateDisplayListIfDirty(View.java:21570)\n\tat android.view.View.draw(View.java:22435)\n\tat android.view.ViewGroup.drawChild(ViewGroup.java:4528)\n\tat android.view.ViewGroup.dispatchDraw(ViewGroup.java:4289)\n\tat android.view.View.draw(View.java:22707)\n\tat com.android.internal.policy.DecorView.draw(DecorView.java:819)\n\tat android.view.View.updateDisplayListIfDirty(View.java:21579)\n\tat android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:534)\n\tat android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:540)\n\tat android.view.ThreadedRenderer.draw(ThreadedRenderer.java:616)\n\tat android.view.ViewRootImpl.draw(ViewRootImpl.java:4525)\n\tat android.view.ViewRootImpl.performDraw(ViewRootImpl.java:4245)\n\tat android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3374)\n\tat android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2179)\n\tat android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8787)\n\tat android.view.Choreographer$CallbackRecord.run(Choreographer.java:1037)\n\tat android.view.Choreographer.doCallbacks(Choreographer.java:845)\n\tat android.view.Choreographer.doFrame(Choreographer.java:780)\n\tat android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1022)\n\tat android.os.Handler.handleCallback(Handler.java:938)\n\tat android.os.Handler.dispatchMessage(Handler.java:99)\n\tat android.os.Looper.loopOnce(Looper.java:201)\n\tat android.os.Looper.loop(Looper.java:288)\n\tat android.app.ActivityThread.main(ActivityThread.java:7870)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)\n"],"user_comment":""}

@InfinityLoop1308
Copy link
Owner

InfinityLoop1308 commented Jun 28, 2022

Hi. First thanks for using NewPipeEnhanced.
For this problem, it occurs because the preview image has too high resolution, and is actually a bug on the upstream.
I will make a patch to fix it in the next releases but it has a low priority since this bug is very rare.

BTW: If you like this repo, please star it to support my work.

@InfinityLoop1308
Copy link
Owner

InfinityLoop1308 commented Jun 29, 2022

This issue can not be reproduced anymore, so I guess it was a bug of BiliBili. It works fine now.

Edit: Can be reproduced but randomly. Fixed in v1.5.1

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

No branches or pull requests

2 participants