Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.11.3, 5.12.0, 5.12.1
-
None
-
Android 8.0
Tested on Motorola G6 and Samsung Galaxy S8, crash happens on both
Android 6.0
Sony Xperia, crash happens on this as well
Description
I have something like the following lines of code in my QML file:
Timer { id: timer running: true repeat: true interval: 30 onTriggered: { someItem.grabToImage(function(result) { // do something (this line doesn't matter, even when there's nothing here, the crash still occures) }) } }
When doing this on Android platform (namely Android 8.0), my application crashes after some time (randomly crashing after between 300 to 500 calls to grabToImage)
To be precise, first I start seeing the following in my debugger output, many times:
E Adreno-GSL: <gsl_memory_alloc_pure:2203>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.W Adreno-GSL: <sharedmem_gpuobj_alloc:2337>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
And crash after a few moments.