无复现步骤
- 发布:2022-07-18 10:43
- 更新:2022-07-18 10:58
- 阅读:507
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: windows10
HBuilderX类型: 正式
HBuilderX版本号: 3.4.18
手机系统: Android
手机系统版本号: Android 11
手机厂商: 小米
手机机型: m2003j15sc
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
无预期结果
无预期结果
实际结果:
无实际结果
无实际结果
bug描述:
app不明原因的崩溃,崩溃日志如下:
2022/07/15 05:16:54 [crash] imei:6D8BD87DF242A7A6989C734A9CBCAAC8 md:M2003J15SC p:a os:30 net:3 vb:1.9.9.81362 mc:common appid:UNI30ED351 appcount:1 wvcount:2 pn:uni.UNI30ED351 mem:3067904 etype:1 eurl: carsh_info:java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@6e5acdd
at android.graphics.BaseCanvas.throwIfCannotDraw(BaseCanvas.java:66)
at android.graphics.MiuiCanvas.throwIfCannotDraw(MiuiCanvas.java:366)
at android.graphics.RecordingCanvas.throwIfCannotDraw(RecordingCanvas.java:277)
at android.graphics.BaseRecordingCanvas.drawBitmap(BaseRecordingCanvas.java:88)
at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:548)
at android.widget.ImageView.onDraw(ImageView.java:1436)
at android.view.View.draw(View.java:22769)
at android.view.View.updateDisplayListIfDirty(View.java:21597)
at android.view.View.draw(View.java:22483)
at android.view.ViewGroup.drawChild(ViewGroup.java:4595)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4354)
at android.view.View.updateDisplayListIfDirty(View.java:21588)
at android.view.View.draw(View.java:22483)
at android.view.ViewGroup.drawChild(ViewGroup.java:4595)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4354)
at android.view.View.updateDisplayListIfDirty(View.java:21588)
at android.view.View.draw(View.java:22483)
at android.view.ViewGroup.drawChild(ViewGroup.java:4595)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4354)
at android.view.View.draw(View.java:22776)
at android.view.View.updateDisplayListIfDirty(View.java:21597)
at android.view.View.draw(View.java:22483)
at android.view.ViewGroup.drawChild(ViewGroup.java:4595)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4354)
at android.view.View.updateDisplayListIfDirty(View.java:21588)
at android.view.View.draw(View.java:22483)
at android.view.ViewGroup.drawChild(ViewGroup.java:4595)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4354)
at android.view.View.updateDisplayListIfDirty(View.java:21588)
at android.view.View.draw(View.java:22483)
at android.view.ViewGroup.drawChild(ViewGroup.java:4595)
at io.dcloud.common.core.ui.k.drawChild(SourceFile:2)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4354)
at io.dcloud.common.core.ui.a$l.dispatchDraw(SourceFile:1)
at android.view.View.draw(View.java:22776)
at android.view.View.updateDisplayListIfDirty(View.java:21597)
at android.view.View.draw(View.java:22483)
at android.view.ViewGroup.drawChild(ViewGroup.java:4595)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4354)
at android.view.View.updateDisplayListIfDirty(View.java:21588)
at android.view.View.draw(View.java:22483)
at android.view.ViewGroup.drawChild(ViewGroup.java:4595)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4354)
at android.view.View.updateDisplayListIfDirty(View.java:21588)
at android.view.View.draw(View.java:22483)
at android.view.ViewGroup.drawChild(ViewGroup.java:4595)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4354)
at android.view.View.updateDisplayListIfDirty(View.java:21588)
at android.view.View.draw(View.java:22483)
at android.view.ViewGroup.drawChild(ViewGroup.java:4595)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4354)
at android.view.View.draw(View.java:22776)
at com.android.internal.policy.DecorView.draw(DecorView.java:826)
at android.view.View.updateDisplayListIfDirty(View.java:21597)
at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:559)
at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:565)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:642)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:4364)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:4074)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3329)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2129)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8603)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:975)
at android.view.Choreographer.doCallbacks(Choreographer.java:799)
at android.view.Choreographer.doFrame(Choreographer.java:734)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:960)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:236)
at android.app.ActivityThread.main(ActivityThread.java:7864)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:620)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1011)
4***@qq.com (作者)
好像是图片多或者图片比较大的时候会出现这个问题
2022-07-20 10:57
DCloud_Android_ST
回复 4***@qq.com: 看日志是与图片有关但是具体原因不明需要找到复现步骤
2022-07-20 11:02
4***@qq.com (作者)
回复 DCloud_Android_ST: 是偶尔出现的,比较难复现
2022-07-20 19:38
4***@qq.com (作者)
2022/07/21 20:19:47 [crash] imei:C87099170736D07F751127AE75EB86E7 md:Redmi K30 Pro Zoom Edition p:a os:31 net:0 vb:1.9.9.81362 mc:common appid:UNI30ED351 appcount:1 wvcount:2 pn:uni.UNI30ED351 mem:4685824 etype:1 eurl: carsh_info:java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@fb305ef
at android.graphics.BaseCanvas.throwIfCannotDraw(BaseCanvas.java:74)
at android.graphics.MiuiCanvas.throwIfCannotDraw(MiuiCanvas.java:358)
at android.graphics.RecordingCanvas.throwIfCannotDraw(RecordingCanvas.java:263)
at android.graphics.BaseRecordingCanvas.drawBitmap(BaseRecordingCanvas.java:94)
at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:549)
at android.widget.ImageView.onDraw(ImageView.java:1480)
at android.view.View.draw(View.java:23014)
at android.view.View.updateDisplayListIfDirty(View.java:21882)
at android.view.View.draw(View.java:22740)
at android.view.ViewGroup.drawChild(ViewGroup.java:4542)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4300)
at android.view.View.updateDisplayListIfDirty(View.java:21873)
at android.view.View.draw(View.java:22740)
at android.view.ViewGroup.drawChild(ViewGroup.java:4542)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4300)
at android.view.View.updateDisplayListIfDirty(View.java:21873)
at android.view.View.draw(View.java:22740)
at android.view.ViewGroup.drawChild(ViewGroup.java:4542)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4300)
at android.view.View.draw(View.java:23018)
at android.view.View.updateDisplayListIfDirty(View.java:21882)
at android.view.View.draw(View.java:22740)
at android.view.ViewGroup.drawChild(ViewGroup.java:4542)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4300)
at android.view.View.updateDisplayListIfDirty(View.java:21873)
at android.view.View.draw(View.java:22740)
at android.view.ViewGroup.drawChild(ViewGroup.java:4542)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4300)
at android.view.View.updateDisplayListIfDirty(View.java:21873)
at android.view.View.draw(View.java:22740)
at android.view.ViewGroup.drawChild(ViewGroup.java:4542)
at io.dcloud.common.core.ui.k.drawChild(SourceFile:2)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4300)
at io.dcloud.common.core.ui.a$l.dispatchDraw(SourceFile:1)
at android.view.View.draw(View.java:23018)
at android.view.View.updateDisplayListIfDirty(View.java:21882)
at android.view.View.draw(View.java:22740)
at android.view.ViewGroup.drawChild(ViewGroup.java:4542)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4300)
at android.view.View.updateDisplayListIfDirty(View.java:21873)
at android.view.View.draw(View.java:22740)
at android.view.ViewGroup.drawChild(ViewGroup.java:4542)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4300)
at android.view.View.updateDisplayListIfDirty(View.java:21873)
at android.view.View.draw(View.java:22740)
at android.view.ViewGroup.drawChild(ViewGroup.java:4542)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4300)
at android.view.View.updateDisplayListIfDirty(View.java:21873)
at android.view.View.draw(View.java:22740)
at android.view.ViewGroup.drawChild(ViewGroup.java:4542)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4300)
at android.view.View.draw(View.java:23018)
at com.android.internal.policy.DecorView.draw(DecorView.java:888)
at android.view.View.updateDisplayListIfDirty(View.java:21882)
at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:534)
at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:542)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:625)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:4645)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:4363)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3474)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2265)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9023)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1142)
at android.view.Choreographer.doCallbacks(Choreographer.java:946)
at android.view.Choreographer.doFrame(Choreographer.java:875)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1127)
at android.os.Handler.handleCallback(Handler.java:938)
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:8283)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:556)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
2022-07-22 18:07
4***@qq.com (作者)
好多这个崩溃日志,请问有没办法解决,
2022-07-22 18:07
DCloud_Android_ST
回复 4***@qq.com: 这种日志定位不了问题 必须找到复现步骤 我们才能排查到具体原因
2022-07-22 19:07