Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Crash when lock/unlock phone while running #3

Open
spaceLenny opened this issue Sep 28, 2018 · 4 comments
Open

Crash when lock/unlock phone while running #3

spaceLenny opened this issue Sep 28, 2018 · 4 comments

Comments

@spaceLenny
Copy link

    Process: com.androidexperiments.tunnelvision, PID: 14696
    java.lang.IllegalStateException: Unable to update texture contents (see logcat for details)
        at android.graphics.SurfaceTexture.nativeUpdateTexImage(Native Method)
        at android.graphics.SurfaceTexture.updateTexImage(SurfaceTexture.java:243)
        at com.androidexperiments.shadercam.gl.VideoRenderer.onDrawFrame(VideoRenderer.java:553)
        at com.androidexperiments.tunnelvision.gl.SlitScanRenderer.onDrawFrame(SlitScanRenderer.java:160)
        at com.uncorkedstudios.android.view.recordablesurfaceview.RecordableSurfaceView$ARRenderThread.run(RecordableSurfaceView.java:516)```
@spaceLenny
Copy link
Author

assuming this is an onPause lifecycle issue.

@katmitchell
Copy link

katmitchell commented Sep 28, 2018

09-28 11:28:33.964 17501-17717/com.androidexperiments.tunnelvision E/GLConsumer: [SurfaceTexture-1-17501-0] checkAndUpdateEglState: invalid current EGLContext
09-28 11:28:33.965 17501-17717/com.androidexperiments.tunnelvision E/AndroidRuntime: FATAL EXCEPTION: Thread-3
    Process: com.androidexperiments.tunnelvision, PID: 17501
    java.lang.IllegalStateException: Unable to update texture contents (see logcat for details)
        at android.graphics.SurfaceTexture.nativeUpdateTexImage(Native Method)
        at android.graphics.SurfaceTexture.updateTexImage(SurfaceTexture.java:243)
        at com.androidexperiments.shadercam.gl.VideoRenderer.onDrawFrame(VideoRenderer.java:553)
        at com.androidexperiments.tunnelvision.gl.SlitScanRenderer.onDrawFrame(SlitScanRenderer.java:160)
        at com.uncorkedstudios.android.view.recordablesurfaceview.RecordableSurfaceView$ARRenderThread.run(RecordableSurfaceView.java:516)```

A few extra lines, because they're relevant and I forgot them before.

@spaceLenny
Copy link
Author

@katmitchell was this during recording?

@spaceLenny
Copy link
Author

Fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants