해결방법은 아니지만 이 부분과 비슷한 것 같아서 알려드립니다.
Source: http://troublevn.com/313218/error-during-detachfromglcontext-when-using-textureview
Error during detachFromGLContext when using TextureView
I'm using a TextureView to play videos, but when I finish with the view and the host fragment is destroyed, I see the following warnings in the LogCat:
E/GLConsumer: [SurfaceTexture-0-17873-11] detachFromContext: abandoned GLConsumer
E/OpenGLRenderer: Failed to detach SurfaceTexture from context -19
This is on Android 6.0, and other than those warnings, things seem to be okay. However, I have also tried on Android 4.4, and it throws the following RuntimeException:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: kik.android, PID: 11509
java.lang.RuntimeException: Error during detachFromGLContext (see logcat for details)
at android.graphics.SurfaceTexture.detachFromGLContext(SurfaceTexture.java:195)
at android.view.TextureView.destroySurface(TextureView.java:232)
at android.view.TextureView.access$000(TextureView.java:105)
at android.view.TextureView$1.run(TextureView.java:220)
at android.view.HardwareRenderer$Gl20Renderer.safelyRun(HardwareRenderer.java:2236)
at android.view.View.executeHardwareAction(View.java:12447)
at android.view.TextureView.onDetachedFromWindow(TextureView.java:217)
i hope this may help you.