问题背景:
使用 Google 提供的 Camera2 的 Demo 时,app 会出现偶发性的崩溃,RenderThread
SIGSEGV(SEGV_MAPERR) Failed to get java stack

参考网上查找类似问题的解决方法:
把子线程处理的任务,放到 UI 线程上就可避免。(当然不能耗时太长,否则 UI 线程上抛异常)

问题背景:
使用 Google 提供的 Camera2 的 Demo 时,app 会出现偶发性的崩溃,RenderThread
SIGSEGV(SEGV_MAPERR) Failed to get java stack
参考网上查找类似问题的解决方法:
把子线程处理的任务,放到 UI 线程上就可避免。(当然不能耗时太长,否则 UI 线程上抛异常)
本文标题:RenderThread SIGSEGV(SEGV_MAPERR
本文链接:https://www.haomeiwen.com/subject/jvqpmftx.html
网友评论