Crash: SIGABRT in [libc.so] abort

未关闭
#277 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
15/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
android, kotlin
领域
mobile

调研方向

The report is a native crash on API 34-36 with a backtrace through libhwui.so (SkiaOpenGLPipeline::getFrame, called from CanvasContext::draw), which suggests a rendering-path assertion rather than app code. Start with the stack frames and the sample build (version code 380, commit 82079247e) to see whether the app's drawing code triggers the assertion, and reproduce it on a matching device or emulator. Done means identifying the app-side cause, or a fix that stops the abort, verified against the three linked Play Console reports.

由索引模型根据 Issue 内容生成。

描述

crash crash-needs-human crash-triaged

Google Play reported this crash (Android vitals).

  • Exception: SIGABRT
  • Where: [libc.so] abort
  • Last 7 days: 6 reports from about 5 users
  • Version codes: 178–1015
  • Android API levels: 34–36
  • Last seen: 2026-11-27
  • Sample: ZTE ZTE Blade A36e, Android API 34, version code 380, commit 82079247e
backtrace:
  #00  pc 0x0000000000062db6  /apex/com.android.runtime/lib/bionic/libc.so (abort+138)
  #01  pc 0x000000000052d175  /apex/com.android.art/lib/libart.so (art::Runtime::Abort(char const*)+1204)
  #02  pc 0x000000000000e351  /apex/com.android.art/lib/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_0::__invoke(char const*)+48)
  #03  pc 0x0000000000005199  /system/lib/liblog.so (__android_log_assert+168)
  #04  pc 0x0000000000116a67  /system/lib/libhwui.so (android::uirenderer::skiapipeline::SkiaOpenGLPipeline::getFrame()+26)
  #05  pc 0x000000000011caa5  /system/lib/libhwui.so (android::uirenderer::renderthread::CanvasContext::draw(bool)+468)
  #06  pc 0x000000000011eea9  /system/lib/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.__uniq.264041412789356548918088680803242235290.b13304d3fa088e573b86c06b08b4707c)+1144)
  #07  pc 0x0000000000112103  /system/lib/libhwui.so (android::uirenderer::WorkQueue::process()+258)
  #08  pc 0x000000000012aeb1  /system/lib/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+376)
  #09  pc 0x000000000000d7e5  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+164)
  #10  pc 0x00000000000ad35b  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40)
  #11  pc 0x0000000000063da7  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30)

Play Console (needs access):

主要语言
Kotlin
星标
146
派生
35
平均合并
7 小时 41 分钟
30 天内合并 PR
221

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

anomalyco/opencode-android 的其他 Issue

查看 anomalyco/opencode-android 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。