This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SGS2 crashes in glDrawElements (in libGLESv1_CM_mali.so)

Note: This was originally posted on 30th March 2012 at http://forums.arm.com

Hi,


I spent much of last night trying to figure out why my Android Java game would cause a native crash in libGLESv1_CM_mali.so on the Samsung Galaxy S2 when coming out of sleep mode.  My analysis suggests an OpenGL ES driver bug and I wonder if anyone suitably expert could advise (a) if I'm probably on the right track, and (b) how this should be reported and fixed?



Thanks,


Reuben
Parents
  • Note: This was originally posted on 13th April 2012 at http://forums.arm.com

    It's Java, it's impossible to mistakenly pass a pointer instead of an offset.

    And even if I did somehow manage to do that, then nothing could *ever* work.  The situation I have is where everything works beautifully, except for an occasional crash that only happens when coming out of sleep mode.

    The problem happens even more on phones that have been upgraded to Android 4.0.  The offset in the driver is exactly the same, so I guess it got exactly zero patches over the last 18 months. I wonder if anyone *ever* tests it, and if so, how?
Reply
  • Note: This was originally posted on 13th April 2012 at http://forums.arm.com

    It's Java, it's impossible to mistakenly pass a pointer instead of an offset.

    And even if I did somehow manage to do that, then nothing could *ever* work.  The situation I have is where everything works beautifully, except for an occasional crash that only happens when coming out of sleep mode.

    The problem happens even more on phones that have been upgraded to Android 4.0.  The offset in the driver is exactly the same, so I guess it got exactly zero patches over the last 18 months. I wonder if anyone *ever* tests it, and if so, how?
Children
No data