RenderThread线程报错记录
RenderThread线程报错是很蛋疼的,它是属于native报错,而且还会有各种情况。
04-23 16:31:38.343 17895 17895 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-23 16:31:38.344 17895 17895 F DEBUG : Build fingerprint: 'xiaomi/tiffany/tiffany:7.1.2/N2G47H/V9.5.1.0.NDBCNFA:user/release-keys'
04-23 16:31:38.344 17895 17895 F DEBUG : Revision: '0'
04-23 16:31:38.344 17895 17895 F DEBUG : ABI: 'arm'
04-23 16:31:38.344 17895 17895 F DEBUG : pid: 7587, tid: 7783, name: RenderThread >>> com.sohu.sohuvideo <<<
04-23 16:31:38.345 17895 17895 F DEBUG : signal 6 (SIGABRT), code 0 (SI_USER), fault addr --------
04-23 16:31:38.398 17895 17895 F DEBUG : Abort message: 'GL errors! frameworks/base/libs/hwui/BakedOpRenderer.cpp:98'
04-23 16:31:38.398 17895 17895 F DEBUG : r0 00000000 r1 00001e67 r2 00000006 r3 00000008
04-23 16:31:38.398 17895 17895 F DEBUG : r4 bace5978 r5 00000006 r6 bace5920 r7 0000010c
04-23 16:31:38.398 17895 17895 F DEBUG : r8 bace5378 r9 eadb8268 sl eadb82e0 fp c37798b8
04-23 16:31:38.398 17895 17895 F DEBUG : ip 0000000c sp bace4ef0 lr ebb1a2f7 pc ebb1cb78 cpsr 200f0010
04-23 16:31:38.408 17895 17895 F DEBUG :
04-23 16:31:38.408 17895 17895 F DEBUG : backtrace:
04-23 16:31:38.408 17895 17895 F DEBUG : #00 pc 00049b78 /system/lib/libc.so (tgkill+12)
04-23 16:31:38.408 17895 17895 F DEBUG : #01 pc 000472f3 /system/lib/libc.so (pthread_kill+34)
04-23 16:31:38.408 17895 17895 F DEBUG : #02 pc 0001d595 /system/lib/libc.so (raise+10)
04-23 16:31:38.408 17895 17895 F DEBUG : #03 pc 000190e1 /system/lib/libc.so (__libc_android_abort+34)
04-23 16:31:38.408 17895 17895 F DEBUG : #04 pc 00017144 /system/lib/libc.so (abort+4)
04-23 16:31:38.409 17895 17895 F DEBUG : #05 pc 0000c545 /system/lib/libcutils.so (__android_log_assert+112)
04-23 16:31:38.409 17895 17895 F DEBUG : #06 pc 000614c1 /system/lib/libhwui.so
04-23 16:31:38.409 17895 17895 F DEBUG : #07 pc 000246bb /system/lib/libhwui.so
04-23 16:31:38.409 17895 17895 F DEBUG : #08 pc 000242a1 /system/lib/libhwui.so
04-23 16:31:38.409 17895 17895 F DEBUG : #09 pc 00025f13 /system/lib/libhwui.so
04-23 16:31:38.409 17895 17895 F DEBUG : #10 pc 0002952d /system/lib/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+80)
04-23 16:31:38.409 17895 17895 F DEBUG : #11 pc 0000e481 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+140)
04-23 16:31:38.409 17895 17895 F DEBUG : #12 pc 000675ed /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)
04-23 16:31:38.409 17895 17895 F DEBUG : #13 pc 00046dc3 /system/lib/libc.so (_ZL15__pthread_startPv+22)
04-23 16:31:38.409 17895 17895 F DEBUG : #14 pc 00019b2d /system/lib/libc.so (__start_thread+6)
看到这个错误栈,是不是觉得,完全不知道怎么入手,因为这是崩溃到了底层,而且没有java栈。不过我们知道是一个GL errors错误。
这篇文章解释了报错的地方,没有给出解决办法。
搜索一下log日志,有如下的log
04-23 16:31:34.584 7587 7783 W Adreno-GSL: <sharedmem_gpuobj_alloc:2021>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
04-23 16:31:34.586 7587 7783 E Adreno-GSL: <gsl_memory_alloc_pure:2135>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
04-23 16:31:34.587 7587 7783 W Adreno-GSL: <sharedmem_gpuobj_alloc:2021>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
04-23 16:31:34.588 7587 7783 E Adreno-GSL: <gsl_memory_alloc_pure:2135>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
04-23 16:31:34.589 7587 7783 W Adreno-GSL: <sharedmem_gpuobj_alloc:2021>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
04-23 16:31:34.590 7587 7783 E Adreno-GSL: <gsl_memory_alloc_pure:2135>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
04-23 16:31:34.594 7587 7783 E OpenGLRenderer: GL error: Out of memory!
04-23 16:31:34.595 7587 7783 F OpenGLRenderer: GL errors! frameworks/base/libs/hwui/BakedOpRenderer.cpp:98
这就是报错的根源,是底层发生了OOM。网上也没解决办法
[这篇文章有点参考价值]https://blog.csdn.net/zy13608089849/article/details/107570638
RenderThread除了报OOM错,还有别的错:
Android 7 Native Crash: libc.so tgkill
App crashes after exiting with a “signal 6 (SIGABRT)” in RenderThread
tgkill - native error on Android 8.0 Samsung S8
RenderThread线程报错记录相关推荐
- oracle 被另一用户锁定,Oracle报错记录被另外一个用户锁定的解决方案
原因 当一个用户对数据进行修改时,若没有进行提交或者回滚,Oracle不允许其他用户修改该条数据,在这种情况下修改,就会出现:"记录被另外一个用户锁定"错误. 解决 查询用户.数据 ...
- php curl 不验证ssl,PHP Curl https跳过ssl证书认证报错记录及解决
PHP Curl https跳过ssl证书认证报错记录及解决 function get($url = '', $cookie = '') { $ch = curl_init(); curl_setop ...
- 我的ssis和ssas报错记录
我的ssis和ssas报错记录 我的数据库装的是SQL Server 2005标准版本的,在这个版本里不具有数据透视功能, 所以解决这个的办法,只有把安装更高级的版本了,有 开发版和企业版,企业版要求 ...
- npm install安装失败,报错记录之The operation was rejected by your operating system. node-sass无法安装,且禁用淘宝镜像
因为公司电脑都由管理员管控,使用自己的账号是无法执行一些需要管理员权限的命令,所以在刚到公司时,使用管理员账号安装了node,配置了node缓存目录node_cache.node_global,以及设 ...
- Errors报错记录
Errors报错记录 前言 Error1 Error2 Error3 Error4 Error5 Error6 Error7 Error8 Error9 Error10 Error11 总结 前言 记 ...
- keil 5 报错记录:..\OBJ\templiate.axf: Error: L6218E: Undefined symbol PcdHalt (referred from rc522.o).
keil 5 报错记录:-\OBJ\templiate.axf: Error: L6218E: Undefined symbol PcdHalt (referred from rc522.o). 先来 ...
- Superset执行「superset db upgrade」命令的报错记录
Superset执行「superset db upgrade」命令的报错记录 文章目录 Superset执行「superset db upgrade」命令的报错记录 零.写在前面 一.「superse ...
- Flutter 新手之路,报错记录01
Flutter 新手之路,报错记录 搭建好 Flutter 开发环境,创建一个 Flutter 工程,可以在手机上任意跑 但是,今天导入了另一个工程,发现跑不动呀 service disabled! ...
- superset db upgrade报错记录
superset db upgrade报错记录 报错1 报错2 报错3 报错4 报错5 报错6 成功了 报错1 (superset) [hyj@hadoop102 ~]$ superset db up ...
最新文章
- golang 字符串比较 不区分大小写
- c/c++中extern的作用
- canvas--初级
- shiro反序列化工具_Apache Shiro 1.2.4反序列化漏洞(CVE-2016-4437)源码解析
- 指针知识(四):指针数学计算
- 我必须得告诉大家的 MySQL 优化原理
- 动易自定义标签HTML输出,动易标签【ArticleList】
- java重构工具_Piranha(陈旧代码自动重构工具)
- 真人拳皇项目第二次Scrum总结——史经浩
- [20151018]SCZ训练
- 高客单价项目,适合新手操作的网络项目
- 动物名称日语单词集合
- 满意度调查中的NPS题目怎么设置?
- 单点登录 ( 踢人模式 )
- 用js实现数组去除重复的元素方法
- PyTorch开发者福音, OpenVINO整合PyTorch实现推理加速!
- 使用 DHTML 与 XML 制作 Ajax 幻灯片
- bool-布尔型变量
- NLP中人类的沟通模式
- 负载均衡(LB)概述