We are working on Criminal Case Android (http://goo.gl/5fkXnn) and we are receiving more and more crash reports related to libGLESv2_POWERVR_SGX540_120.so mostly on Samsung GTP3110, GT P5110 and GTP5100.
Without the source code it’s really hard to make sense of this stacktrace. Maybe one of you could put us in the right direction to fix this recurring bug in our code.
To give you as much details as possible we weren’t able to reproduce the bug with our device however thanks to crashlytics’ unwind library we are able to collect details but not as precise as the driver used as you can see in the screenshot attached.
A reproduction of the bug and a driver version of the device in question would help most, and then capturing a trace of the crash would allow us identify the issue.
You will find below more details about the only crash we had but unfortunately we didn’t recovered the tombstone from logcat. We’ll try to reproduce it on monday.
We managed to reproduce the crash in another device. Below is all the info we could grab from this issue (also see attached crash tombstone as well as the device libs that present the issue).
Ever since we originally posted this issue we’ve continued our research and tried to understand the cause for it.
We ran PVRTrace to find out exactly what was happening in our app (PVRTrace session where the issue occurs can be downloaded here https://drive.google.com/file/d/0B-vdY4dg0gQMazU2YmtndUN2d2c/view?usp=sharing) which gave us the impression that we were simply running out of memory. However after further testing this seems not to be the case. The problem stems from the creation of too many FBO’s in the spam of one draw cycle.
PS: There seems to be a small issue with your forum’s post system. Even though it states that anchor HTML tags are valid, submiting a post with them will refresh the page as if the post was correctly submited with no error report whatsoever but the post isn’t actually submited. I had to default to url tags. Also when attempting to re-submit the same post it’ll report that the post is a duplicate even though its previous submission apparently failed.
[blockquote]but we fear this is not the case as the exact same code is running on iOS devices[/blockquote]
Apple’s driver behaviour is different to our own. I suspect that’s where the limitation lies.
[blockquote]PS: There seems to be a small issue with your forum’s post system.[/blockquote]
We’re aware of the issue and reported it to our web team a few weeks ago. I’ll ping them again to see if this can be resolved.
Thanks for sharing your recording with us. We’ll take a look at it and will aim to follow up with you soon.
From the trace you provided it looks like you are rendering several blocks of text as individual framebuffer objects. This can become very memory-expensive, and in this case it is hitting the driver defined allocation limit.