Author Topic: ERROR: glAttachShader - vertex shader: glError 1281 on load second time  (Read 7880 times)

Offline marksman

  • byte
  • *
  • Posts: 6
    • View Profile
Hi all !

I'am French then sorry for my bad english... If you could, please reply me with simple sentences.
I have an annoying problem.

The StackTrace :

Code: [Select]
07-04 14:41:30.914: D/ACRA(13291): Wait for Toast + worker ended. Kill Application ? true
07-04 14:41:30.914: I/v_hwc(100): hwc prepare: 3D composition
07-04 14:41:30.930: I/v_hwc(100): hwc prepare: 3D composition
07-04 14:41:30.930: E/AndroidRuntime(13291): FATAL EXCEPTION: GLThread 354
07-04 14:41:30.930: E/AndroidRuntime(13291): java.lang.RuntimeException: [ 1372948890650 ] - ERROR: java.lang.RuntimeException: [ 1372948890645 ] - ERROR: java.lang.RuntimeException: [ 1372948890637 ] - ERROR: java.lang.RuntimeException: [ 1372948890634 ] - ERROR: glAttachShader - vertex shader: glError 1281
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.Logger.log(Logger.java:189)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.GLSLShader.checkError(GLSLShader.java:982)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.GLSLShader.createProgram(GLSLShader.java:948)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.GLSLShader.loadProgram(GLSLShader.java:940)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.GLSLShader.<init>(GLSLShader.java:261)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.GL20.<init>(GL20.java:117)
07-04 14:41:30.930: E/AndroidRuntime(13291): at java.lang.Class.newInstanceImpl(Native Method)
07-04 14:41:30.930: E/AndroidRuntime(13291): at java.lang.Class.newInstance(Class.java:1319)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.GLRenderer.init(GLRenderer.java:377)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.GLRenderer.init(GLRenderer.java:367)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:92)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:117)
07-04 14:41:30.930: E/AndroidRuntime(13291): at fr.me.project.activities.utils.threedimensions.ThreeDimensionsRenderer.onSurfaceChanged(ThreeDimensionsRenderer.java:142)
07-04 14:41:30.930: E/AndroidRuntime(13291): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1455)
07-04 14:41:30.930: E/AndroidRuntime(13291): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.Logger.log(Logger.java:189)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.Logger.log(Logger.java:148)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.GLSLShader.<init>(GLSLShader.java:265)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.GL20.<init>(GL20.java:117)
07-04 14:41:30.930: E/AndroidRuntime(13291): at java.lang.Class.newInstanceImpl(Native Method)
07-04 14:41:30.930: E/AndroidRuntime(13291): at java.lang.Class.newInstance(Class.java:1319)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.GLRenderer.init(GLRenderer.java:377)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.GLRenderer.init(GLRenderer.java:367)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:92)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:117)
07-04 14:41:30.930: E/AndroidRuntime(13291): at fr.me.project.activities.utils.threedimensions.ThreeDimensionsRenderer.onSurfaceChanged(ThreeDimensionsRenderer.java:142)
07-04 14:41:30.930: E/AndroidRuntime(13291): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1455)
07-04 14:41:30.930: E/AndroidRuntime(13291): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.Logger.log(Logger.java:189)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.Logger.log(Logger.java:136)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.GLRenderer.init(GLRenderer.java:379)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.GLRenderer.init(GLRenderer.java:367)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:92)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:117)
07-04 14:41:30.930: E/AndroidRuntime(13291): at fr.me.project.activities.utils.threedimensions.ThreeDimensionsRenderer.onSurfaceChanged(ThreeDimensionsRenderer.java:142)
07-04 14:41:30.930: E/AndroidRuntime(13291): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1455)
07-04 14:41:30.930: E/AndroidRuntime(13291): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.Logger.log(Logger.java:189)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.Logger.log(Logger.java:148)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:94)
07-04 14:41:30.930: E/AndroidRuntime(13291): at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:117)
07-04 14:41:30.930: E/AndroidRuntime(13291): at fr.me.project.activities.utils.threedimensions.ThreeDimensionsRenderer.onSurfaceChanged(ThreeDimensionsRenderer.java:142)
07-04 14:41:30.930: E/AndroidRuntime(13291): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1455)
07-04 14:41:30.930: E/AndroidRuntime(13291): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)
07-04 14:41:30.938: W/ActivityManager(250):   Force finishing activity fr.me.project/.activities.finalcontrol.ControlFinalActivity

The simplified source code without useless comment, imports, flourish :
The renderer :
Quote
public class ThreeDimensionsRenderer implements GLSurfaceView.Renderer{

   private FrameBuffer fb = null;
   protected World world = null;

   private ThreeDimensionsActivity master = null;
   private ThreeDimensionsActivity context = null;
   
   //Others thread can add Object3D to add or remove on scene
   /**
    * Objects to delete
    */
   private List<Object3D> toRemoveObject = null;
   /**
    * Objects to add
    */
   private List<Object3D> toAddObject = null;
   
   public ThreeDimensionsRenderer(ThreeDimensionsActivity master, ThreeDimensionsActivity context) {
      this.master = master;
      this.context = context;
   }

   @Override
   public void onSurfaceChanged(GL10 gl, int w, int h) {
      if (fb != null) {
         fb.dispose();
      }
      fb = new FrameBuffer( w, h);

      if (master == null) {
         world = new World();

         MemoryHelper.compact();

         if (master == null) {
            master = context;
         }
      }

   }

   @Override
   public void onSurfaceCreated(GL10 gl, EGLConfig config) {
   }
   
   @Override
   public void onDrawFrame(GL10 gl) {
      Camera cam = world.getCamera();
      
      //Add objects to add
      for(Object3D ob : this.toAddObject){
         world.addObject(ob);
      }
      //Remove objects to remove
      for(Object3D ob : this.toRemoveObject){
         world.removeObject(ob.getID());
      }
      
      this.toRemoveObject.clear();
      this.toAddObject.clear();
      
      //Rendering
      fb.clear(new RGBColor(100, 113, 122));
      world.renderScene(fb);
      world.draw(fb); //PROBLEM ON SECOND TIME
      fb.display();
   }

   public void addObjetToAdd(Object3D ob){
      this.toAddObject.add(ob);
   }

   public void addObjectToRemove(Object3D ob){
      this.toRemoveObject.add(ob);
   }
}
And the Activity :
Quote
public abstract class ThreeDimensionsActivity extends Activity{
   private static ThreeDimensionsActivity master = null;

   protected GLSurfaceView mGLView;
   protected ThreeDimensionsRenderer mRenderer = null;
   
   @Override
   protected final void onCreate(Bundle savedInstanceState) {
      if (master != null) {
         this.copy(master);
      }

      super.onCreate(savedInstanceState);
      this.setContentView(this.getLayoutId());

      //OpenGL config
      this.mGLView = (GLSurfaceView) this.findViewById(this.getOpenGLSurfaceViewId());
      
      this.mGLView.setEGLContextClientVersion(2);
      this.mGLView.setEGLConfigChooser(new AAConfigChooser(this.mGLView));

      this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
      
      //Renderer creation
      mRenderer = new ThreeDimensionsRenderer(master, this);
      this.mGLView.setRenderer(mRenderer);
   }

   @Override
   protected final void onPause() {
      super.onPause();
      mGLView.onPause();
      
   }
   @Override
   protected void onResume() {
      super.onResume();
      mGLView.onResume();
   }
   @Override
   protected final void onStop() {
      super.onStop();
   }

   private void copy(Object src) {
      try {
         Field[] fs = src.getClass().getDeclaredFields();
         for (Field f : fs) {
            f.setAccessible(true);
            f.set(this, f.get(src));
         }
      } catch (Exception e) {
         throw new RuntimeException(e);
      }
   }
   
   protected boolean isFullscreenOpaque() {
      return true;
   }

   public ThreeDimensionsRenderer getRenderer(){
      return this.mRenderer;
   }
   
}

We can see a comment "//PROBLEM ON SECOND TIME" : it's here that the problem appear. But only the second time.

Explanations :
1 - On my application, i start a first 3D activity... Works fine.
2 - On this activity, call an other activity (an UI activity). Works fine.
3 - And, when i press previous android button, the 3D activity should appear. But the exception arrive.

Thanks.
marksman

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11744
    • View Profile
    • http://www.jpct.net
I'm confused by this stack trace...it's a garbled mess that doesn't make sense. I've no idea why it looks this strange...anyway, it seems to fail at shader compilation (i don't see any relation to the code section that you've marked with //PROBLEM ON SECOND TIME, because there's no trace of this part in the stack trace) and looking at your code, i'm not sure why. The purpose of this context/master construction that you are using isn't clear to me, but i don't think that it causes the actual problem.
I suggest two things: Add debug output to all your onPause/onResume/surfaceXXX and similar methods that logs the current thread and the method itself. Post the results.
And the other thing: Store the current GL10 instance that you are getting in onSurface... and only dispose/recreate the FrameBuffer if it changes between calls.

Offline marksman

  • byte
  • *
  • Posts: 6
    • View Profile
Thanks EgonOlsen. :)

I added Logs, and the result is :
Quote
07-05 10:14:47.835: I/ActivityManager(251): START {cmp=fr.me.project/.activities.finalcontrol.ControlFinalActivity (has extras)} from pid 2903
07-05 10:14:47.890: I/jPCT-AE(2903): onCreate
07-05 10:14:47.984: D/dalvikvm(2903): GC_CONCURRENT freed 313K, 6% free 7497K/7943K, paused 1ms+4ms
07-05 10:14:48.187: D/dalvikvm(2903): GC_CONCURRENT freed 487K, 7% free 7693K/8263K, paused 2ms+4ms
07-05 10:14:48.296: D/dalvikvm(2903): GC_FOR_ALLOC freed 269K, 7% free 7928K/8519K, paused 29ms
07-05 10:14:48.398: D/dalvikvm(2903): GC_CONCURRENT freed 275K, 5% free 8448K/8839K, paused 2ms+4ms
07-05 10:14:48.476: I/jPCT-AE(2903): No octree found in serialized data!
07-05 10:14:48.578: I/jPCT-AE(2903): Normal vectors calculated in 42ms!
07-05 10:14:48.648: D/dalvikvm(2903): GC_CONCURRENT freed 430K, 6% free 8936K/9479K, paused 2ms+4ms
07-05 10:14:48.703: I/3D(2903): OnResume !!!
07-05 10:14:48.710: I/jPCT-AE(2903): Normal vectors calculated in 17ms!
07-05 10:14:48.734: I/jPCT-AE(2903): Normal vectors calculated in 8ms!
07-05 10:14:48.976: I/jPCT-AE(2903): MSAA enabled with 2 samples!
07-05 10:14:48.976: D/GC(2903): <tid=2923> OES20 ===> GC Version   : MMP3_MK2_ICS_Beta2_RC4_GC8
07-05 10:14:49.000: I/3D :(2903): onSurfaceCreated
07-05 10:14:49.007: I/3D :(2903): onSurfaceChanged

07-05 10:14:49.023: I/jPCT-AE(2903): Initializing GL20 render pipeline...
07-05 10:14:49.023: I/jPCT-AE(2903): Accessing shaders via JAR!
07-05 10:14:49.023: I/jPCT-AE(2903): Loading default shaders !
07-05 10:14:49.023: I/jPCT-AE(2903): 0 shaders in replacement map!
07-05 10:14:49.023: I/jPCT-AE(2903): Default fragment shader is: /defaultFragmentShader.src
07-05 10:14:49.031: I/jPCT-AE(2903): Loading file from InputStream
07-05 10:14:49.054: I/jPCT-AE(2903): Text file from InputStream loaded...2008 bytes
07-05 10:14:49.054: I/jPCT-AE(2903): Default vertex shader is: /defaultVertexShader.src
07-05 10:14:49.054: I/jPCT-AE(2903): Loading file from InputStream
07-05 10:14:49.054: I/jPCT-AE(2903): Text file from InputStream loaded...4496 bytes
07-05 10:14:49.054: I/jPCT-AE(2903): Compiling shader program!
07-05 10:14:49.101: I/ActivityManager(251): Displayed fr.me.project/.activities.finalcontrol.ControlFinalActivity: +1s232ms
07-05 10:14:49.117: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.156: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.171: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.179: D/dalvikvm(2903): GC_CONCURRENT freed 854K, 11% free 9152K/10183K, paused 1ms+9ms
07-05 10:14:49.187: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.210: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.226: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.250: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.265: D/OpenGLRenderer(2903): Flushing caches (mode 0)
07-05 10:14:49.281: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.281: D/OpenGLRenderer(2903): Flushing caches (mode 0)
07-05 10:14:49.289: I/jPCT-AE(2903): Handles of 3: 4/15/5
07-05 10:14:49.289: I/jPCT-AE(2903): Loading default shaders (Tex0)!
07-05 10:14:49.289: I/jPCT-AE(2903): 0 shaders in replacement map!
07-05 10:14:49.289: I/jPCT-AE(2903): Default fragment shader is: /defaultFragmentShader.src
07-05 10:14:49.296: I/jPCT-AE(2903): Loading file from InputStream
07-05 10:14:49.296: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.296: I/jPCT-AE(2903): Text file from InputStream loaded...201 bytes
07-05 10:14:49.304: I/jPCT-AE(2903): Default vertex shader is: /defaultVertexShader.src
07-05 10:14:49.304: I/jPCT-AE(2903): Loading file from InputStream
07-05 10:14:49.312: I/jPCT-AE(2903): Text file from InputStream loaded...4020 bytes
07-05 10:14:49.312: I/jPCT-AE(2903): Compiling shader program!
07-05 10:14:49.335: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.351: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.367: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.382: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.406: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.421: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.429: I/jPCT-AE(2903): Handles of 6: 1/12/2
07-05 10:14:49.429: I/jPCT-AE(2903): Loading default shaders (Tex1)!
07-05 10:14:49.429: I/jPCT-AE(2903): 0 shaders in replacement map!
07-05 10:14:49.429: I/jPCT-AE(2903): Default fragment shader is: /defaultFragmentShader.src
07-05 10:14:49.429: I/jPCT-AE(2903): Loading file from InputStream
07-05 10:14:49.437: I/jPCT-AE(2903): Text file from InputStream loaded...871 bytes
07-05 10:14:49.437: I/jPCT-AE(2903): Default vertex shader is: /defaultVertexShader.src
07-05 10:14:49.437: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.437: I/jPCT-AE(2903): Loading file from InputStream
07-05 10:14:49.445: I/jPCT-AE(2903): Text file from InputStream loaded...4390 bytes
07-05 10:14:49.445: I/jPCT-AE(2903): Compiling shader program!
07-05 10:14:49.453: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.476: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.484: D/dalvikvm(326): GC_CONCURRENT freed 386K, 58% free 6639K/15687K, paused 2ms+3ms
07-05 10:14:49.492: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.507: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.523: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:49.570: I/jPCT-AE(2903): Handles of 9: 2/15/3
07-05 10:14:49.570: I/jPCT-AE(2903): Loading default shaders (Tex0Light0)!
07-05 10:14:49.570: I/jPCT-AE(2903): 0 shaders in replacement map!
07-05 10:14:49.570: I/jPCT-AE(2903): Default fragment shader is: /defaultFragmentShader.src
07-05 10:14:49.578: I/jPCT-AE(2903): Loading file from InputStream
07-05 10:14:49.578: I/jPCT-AE(2903): Text file from InputStream loaded...201 bytes
07-05 10:14:49.578: I/jPCT-AE(2903): Default vertex shader is: /defaultVertexShader.src
07-05 10:14:49.578: I/jPCT-AE(2903): Loading file from InputStream
07-05 10:14:49.578: I/jPCT-AE(2903): Text file from InputStream loaded...1293 bytes
07-05 10:14:49.578: I/jPCT-AE(2903): Compiling shader program!
07-05 10:14:49.601: I/jPCT-AE(2903): Handles of 12: 1/10/2
07-05 10:14:49.601: I/jPCT-AE(2903): Loading default shaders (Fog)!
07-05 10:14:49.601: I/jPCT-AE(2903): 0 shaders in replacement map!
07-05 10:14:49.601: I/jPCT-AE(2903): Default fragment shader is: /defaultFragmentShader.src
07-05 10:14:49.609: I/jPCT-AE(2903): Loading file from InputStream
07-05 10:14:49.609: I/jPCT-AE(2903): Text file from InputStream loaded...328 bytes
07-05 10:14:49.609: I/jPCT-AE(2903): Default vertex shader is: /defaultVertexShader.src
07-05 10:14:49.609: I/jPCT-AE(2903): Loading file from InputStream
07-05 10:14:49.609: I/jPCT-AE(2903): Text file from InputStream loaded...4267 bytes
07-05 10:14:49.609: I/jPCT-AE(2903): Compiling shader program!
07-05 10:14:49.703: I/jPCT-AE(2903): Handles of 15: 1/15/2
07-05 10:14:49.703: I/jPCT-AE(2903): Loading default shaders (FogLight0)!
07-05 10:14:49.703: I/jPCT-AE(2903): 0 shaders in replacement map!
07-05 10:14:49.703: I/jPCT-AE(2903): Default fragment shader is: /defaultFragmentShader.src
07-05 10:14:49.703: I/jPCT-AE(2903): Loading file from InputStream
07-05 10:14:49.710: I/jPCT-AE(2903): Text file from InputStream loaded...328 bytes
07-05 10:14:49.710: I/jPCT-AE(2903): Default vertex shader is: /defaultVertexShader.src
07-05 10:14:49.710: I/jPCT-AE(2903): Loading file from InputStream
07-05 10:14:49.710: I/jPCT-AE(2903): Text file from InputStream loaded...1608 bytes
07-05 10:14:49.710: I/jPCT-AE(2903): Compiling shader program!
07-05 10:14:49.742: I/jPCT-AE(2903): Handles of 18: 1/14/2
07-05 10:14:49.742: I/jPCT-AE(2903): Loading default shaders (Tex0Amb)!
07-05 10:14:49.742: I/jPCT-AE(2903): 0 shaders in replacement map!
07-05 10:14:49.742: I/jPCT-AE(2903): Default fragment shader is: /defaultFragmentShader.src
07-05 10:14:49.742: I/jPCT-AE(2903): Loading file from InputStream
07-05 10:14:49.750: I/jPCT-AE(2903): Text file from InputStream loaded...199 bytes
07-05 10:14:49.750: I/jPCT-AE(2903): Default vertex shader is: /defaultVertexShader.src
07-05 10:14:49.750: I/jPCT-AE(2903): Loading file from InputStream
07-05 10:14:49.750: I/jPCT-AE(2903): Text file from InputStream loaded...757 bytes
07-05 10:14:49.750: I/jPCT-AE(2903): Compiling shader program!
07-05 10:14:49.765: I/jPCT-AE(2903): Handles of 21: 1/4/2
07-05 10:14:49.765: I/jPCT-AE(2903): Loading default shaders (Depth)!
07-05 10:14:49.765: I/jPCT-AE(2903): 0 shaders in replacement map!
07-05 10:14:49.765: I/jPCT-AE(2903): Default fragment shader is: /defaultFragmentShader.src
07-05 10:14:49.765: I/jPCT-AE(2903): Loading file from InputStream
07-05 10:14:49.765: I/jPCT-AE(2903): Text file from InputStream loaded...745 bytes
07-05 10:14:49.765: I/jPCT-AE(2903): Default vertex shader is: /defaultVertexShader.src
07-05 10:14:49.773: I/jPCT-AE(2903): Loading file from InputStream
07-05 10:14:49.773: I/jPCT-AE(2903): Text file from InputStream loaded...248 bytes
07-05 10:14:49.773: I/jPCT-AE(2903): Compiling shader program!
07-05 10:14:49.789: I/jPCT-AE(2903): Handles of 24: 1/0/-1
07-05 10:14:49.789: I/jPCT-AE(2903): GL20 render pipeline initialized!
07-05 10:14:49.789: I/jPCT-AE(2903): OpenGL vendor:     Vivante Corporation
07-05 10:14:49.796: I/jPCT-AE(2903): OpenGL renderer:   GC2000 core
07-05 10:14:49.796: I/jPCT-AE(2903): OpenGL version:    OpenGL ES 2.0
07-05 10:14:49.796: I/jPCT-AE(2903): OpenGL renderer initialized (using 2 texture stages)
07-05 10:14:49.796: I/jPCT-AE(2903): Adding Lightsource: 0
07-05 10:14:49.796: I/jPCT-AE(2903): Adding Lightsource: 1
07-05 10:14:49.796: I/jPCT-AE(2903): Memory usage before compacting: 9565 KB used out of 10183 KB. Max. memory available to the VM is 49152 KB.
07-05 10:14:49.843: D/dalvikvm(2903): GC_EXPLICIT freed 436K, 11% free 9130K/10183K, paused 2ms+3ms
07-05 10:14:49.890: D/dalvikvm(2903): GC_EXPLICIT freed 37K, 11% free 9093K/10183K, paused 2ms+2ms
07-05 10:14:50.046: I/jPCT-AE(2903): Memory usage after compacting: 9093 KB used out of 10183 KB. Max. memory available to the VM is 49152 KB.
07-05 10:14:50.046: I/T@bControl(2903): Sauvegarde de l'activity 3D
07-05 10:14:50.101: I/jPCT-AE(2903): Object Vul simple cabine3.ser hasn't been build yet. Forcing build()!
07-05 10:14:50.195: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:14:50.421: D/dalvikvm(2903): GC_CONCURRENT freed 643K, 8% free 9615K/10375K, paused 2ms+3ms
07-05 10:14:50.554: I/jPCT-AE(2903): Normal vectors calculated in 406ms!
07-05 10:14:50.632: D/dalvikvm(2903): GC_CONCURRENT freed 1812K, 18% free 9150K/11079K, paused 2ms+2ms
07-05 10:14:50.710: I/jPCT-AE(2903): Subobject of object -2/Vul simple cabine3.ser compiled to indexed fixed point data using 1176/220 vertices in 33ms!
07-05 10:14:50.718: I/jPCT-AE(2903): Subobject of object -2/Vul simple cabine3.ser compiled to indexed fixed point data using 660/128 vertices in 7ms!
07-05 10:14:50.726: I/jPCT-AE(2903): Subobject of object -2/Vul simple cabine3.ser compiled to indexed fixed point data using 900/221 vertices in 8ms!
07-05 10:14:50.765: D/dalvikvm(2903): GC_CONCURRENT freed 653K, 14% free 9632K/11079K, paused 1ms+2ms
07-05 10:14:50.921: I/jPCT-AE(2903): Subobject of object -2/Vul simple cabine3.ser compiled to indexed fixed point data using 15516/2719 vertices in 200ms!
07-05 10:14:50.937: I/jPCT-AE(2903): Subobject of object -2/Vul simple cabine3.ser compiled to indexed fixed point data using 924/180 vertices in 12ms!
07-05 10:14:50.937: I/jPCT-AE(2903): Object -2/Vul simple cabine3.ser compiled to 0 subobjects in 378ms!
07-05 10:14:50.945: I/jPCT-AE(2903): Subobject of object -1/object1 compiled to flat fixed point data using 600/600 vertices in 7ms!
07-05 10:14:50.945: I/jPCT-AE(2903): Object -1/object1 compiled to 0 subobjects in 9ms!
07-05 10:14:50.976: I/jPCT-AE(2903): Subobject of object 0/object2 compiled to flat fixed point data using 600/600 vertices in 26ms!
07-05 10:14:50.976: I/jPCT-AE(2903): Object 0/object2 compiled to 0 subobjects in 28ms!
07-05 10:14:50.976: I/jPCT-AE(2903): Subobject of object 1/object3 compiled to flat fixed point data using 600/600 vertices in 2ms!
07-05 10:14:50.976: I/jPCT-AE(2903): Object 1/object3 compiled to 0 subobjects in 4ms!
07-05 10:14:50.984: I/jPCT-AE(2903): Creating buffers...
07-05 10:14:50.984: I/jPCT-AE(2903): VBO created for object 'object1'
07-05 10:14:50.984: I/jPCT-AE(2903): Creating buffers...
07-05 10:14:50.984: I/jPCT-AE(2903): VBO created for object 'object3'
07-05 10:14:50.984: I/jPCT-AE(2903): Creating buffers...
07-05 10:14:50.984: I/jPCT-AE(2903): VBO created for object 'object2'
07-05 10:14:50.992: I/jPCT-AE(2903): Creating buffers...
07-05 10:14:50.992: I/jPCT-AE(2903): VBO created for object 'Vul simple cabine3.ser'
07-05 10:14:50.992: I/jPCT-AE(2903): Creating buffers...
07-05 10:14:50.992: I/jPCT-AE(2903): VBO created for object 'Vul simple cabine3.ser'
07-05 10:14:51.000: I/jPCT-AE(2903): Creating buffers...
07-05 10:14:51.000: I/jPCT-AE(2903): VBO created for object 'Vul simple cabine3.ser'
07-05 10:14:51.000: I/jPCT-AE(2903): Creating buffers...
07-05 10:14:51.000: I/jPCT-AE(2903): VBO created for object 'Vul simple cabine3.ser'
07-05 10:14:51.015: I/jPCT-AE(2903): Creating buffers...
07-05 10:14:51.023: I/jPCT-AE(2903): VBO created for object 'Vul simple cabine3.ser'
07-05 10:14:51.023: D/dalvikvm(2903): GC_CONCURRENT freed 1516K, 16% free 9386K/11079K, paused 1ms+3ms
07-05 10:14:51.023: I/jPCT-AE(2903): 0fps
07-05 10:14:52.023: I/jPCT-AE(2903): 58fps
07-05 10:14:53.031: I/jPCT-AE(2903): 57fps
07-05 10:14:54.046: I/jPCT-AE(2903): 57fps
07-05 10:14:55.054: I/jPCT-AE(2903): 57fps
07-05 10:14:56.062: I/jPCT-AE(2903): 57fps
07-05 10:14:57.070: I/jPCT-AE(2903): 57fps
07-05 10:14:58.085: I/jPCT-AE(2903): 57fps
07-05 10:14:58.773: I/ActivityManager(251): START {cmp=fr.me.project/.activities.finalcontrol.SingleControlFinalActivity (has extras)} from pid 2903
07-05 10:14:58.820: I/3D(2903): OnPause !!!
07-05 10:14:59.257: D/dalvikvm(2903): GC_CONCURRENT freed 863K, 12% free 9763K/11079K, paused 1ms+3ms
07-05 10:14:59.507: I/ActivityManager(251): Displayed fr.me.project/.activities.finalcontrol.SingleControlFinalActivity: +659ms
07-05 10:14:59.531: D/OpenGLRenderer(2903): Flushing caches (mode 0)
07-05 10:14:59.750: I/3D(2903): OnStop !!!
07-05 10:15:01.007: I/3D(2903): OnResume !!!

07-05 10:15:01.335: D/dalvikvm(2903): GC_CONCURRENT freed 1060K, 11% free 10071K/11271K, paused 2ms+4ms
07-05 10:15:01.359: I/dalvikvm(2903): Jit: resizing JitTable from 4096 to 8192
07-05 10:15:01.375: I/jPCT-AE(2903): MSAA enabled with 2 samples!
07-05 10:15:01.375: D/GC(2903): <tid=2923> OES20 ===> GC Version   : MMP3_MK2_ICS_Beta2_RC4_GC8
07-05 10:15:01.390: I/3D :(2903): onSurfaceCreated
07-05 10:15:01.390: I/3D :(2903): onSurfaceChanged

07-05 10:15:01.390: I/jPCT-AE(2903): Visibility lists disposed!
07-05 10:15:01.390: I/jPCT-AE(2903): All texture data unloaded from gpu!
07-05 10:15:01.390: I/jPCT-AE(2903): Disposing VBOs!
07-05 10:15:01.390: D/v_gal(2903): [     1] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.390: D/v_gal(2903): [     2] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.390: D/v_gal(2903): [     3] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.390: D/v_gal(2903): [     4] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [     5] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [     6] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [     7] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [     8] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [     9] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    10] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    11] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    12] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    13] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    14] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    15] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    16] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    17] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    18] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    19] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    20] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    21] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    22] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    23] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    24] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    25] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    26] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    27] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    28] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: D/v_gal(2903): [    29] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 10:15:01.398: I/jPCT-AE(2903): Renderer disposed!
07-05 10:15:01.406: I/jPCT-AE(2903): Initializing GL20 render pipeline...
07-05 10:15:01.406: I/jPCT-AE(2903): Loading default shaders !
07-05 10:15:01.406: I/jPCT-AE(2903): 0 shaders in replacement map!
07-05 10:15:01.406: I/jPCT-AE(2903): Default fragment shader is: /defaultFragmentShader.src
07-05 10:15:01.406: I/jPCT-AE(2903): Loading file from InputStream
07-05 10:15:01.406: I/jPCT-AE(2903): Text file from InputStream loaded...2008 bytes
07-05 10:15:01.406: I/jPCT-AE(2903): Default vertex shader is: /defaultVertexShader.src
07-05 10:15:01.406: I/jPCT-AE(2903): Loading file from InputStream
07-05 10:15:01.414: I/jPCT-AE(2903): Text file from InputStream loaded...4496 bytes
07-05 10:15:01.414: I/jPCT-AE(2903): Compiling shader program!
07-05 10:15:01.546: I/jPCT-AE(2903): [ 1373019301556 ] - ERROR: glAttachShader - vertex shader: glError 1281
07-05 10:15:01.546: I/jPCT-AE(2903): [ 1373019301556 ] - WARNING: Unable to load shader!
07-05 10:15:01.546: I/jPCT-AE(2903): [ 1373019301559 ] - ERROR: java.lang.RuntimeException: [ 1373019301556 ] - ERROR: glAttachShader - vertex shader: glError 1281
07-05 10:15:01.546: I/jPCT-AE(2903):    at com.threed.jpct.Logger.log(Logger.java:189)
07-05 10:15:01.546: I/jPCT-AE(2903):    at com.threed.jpct.GLSLShader.checkError(GLSLShader.java:982)
07-05 10:15:01.546: I/jPCT-AE(2903):    at com.threed.jpct.GLSLShader.createProgram(GLSLShader.java:948)
07-05 10:15:01.546: I/jPCT-AE(2903):    at com.threed.jpct.GLSLShader.loadProgram(GLSLShader.java:940)
07-05 10:15:01.546: I/jPCT-AE(2903):    at com.threed.jpct.GLSLShader.<init>(GLSLShader.java:261)
07-05 10:15:01.546: I/jPCT-AE(2903):    at com.threed.jpct.GL20.<init>(GL20.java:117)
07-05 10:15:01.546: I/jPCT-AE(2903):    at java.lang.Class.newInstanceImpl(Native Method)
07-05 10:15:01.546: I/jPCT-AE(2903):    at java.lang.Class.newInstance(Class.java:1319)
07-05 10:15:01.546: I/jPCT-AE(2903):    at com.threed.jpct.GLRenderer.init(GLRenderer.java:377)
07-05 10:15:01.546: I/jPCT-AE(2903):    at com.threed.jpct.GLRenderer.init(GLRenderer.java:367)
07-05 10:15:01.546: I/jPCT-AE(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:92)
07-05 10:15:01.546: I/jPCT-AE(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:117)
07-05 10:15:01.546: I/jPCT-AE(2903):    at fr.me.project.activities.utils.threedimensions.ThreeDimensionsRenderer.onSurfaceChanged(ThreeDimensionsRenderer.java:146)
07-05 10:15:01.546: I/jPCT-AE(2903):    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1455)
07-05 10:15:01.546: I/jPCT-AE(2903):    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)
07-05 10:15:01.554: I/jPCT-AE(2903): [ 1373019301562 ] - ERROR: java.lang.RuntimeException: [ 1373019301559 ] - ERROR: java.lang.RuntimeException: [ 1373019301556 ] - ERROR: glAttachShader - vertex shader: glError 1281
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.Logger.log(Logger.java:189)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLSLShader.checkError(GLSLShader.java:982)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLSLShader.createProgram(GLSLShader.java:948)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLSLShader.loadProgram(GLSLShader.java:940)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLSLShader.<init>(GLSLShader.java:261)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GL20.<init>(GL20.java:117)
07-05 10:15:01.554: I/jPCT-AE(2903):    at java.lang.Class.newInstanceImpl(Native Method)
07-05 10:15:01.554: I/jPCT-AE(2903):    at java.lang.Class.newInstance(Class.java:1319)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLRenderer.init(GLRenderer.java:377)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLRenderer.init(GLRenderer.java:367)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:92)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:117)
07-05 10:15:01.554: I/jPCT-AE(2903):    at fr.me.project.activities.utils.threedimensions.ThreeDimensionsRenderer.onSurfaceChanged(ThreeDimensionsRenderer.java:146)
07-05 10:15:01.554: I/jPCT-AE(2903):    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1455)
07-05 10:15:01.554: I/jPCT-AE(2903):    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.Logger.log(Logger.java:189)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.Logger.log(Logger.java:148)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLSLShader.<init>(GLSLShader.java:265)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GL20.<init>(GL20.java:117)
07-05 10:15:01.554: I/jPCT-AE(2903):    at java.lang.Class.newInstanceImpl(Native Method)
07-05 10:15:01.554: I/jPCT-AE(2903):    at java.lang.Class.newInstance(Class.java:1319)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLRenderer.init(GLRenderer.java:377)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLRenderer.init(GLRenderer.java:367)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:92)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:117)
07-05 10:15:01.554: I/jPCT-AE(2903):    at fr.me.project.activities.utils.threedimensions.ThreeDimensionsRenderer.onSurfaceChanged(ThreeDimensionsRenderer.java:146)
07-05 10:15:01.554: I/jPCT-AE(2903):    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1455)
07-05 10:15:01.554: I/jPCT-AE(2903):    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)
07-05 10:15:01.554: I/jPCT-AE(2903): [ 1373019301567 ] - ERROR: java.lang.RuntimeException: [ 1373019301562 ] - ERROR: java.lang.RuntimeException: [ 1373019301559 ] - ERROR: java.lang.RuntimeException: [ 1373019301556 ] - ERROR: glAttachShader - vertex shader: glError 1281
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.Logger.log(Logger.java:189)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLSLShader.checkError(GLSLShader.java:982)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLSLShader.createProgram(GLSLShader.java:948)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLSLShader.loadProgram(GLSLShader.java:940)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLSLShader.<init>(GLSLShader.java:261)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GL20.<init>(GL20.java:117)
07-05 10:15:01.554: I/jPCT-AE(2903):    at java.lang.Class.newInstanceImpl(Native Method)
07-05 10:15:01.554: I/jPCT-AE(2903):    at java.lang.Class.newInstance(Class.java:1319)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLRenderer.init(GLRenderer.java:377)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLRenderer.init(GLRenderer.java:367)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:92)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:117)
07-05 10:15:01.554: I/jPCT-AE(2903):    at fr.me.project.activities.utils.threedimensions.ThreeDimensionsRenderer.onSurfaceChanged(ThreeDimensionsRenderer.java:146)
07-05 10:15:01.554: I/jPCT-AE(2903):    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1455)
07-05 10:15:01.554: I/jPCT-AE(2903):    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.Logger.log(Logger.java:189)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.Logger.log(Logger.java:148)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLSLShader.<init>(GLSLShader.java:265)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GL20.<init>(GL20.java:117)
07-05 10:15:01.554: I/jPCT-AE(2903):    at java.lang.Class.newInstanceImpl(Native Method)
07-05 10:15:01.554: I/jPCT-AE(2903):    at java.lang.Class.newInstance(Class.java:1319)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLRenderer.init(GLRenderer.java:377)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLRenderer.init(GLRenderer.java:367)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:92)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:117)
07-05 10:15:01.554: I/jPCT-AE(2903):    at fr.me.project.activities.utils.threedimensions.ThreeDimensionsRenderer.onSurfaceChanged(ThreeDimensionsRenderer.java:146)
07-05 10:15:01.554: I/jPCT-AE(2903):    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1455)
07-05 10:15:01.554: I/jPCT-AE(2903):    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.Logger.log(Logger.java:189)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.Logger.log(Logger.java:136)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLRenderer.init(GLRenderer.java:379)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.GLRenderer.init(GLRenderer.java:367)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:92)
07-05 10:15:01.554: I/jPCT-AE(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:117)
07-05 10:15:01.554: I/jPCT-AE(2903):    at fr.me.project.activities.utils.threedimensions.ThreeDimensionsRenderer.onSurfaceChanged(ThreeDimensionsRenderer.java:146)
07-05 10:15:01.554: I/jPCT-AE(2903):    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1455)
07-05 10:15:01.554: I/jPCT-AE(2903):    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)
07-05 10:15:01.562: W/dalvikvm(2903): threadid=13: thread exiting with uncaught exception (group=0x40a501f8)
07-05 10:15:01.562: E/ACRA(2903): ACRA caught a RuntimeException exception for fr.me.project. Building report.
07-05 10:15:01.585: I/ACRA(2903): READ_LOGS not allowed. ACRA will not include LogCat and DropBox data.
07-05 10:15:01.585: D/ACRA(2903): Writing crash report file 1373019301000.stacktrace.
07-05 10:15:01.609: D/ACRA(2903): About to start ReportSenderWorker from #handleException
07-05 10:15:01.609: D/ACRA(2903): Mark all pending reports as approved.
07-05 10:15:01.609: D/ACRA(2903): Looking for error files in /data/data/fr.me.project/files
07-05 10:15:01.609: D/ACRA(2903): #checkAndSendReports - start
07-05 10:15:01.609: D/ACRA(2903): Looking for error files in /data/data/fr.me.project/files
07-05 10:15:01.609: I/ACRA(2903): Sending file 1373019301000-approved.stacktrace
07-05 10:15:01.609: D/ACRA(2903): Waiting for Toast + worker...
07-05 10:15:01.648: D/ACRA(2903): Connect to http://anipadress/api/log/crash
07-05 10:15:01.679: D/ACRA(2903): Sending request to http://anipadress/api/log/crash
07-05 10:15:01.703: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:01.718: D/ACRA(2903): #checkAndSendReports - finish
07-05 10:15:01.726: D/OpenGLRenderer(2903): Flushing caches (mode 0)
07-05 10:15:01.734: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:01.789: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:01.812: D/ACRA(2903): Wait for Toast + worker ended. Kill Application ? true
07-05 10:15:01.812: E/AndroidRuntime(2903): FATAL EXCEPTION: GLThread 246
07-05 10:15:01.812: E/AndroidRuntime(2903): java.lang.RuntimeException: [ 1373019301567 ] - ERROR: java.lang.RuntimeException: [ 1373019301562 ] - ERROR: java.lang.RuntimeException: [ 1373019301559 ] - ERROR: java.lang.RuntimeException: [ 1373019301556 ] - ERROR: glAttachShader - vertex shader: glError 1281
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.Logger.log(Logger.java:189)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.GLSLShader.checkError(GLSLShader.java:982)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.GLSLShader.createProgram(GLSLShader.java:948)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.GLSLShader.loadProgram(GLSLShader.java:940)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.GLSLShader.<init>(GLSLShader.java:261)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.GL20.<init>(GL20.java:117)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at java.lang.Class.newInstanceImpl(Native Method)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at java.lang.Class.newInstance(Class.java:1319)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.GLRenderer.init(GLRenderer.java:377)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.GLRenderer.init(GLRenderer.java:367)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:92)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:117)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at fr.me.project.activities.utils.threedimensions.ThreeDimensionsRenderer.onSurfaceChanged(ThreeDimensionsRenderer.java:146)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1455)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.Logger.log(Logger.java:189)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.Logger.log(Logger.java:148)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.GLSLShader.<init>(GLSLShader.java:265)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.GL20.<init>(GL20.java:117)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at java.lang.Class.newInstanceImpl(Native Method)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at java.lang.Class.newInstance(Class.java:1319)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.GLRenderer.init(GLRenderer.java:377)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.GLRenderer.init(GLRenderer.java:367)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:92)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:117)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at fr.me.project.activities.utils.threedimensions.ThreeDimensionsRenderer.onSurfaceChanged(ThreeDimensionsRenderer.java:146)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1455)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.Logger.log(Logger.java:189)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.Logger.log(Logger.java:136)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.GLRenderer.init(GLRenderer.java:379)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.GLRenderer.init(GLRenderer.java:367)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:92)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:117)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at fr.me.project.activities.utils.threedimensions.ThreeDimensionsRenderer.onSurfaceChanged(ThreeDimensionsRenderer.java:146)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1455)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.Logger.log(Logger.java:189)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.Logger.log(Logger.java:148)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:94)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:117)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at fr.me.project.activities.utils.threedimensions.ThreeDimensionsRenderer.onSurfaceChanged(ThreeDimensionsRenderer.java:146)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1455)
07-05 10:15:01.812: E/AndroidRuntime(2903):    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)
07-05 10:15:01.820: W/ActivityManager(251):   Force finishing activity fr.me.project/.activities.finalcontrol.ControlFinalActivity
07-05 10:15:01.828: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:01.851: I/3D(2903): OnPause !!!
07-05 10:15:01.859: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:01.898: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:01.898: I/ActivityManager(251): START {cmp=fr.me.project/.activities.followup.NewFolderActivity} from pid 2903
07-05 10:15:01.914: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:01.929: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:01.945: D/v_gralloc(99): allocating pmem size=110592
07-05 10:15:01.953: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:01.968: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:01.984: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.000: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.023: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.054: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.070: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.093: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.109: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.125: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.140: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.164: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.195: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.218: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.234: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.250: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.273: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.289: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.328: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.328: I/ActivityManager(251): Displayed fr.me.project/.activities.followup.NewFolderActivity: +347ms
07-05 10:15:02.351: D/OpenGLRenderer(2903): Flushing caches (mode 0)
07-05 10:15:02.359: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.367: D/OpenGLRenderer(2903): Flushing caches (mode 0)
07-05 10:15:02.375: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.390: D/OpenGLRenderer(2903): Flushing caches (mode 0)
07-05 10:15:02.406: I/3D(2903): OnStop !!!
07-05 10:15:02.414: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.445: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.484: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.515: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:02.898: D/v_gralloc(99): allocating pmem size=110592
07-05 10:15:15.195: D/dalvikvm(251): GC_CONCURRENT freed 782K, 15% free 9644K/11335K, paused 22ms+5ms
07-05 10:15:17.210: I/Process(2903): Sending signal. PID: 2903 SIG: 9
07-05 10:15:17.257: I/WindowManager(251): WIN DEATH: Window{414976b0 Veuillez patienter pendant la connexion paused=false}
07-05 10:15:17.257: I/ActivityManager(251): Process fr.me.project (pid 2903) has died.
07-05 10:15:17.257: W/ActivityManager(251): Force removing ActivityRecord{4140e668 fr.me.project/.activities.followup.NewFolderActivity}: app died, no saved state
07-05 10:15:17.265: I/WindowManager(251): WIN DEATH: Window{413b8cb0 fr.me.project/fr.me.project.activities.others.LoginActivity paused=false}
07-05 10:15:17.265: I/WindowManager(251): WIN DEATH: Window{413cd0d8 fr.me.project/fr.me.project.activities.others.LoginActivity paused=false}
07-05 10:15:17.273: I/WindowManager(251): WIN DEATH: Window{413a6020 fr.me.project/fr.me.project.activities.followup.TrucksFollowUpActivity paused=false}
07-05 10:15:17.273: I/WindowManager(251): WIN DEATH: Window{4125efa8 fr.me.project/fr.me.project.activities.followup.TrucksFollowUpActivity paused=false}
07-05 10:15:17.273: I/WindowManager(251): WIN DEATH: Window{413d5a38 fr.me.project/fr.me.project.activities.followup.NewFolderActivity paused=false}
07-05 10:15:17.398: D/dalvikvm(2938): Late-enabling CheckJNI
07-05 10:15:17.406: I/ActivityManager(251): Start proc fr.me.project for activity fr.me.project/.activities.followup.TrucksFollowUpActivity: pid=2938 uid=10064 gids={3003, 1015, 1023}
07-05 10:15:17.453: I/v_hwc(99): hwc prepare: 3D composition
07-05 10:15:17.460: D/v_gralloc(99): allocating pmem size=3014656
07-05 10:15:17.648: D/ACRA(2938): ACRA is enabled for fr.me.project, intializing...
07-05 10:15:17.687: D/ACRA(2938): Using custom Report Fields
07-05 10:15:17.687: D/ACRA(2938): Looking for error files in /data/data/fr.me.project/files
07-05 10:15:17.703: V/T@bControl(2938): Application run in debug mode
07-05 10:15:17.789: D/dalvikvm(2938): GC_CONCURRENT freed 229K, 6% free 5919K/6279K, paused 4ms+1ms
07-05 10:15:17.953: D/dalvikvm(2938): GC_CONCURRENT freed 317K, 7% free 6160K/6599K, paused 1ms+3ms
07-05 10:15:17.968: D/dalvikvm(2938): GC_FOR_ALLOC freed 258K, 9% free 6231K/6791K, paused 14ms
07-05 10:15:18.070: D/dalvikvm(2938): GC_CONCURRENT freed 257K, 6% free 6539K/6919K, paused 2ms+2ms
07-05 10:15:18.164: D/dalvikvm(2938): GC_CONCURRENT freed 321K, 7% free 6679K/7175K, paused 2ms+3ms
07-05 10:15:18.312: D/libEGL(2938): loaded /system/lib/egl/libEGL_MRVL.so
07-05 10:15:18.312: D/libEGL(2938): loaded /system/lib/egl/libGLESv1_CM_MRVL.so
07-05 10:15:18.320: D/dalvikvm(2938): GC_CONCURRENT freed 350K, 8% free 6847K/7367K, paused 1ms+3ms
07-05 10:15:18.328: D/libEGL(2938): loaded /system/lib/egl/libGLESv2_MRVL.so
07-05 10:15:18.343: D/GC(2938): <tid=2938> OES20 ===> GC Version   : MMP3_MK2_ICS_Beta2_RC4_GC8
07-05 10:15:18.359: D/OpenGLRenderer(2938): Enabling debug mode 0
07-05 10:15:18.578: I/ActivityManager(251): Displayed fr.me.project/.activities.followup.TrucksFollowUpActivity: +1s292ms

For the storage of GL10 instance, i'am not sure that i can... Because i use OpenGL2. Otherwise, how shall we do it ?

For more details for you, i can send the whole source code by email or other...

Thanks again.
« Last Edit: July 05, 2013, 11:07:53 am by marksman »

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11744
    • View Profile
    • http://www.jpct.net
You can check for the GL10 instance anyway. I'm not sure in which case you are getting a new one and despite the fact that it's actually not usuable in a 2.0 context, it's what i'm doing and it works fine on all of my devices.
Anyway, on to your problem. Looks like one of the "usual" dispose()-called-in-wrong-context-problems to me. The examples are misleading in this regard, i should fix them. If you dispose the buffer in onSurfaceChanged, it's likely that you are disposing stuff in the wrong context. In your case, your gl driver seems to reply with a gl error (mine doesn't, but i've never seen a Vivante chip before). The docs for FrameBuffer.dispose() try to cover this case with the part that says
Quote
Make sure that the gl context with which the FrameBuffer instance has been created is still active when calling this method. Otherwise, you might free resources that are bound to another context already.
Try to call dispose() in onStop() or similar and see if that helps to free the resources in the right context.

Offline marksman

  • byte
  • *
  • Posts: 6
    • View Profile
Thanks EgonOlsen.

I put the dispose() in onStop() and the bug disappeared. I think that is a out of memory problem because my application works on an other device.

Thanks. Very much.
And sorry for my bad english.

Offline marksman

  • byte
  • *
  • Posts: 6
    • View Profile
Sorry but isn't solved totally...

Sometimes, after a dispose (return to a previous ui activity), there are :
Quote
07-05 14:10:40.984: I/3D(16971): OnStop !!!
07-05 14:10:40.984: I/jPCT-AE(16971): Visibility lists disposed!
07-05 14:10:40.992: I/jPCT-AE(16971): All texture data unloaded from gpu!
07-05 14:10:40.992: I/jPCT-AE(16971): Disposing VBOs!
07-05 14:10:41.000: D/v_gal(16971): [     1] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 14:10:41.000: D/v_gal(16971): [     2] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 14:10:41.000: D/v_gal(16971): [     3] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 14:10:41.000: D/v_gal(16971): [     4] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 14:10:41.008: D/v_gal(16971): [     5] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 14:10:41.008: D/v_gal(16971): [     6] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 14:10:41.008: D/v_gal(16971): [     7] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 14:10:41.008: D/v_gal(16971): [     8] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 14:10:41.008: D/v_gal(16971): [     9] gl2mERROR: result=0x0501 @ glDeleteBuffers(1016)
07-05 14:10:41.008: I/jPCT-AE(16971): Renderer disposed!
07-05 14:10:41.773: D/OpenGLRenderer(16971): GL error from OpenGLRenderer: 0x501
07-05 14:10:41.781: D/v_gal(16971): [    10] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.781: D/v_gal(16971): [    11] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.781: D/v_gal(16971): [    12] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.781: D/v_gal(16971): [    13] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.781: D/v_gal(16971): [    14] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.781: D/v_gal(16971): [    15] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.781: D/v_gal(16971): [    16] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.781: D/v_gal(16971): [    17] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.797: D/v_gal(16971): [    18] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.797: D/v_gal(16971): [    19] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.797: D/v_gal(16971): [    20] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.797: D/v_gal(16971): [    21] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.797: D/v_gal(16971): [    22] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.797: D/v_gal(16971): [    23] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.797: D/v_gal(16971): [    24] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.797: D/v_gal(16971): [    25] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.797: D/v_gal(16971): [    26] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoVERTEXARRAY_Bind(817)
07-05 14:10:41.797: D/v_gal(16971): [    27] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ _VertexArray(3062)
07-05 14:10:41.797: D/v_gal(16971): [    28] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ glDrawElements(3852)
07-05 14:10:41.797: D/v_gal(16971): [    29] gl2mERROR: result=0x0502 @ glDrawElements(3914)
07-05 14:10:41.797: D/v_gal(16971): [    30] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.797: D/v_gal(16971): [    31] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.797: D/v_gal(16971): [    32] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.797: D/v_gal(16971): [    33] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.797: D/v_gal(16971): [    34] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoVERTEXARRAY_Bind(817)
07-05 14:10:41.797: D/v_gal(16971): [    35] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ _VertexArray(3062)
07-05 14:10:41.797: D/v_gal(16971): [    36] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ glDrawElements(3852)
07-05 14:10:41.797: D/v_gal(16971): [    37] gl2mERROR: result=0x0502 @ glDrawElements(3914)
07-05 14:10:41.805: D/v_gal(16971): [    38] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.805: D/v_gal(16971): [    39] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.805: D/v_gal(16971): [    40] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.805: D/v_gal(16971): [    41] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.805: D/v_gal(16971): [    42] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoVERTEXARRAY_Bind(817)
07-05 14:10:41.805: D/v_gal(16971): [    43] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ _VertexArray(3062)
07-05 14:10:41.805: D/v_gal(16971): [    44] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ glDrawElements(3852)
07-05 14:10:41.805: D/v_gal(16971): [    45] gl2mERROR: result=0x0502 @ glDrawElements(3914)
07-05 14:10:41.805: D/v_gal(16971): [    46] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.805: D/v_gal(16971): [    47] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.805: D/v_gal(16971): [    48] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.805: D/v_gal(16971): [    49] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.805: D/v_gal(16971): [    50] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoVERTEXARRAY_Bind(817)
07-05 14:10:41.805: D/v_gal(16971): [    51] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ _VertexArray(3062)
07-05 14:10:41.805: D/v_gal(16971): [    52] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ glDrawElements(3852)
07-05 14:10:41.805: D/v_gal(16971): [    53] gl2mERROR: result=0x0502 @ glDrawElements(3914)
07-05 14:10:41.812: D/v_gal(16971): [    54] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.812: D/v_gal(16971): [    55] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.812: D/v_gal(16971): [    56] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.812: D/v_gal(16971): [    57] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.820: D/v_gal(16971): [    58] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoVERTEXARRAY_Bind(817)
07-05 14:10:41.820: D/v_gal(16971): [    59] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ _VertexArray(3062)
07-05 14:10:41.820: D/v_gal(16971): [    60] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ glDrawElements(3852)
07-05 14:10:41.820: D/v_gal(16971): [    61] gl2mERROR: result=0x0502 @ glDrawElements(3914)
07-05 14:10:41.820: D/v_gal(16971): [    62] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.820: D/v_gal(16971): [    63] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.820: D/v_gal(16971): [    64] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.820: D/v_gal(16971): [    65] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.828: D/v_gal(16971): [    66] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoVERTEXARRAY_Bind(817)
07-05 14:10:41.828: D/v_gal(16971): [    67] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ _VertexArray(3062)
07-05 14:10:41.828: D/v_gal(16971): [    68] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ glDrawElements(3852)
07-05 14:10:41.828: D/v_gal(16971): [    69] gl2mERROR: result=0x0502 @ glDrawElements(3914)
07-05 14:10:41.828: D/v_gal(16971): [    70] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.828: D/v_gal(16971): [    71] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.828: D/v_gal(16971): [    72] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.828: D/v_gal(16971): [    73] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.836: D/v_gal(16971): [    74] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.836: D/v_gal(16971): [    75] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.836: D/v_gal(16971): [    76] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.836: D/v_gal(16971): [    77] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.836: D/v_gal(16971): [    78] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoVERTEXARRAY_Bind(817)
07-05 14:10:41.836: D/v_gal(16971): [    79] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ _VertexArray(3062)
07-05 14:10:41.836: D/v_gal(16971): [    80] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ glDrawElements(3852)
07-05 14:10:41.836: D/v_gal(16971): [    81] gl2mERROR: result=0x0502 @ glDrawElements(3914)
07-05 14:10:41.836: D/v_gal(16971): [    82] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.844: D/v_gal(16971): [    83] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.844: D/v_gal(16971): [    84] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.844: D/v_gal(16971): [    85] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.867: D/v_gal(16971): [    86] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoVERTEXARRAY_Bind(817)
07-05 14:10:41.867: D/v_gal(16971): [    87] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [    88] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ glDrawElements(3852)
07-05 14:10:41.867: D/v_gal(16971): [    89] gl2mERROR: result=0x0502 @ glDrawElements(3914)
07-05 14:10:41.867: D/v_gal(16971): [    90] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.867: D/v_gal(16971): [    91] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [    92] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.867: D/v_gal(16971): [    93] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.867: D/v_gal(16971): [    94] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoVERTEXARRAY_Bind(817)
07-05 14:10:41.867: D/v_gal(16971): [    95] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [    96] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ glDrawElements(3852)
07-05 14:10:41.867: D/v_gal(16971): [    97] gl2mERROR: result=0x0502 @ glDrawElements(3914)
07-05 14:10:41.867: D/v_gal(16971): [    98] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.867: D/v_gal(16971): [    99] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [   100] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.867: D/v_gal(16971): [   101] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.867: D/v_gal(16971): [   102] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoVERTEXARRAY_Bind(817)
07-05 14:10:41.867: D/v_gal(16971): [   103] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [   104] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ glDrawElements(3852)
07-05 14:10:41.867: D/v_gal(16971): [   105] gl2mERROR: result=0x0502 @ glDrawElements(3914)
07-05 14:10:41.867: D/v_gal(16971): [   106] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.867: D/v_gal(16971): [   107] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [   108] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.867: D/v_gal(16971): [   109] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.867: D/v_gal(16971): [   110] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoVERTEXARRAY_Bind(817)
07-05 14:10:41.867: D/v_gal(16971): [   111] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [   112] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ glDrawElements(3852)
07-05 14:10:41.867: D/v_gal(16971): [   113] gl2mERROR: result=0x0502 @ glDrawElements(3914)
07-05 14:10:41.867: D/v_gal(16971): [   114] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.867: D/v_gal(16971): [   115] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [   116] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.867: D/v_gal(16971): [   117] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.867: D/v_gal(16971): [   118] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoVERTEXARRAY_Bind(817)
07-05 14:10:41.867: D/v_gal(16971): [   119] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [   120] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ glDrawElements(3852)
07-05 14:10:41.867: D/v_gal(16971): [   121] gl2mERROR: result=0x0502 @ glDrawElements(3914)
07-05 14:10:41.867: D/v_gal(16971): [   122] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.867: D/v_gal(16971): [   123] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [   124] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.867: D/v_gal(16971): [   125] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.867: D/v_gal(16971): [   126] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.867: D/v_gal(16971): [   127] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [   128] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.867: D/v_gal(16971): [   129] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.867: D/v_gal(16971): [   130] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.867: D/v_gal(16971): [   131] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [   132] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.867: D/v_gal(16971): [   133] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.867: D/v_gal(16971): [   134] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoVERTEXARRAY_Bind(817)
07-05 14:10:41.867: D/v_gal(16971): [   135] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [   136] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ glDrawElements(3852)
07-05 14:10:41.867: D/v_gal(16971): [   137] gl2mERROR: result=0x0502 @ glDrawElements(3914)
07-05 14:10:41.867: D/v_gal(16971): [   138] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.867: D/v_gal(16971): [   139] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [   140] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.867: D/v_gal(16971): [   141] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.867: D/v_gal(16971): [   142] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoVERTEXARRAY_Bind(817)
07-05 14:10:41.867: D/v_gal(16971): [   143] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [   144] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ glDrawElements(3852)
07-05 14:10:41.867: D/v_gal(16971): [   145] gl2mERROR: result=0x0502 @ glDrawElements(3914)
07-05 14:10:41.867: D/v_gal(16971): [   146] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.867: D/v_gal(16971): [   147] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [   148] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.867: D/v_gal(16971): [   149] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.867: D/v_gal(16971): [   150] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoVERTEXARRAY_Bind(817)
07-05 14:10:41.867: D/v_gal(16971): [   151] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [   152] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ glDrawElements(3852)
07-05 14:10:41.867: D/v_gal(16971): [   153] gl2mERROR: result=0x0502 @ glDrawElements(3914)
07-05 14:10:41.867: D/v_gal(16971): [   154] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.867: D/v_gal(16971): [   155] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [   156] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.867: D/v_gal(16971): [   157] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.867: D/v_gal(16971): [   158] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoVERTEXARRAY_Bind(817)
07-05 14:10:41.867: D/v_gal(16971): [   159] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [   160] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ glDrawElements(3852)
07-05 14:10:41.867: D/v_gal(16971): [   161] gl2mERROR: result=0x0502 @ glDrawElements(3914)
07-05 14:10:41.867: D/v_gal(16971): [   162] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gcoVERTEXARRAY_Bind(426)
07-05 14:10:41.867: D/v_gal(16971): [   163] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [   164] gcmONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ glDrawArrays(4242)
07-05 14:10:41.867: D/v_gal(16971): [   165] gl2mERROR: result=0x0502 @ glDrawArrays(4299)
07-05 14:10:41.867: D/v_gal(16971): [   166] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoVERTEXARRAY_Bind(817)
07-05 14:10:41.867: D/v_gal(16971): [   167] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ _VertexArray(3062)
07-05 14:10:41.867: D/v_gal(16971): [   168] gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ glDrawElements(3852)
07-05 14:10:41.867: D/v_gal(16971): [   169] gl2mERROR: result=0x0502 @ glDrawElements(3914)
And the list is longer !

This cause bad appearence of user interface : letters replaced by colored squares, black components...

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11744
    • View Profile
    • http://www.jpct.net
This is the same shit (...sorry.. >:( ) that happens in live wallpapers when switching to the preferences. How are you supposed to free resources bound to one context based some event, if you can't be sure to work in the right context from anywhere but onDrawFrame()? This behaviour of Android is driving me nuts...

Have you tried to put it into onPause() instead?

Have you tried to create the FrameBuffer only once and use it from there without disposing it? (Check for memory leaks if you try this).

Offline marksman

  • byte
  • *
  • Posts: 6
    • View Profile
I begin to understand the problem (a little...). :-\

I put dispose() in the onPause() but it seems that is the same thing...

And for create FrameBuffer only once, i don't known what to do.  >:( A detail explanation is possible ?

Thanks again.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11744
    • View Profile
    • http://www.jpct.net
And for create FrameBuffer only once, i don't known what to do.  >:( A detail explanation is possible ?
Just reuse the instance that you create on the first run, i.e. don't dispose anything and create a new instance but use the old one.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11744
    • View Profile
    • http://www.jpct.net
I had a look at this problem myself, because it happens from time to time in different contexts, but i wasn't able to find any method that is called before the context changes that could be used to safely dispose gl related resources. However, i've created this jar: http://jpct.de/download/beta/jpct_ae.jar. It adds a check for the current context and only disposes gl related stuff if the context hasn't changed (which is never the case in my tests, but you never know). I suggest to download this jar, leave the call to dispose() in onStop and still create a new FrameBuffer each time the surface changes. Maybe that helps...

Offline marksman

  • byte
  • *
  • Posts: 6
    • View Profile
Maybe ? It's sure ! :) Because, now, it works perfectly.

Thank you very much.