Webview内存崩溃+ viewpager

时间:2018-01-16 08:56:49

标签: android webview android-viewpager chromium

如何修复此崩溃,

仅在Moto G5+ with Android 7 & chrome version 63.0.3239.111

上崩溃

崩溃日志

W/Adreno-GSL: <sharedmem_gpuobj_alloc:2021>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory

E/Adreno-GSL: <gsl_memory_alloc_pure:2125>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.

E/Adreno-GSL: <gsl_memory_alloc_pure:2125>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.

E/chromium: [ERROR:texture_manager.cc(3408)] [.RenderWorker-0x6df0a000]GL ERROR :GL_OUT_OF_MEMORY : glTexImage2D: 

E/chromium: [ERROR:gles2_cmd_decoder.cc(5409)] Error: 5 for Command kTexImage2D

[ERROR:gles2_cmd_decoder.cc(9881)] 
[GroupMarkerNotSet(crbug.com/242999)!:50082280]RENDER WARNING: texture 
bound to texture unit 0 is not renderable. It maybe non-power-of-2 and 
have incompatible texture filtering.
E/chromium: [ERROR:gles2_cmd_decoder.cc(9881)] 
[GroupMarkerNotSet(crbug.com/242999)!:50082280]RENDER WARNING: texture 
bound to texture unit 0 is not renderable. It maybe non-power-of-2 and 
have incompatible texture filtering.
E/chromium: [ERROR:gles2_cmd_decoder.cc(9881)] 
[GroupMarkerNotSet(crbug.com/242999)!:50082280]RENDER WARNING: texture 
bound to texture unit 0 is not renderable. It maybe non-power-of-2 and 
have incompatible texture filtering


W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
W/google-breakpad: Chrome build fingerprint:
W/google-breakpad: 1.0.3
W/google-breakpad: 1
W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 9665 
(RenderThread)
 W/         ]
debuggerd: handling request: pid=9499 uid=10390 gid=10390 tid=9665

我正在使用ViewPagerFragmentStatePagerAdapter来加载html文本列表。 它包含img标签和富文本。 几秒钟后,只要滚动页面,应用程序就会崩溃。

0 个答案:

没有答案