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

Anr #608

Open
StarkZhidian opened this issue Aug 4, 2024 · 0 comments
Open

Anr #608

StarkZhidian opened this issue Aug 4, 2024 · 0 comments

Comments

@StarkZhidian
Copy link
Contributor

Hi, all, I found an anr problem in release version:

main (runnable):tid=1 systid=10393 #00 pc 0x483028 libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool) + 140) #01 pc 0x588888 libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const + 380) #02 pc 0x5a56d4 libart.so (art::DumpCheckpoint::Run(art::Thread*) + 924) #03 pc 0x589564 libart.so (art::Thread::RunCheckpointFunction() + 176) #04 pc 0x628454 libart.so (art::JniMethodFastEnd(unsigned int, art::Thread*) + 132) at android.graphics.BaseRecordingCanvas.nDrawTextRun(Native method) at android.graphics.BaseRecordingCanvas.drawTextRun(BaseRecordingCanvas.java:520) at io.github.rosemoe.sora.widget.EditorRenderer.drawTextRunDirect(EditorRenderer.java:1) at io.github.rosemoe.sora.widget.EditorRenderer.drawText(EditorRenderer.java:4) at io.github.rosemoe.sora.widget.EditorRenderer.lambda$patchTextRegionWithColor$1(EditorRenderer.java:804) at io.github.rosemoe.sora.widget.EditorRenderer.patchTextRegions(EditorRenderer.java:804) at io.github.rosemoe.sora.widget.EditorRenderer.patchTextRegionWithColor(EditorRenderer.java:804) at io.github.rosemoe.sora.widget.EditorRenderer.patchHighlightedDelimiters(EditorRenderer.java:54) at io.github.rosemoe.sora.widget.EditorRenderer.drawView(EditorRenderer.java:54) at io.github.rosemoe.sora.widget.EditorRenderer.draw(EditorRenderer.java:34) at io.github.rosemoe.sora.widget.CodeEditor.onDraw(CodeEditor.java:34) at android.view.View.draw(View.java:23907) at android.view.View.updateDisplayListIfDirty(View.java:22782) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292) at android.view.View.updateDisplayListIfDirty(View.java:22737) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292) at android.view.View.updateDisplayListIfDirty(View.java:22737) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292) at android.view.View.updateDisplayListIfDirty(View.java:22737) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292) at android.view.View.updateDisplayListIfDirty(View.java:22737) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292) at android.view.View.updateDisplayListIfDirty(View.java:22737) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292) at android.view.View.updateDisplayListIfDirty(View.java:22737) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292) at android.view.View.updateDisplayListIfDirty(View.java:22737) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292) at android.view.View.updateDisplayListIfDirty(View.java:22737) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292) at android.view.View.updateDisplayListIfDirty(View.java:22737) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292) at android.view.View.updateDisplayListIfDirty(View.java:22737) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292) at android.view.View.updateDisplayListIfDirty(View.java:22737) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292) at android.view.View.updateDisplayListIfDirty(View.java:22737) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292) at android.view.View.updateDisplayListIfDirty(View.java:22737) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292) at android.view.View.updateDisplayListIfDirty(View.java:22737) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292) at android.view.View.updateDisplayListIfDirty(View.java:22737) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292) at android.view.View.updateDisplayListIfDirty(View.java:22737) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292) at android.view.View.updateDisplayListIfDirty(View.java:22737) at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:583) at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:589) at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:666) at android.view.ViewRootImpl.draw(ViewRootImpl.java:5124) at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:4824) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3936) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2669) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:10092) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1010) at android.view.Choreographer.doCallbacks(Choreographer.java:809) at android.view.Choreographer.doFrame(Choreographer.java:744) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:995) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:247) at android.app.ActivityThread.main(ActivityThread.java:8676) at java.lang.reflect.Method.invoke(Native method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)

Any body know the reason?

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

1 participant