Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Version used:1.0.2
Devices/Android versions reproduced on:oppo find x7u
If this is a bug in the library, we would appreciate if you could attach:
GLFrameBufferRenderer crashes internally when exiting the page or when the page is not visible. The reason is that onDrawComplete uses an invalid surfaceControl, which is a multithreading issue.
crash stack:
java.lang.NullPointerException: mNativeObject of Surface(name=GLFrameBufferRendererTarget)/@0x38d4734 is null. Have you called release() already?
at android.view.SurfaceControl.checkNotReleased(SurfaceControl.java:1681)
at android.view.SurfaceControl.-$$Nest$mcheckNotReleased(Unknown Source:0)
at android.view.SurfaceControl$Transaction.checkPreconditions(SurfaceControl.java:2914)
at android.view.SurfaceControl$Transaction.show(SurfaceControl.java:3088)
at android.view.SurfaceControl$Transaction.setVisibility(SurfaceControl.java:3052)
at androidx.graphics.surface.SurfaceControlV33$Transaction.setVisibility(SurfaceControlV33.kt:1)
at androidx.graphics.surface.SurfaceControlCompat$Transaction.setVisibility(SurfaceControlCompat.kt:1)
at androidx.graphics.opengl.GLFrameBufferRenderer$createFrameBufferRenderer$1.onDrawComplete(GLFrameBufferRenderer.kt:3)
at androidx.graphics.opengl.FrameBufferRenderer.onDrawFrame(FrameBufferRenderer.kt:20)