title: Android Opengl Crash
body: <p>I have an integrated Android gpu image library for image processing and I am getting the below crash on some Android devices. If it is a problem with recycling the bitmap then it should crash on all devices, shouldn't it?</p>
  
  <pre><code>java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@41c523e8
  at android.graphics.Canvas.throwIfRecycled(Canvas.java:1047)
  at android.graphics.Canvas.drawBitmap(Canvas.java:1087)
  at pm.run(SourceFile:214)
  at pi.onDrawFrame(SourceFile:113)
  at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1463)
  at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1217)
  </code></pre>
  
  <p>In most of the Android devices it is working fine, but this problem happens only on some devices. Provide your suggestions to resolve it.</p>