Crash on Android 7 - out of memory message
Reported by
car...@instantbits.com,
Sep 18
|
|||||
Issue descriptionTHIS TEMPLATE IS FOR FILING BUGS ON THE ANDROID SYSTEM WEBVIEW. GENERAL WEB BUGS SHOULD BE FILED USING A DIFFERENT TEMPLATE! Device name: Moto G Android version: 7.0 WebView version (from system settings -> Apps -> Android System WebView): Chrome 69.0.3497.100 Application: Web Video Caster Application version: 4.4 I wanted to reproduce the issue reported here https://bugs.chromium.org/p/chromium/issues/detail?id=881339 so I bought one of the phones the Play Store said the issue happened under. I've been using it to browse the web regularly and haven't had that issue happen but today I did have it give me a "wait or close" dialog. Don't know if it is the same issue. The console had this message repeated over and over hundreds or times, this is just the end of it: 09-18 14:37:03.690 11634-11872/com.instantbits.cast.webvideo E/Adreno-GSL: <gsl_memory_alloc_pure:2125>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed. 09-18 14:37:03.693 11634-11872/com.instantbits.cast.webvideo W/Adreno-GSL: <sharedmem_gpuobj_alloc:2021>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory 09-18 14:37:03.693 11634-11872/com.instantbits.cast.webvideo E/Adreno-GSL: <gsl_memory_alloc_pure:2125>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed. 09-18 14:37:03.696 11634-11872/com.instantbits.cast.webvideo W/Adreno-GSL: <sharedmem_gpuobj_alloc:2021>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory 09-18 14:37:03.697 11634-11872/com.instantbits.cast.webvideo E/Adreno-GSL: <gsl_memory_alloc_pure:2125>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed. 09-18 14:37:03.697 11634-11872/com.instantbits.cast.webvideo E/OpenGLRenderer: GL error: Out of memory! 09-18 14:37:03.697 11634-11872/com.instantbits.cast.webvideo A/OpenGLRenderer: GL errors! frameworks/base/libs/hwui/BakedOpRenderer.cpp:98 I'm attaching the trace file I got out of the device.
,
Sep 18
I will keep using that phone to see if I can find steps to reproduce. It is possible that it is just a memory issue, but I'm wondering, is it possible that it affects only this GPU? I seem to recall other webview issues with Adreno in the past.
,
Sep 19
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Sep 19
> is it possible that it affects only this GPU? Bo could comment more on this. We could only guess the reasons until we have a solid repro steps and device info etc. Adding needs-feedback label back.
,
Sep 20
This is a 32-bit process, so by "out of memory" it often means "out of virtual address space". It is possible that the GL driver is leaking vaddrs, or just not managing them efficiently enough (the available space is very limited in a 32-bit process), which may be a separate issue from usage of actual physical memory. But, it's also just possible that the content you're loading requires too much :)
,
Sep 20
When it happened it was trying to load a video so maybe that was too much. Just to be clear, since this is GPU memory, my own app memory usage wouldn't affect it right? considering my app doesn't have any fancy graphics or anything.
,
Sep 20
The virtual address space of your application is where the GPU memory is mapped, so for virtual address space exhaustion the amount being used by your app is *also* significant, and on most Android devices, the physical memory is *also* shared between the GPU and the rest of the system. So, no: your own app's memory usage absolutely *can* affect it.
,
Sep 20
Ok, thanks for the clarification.
,
Sep 20
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Sep 20
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by ctzsm@chromium.org
, Sep 18Labels: Needs-Feedback