Skip to content

fix(🤖): fail gracefully if the OpenGL context can't be created#3950

Merged
wcandillon merged 3 commits into
mainfrom
fix/3793-powervr-gl-graceful-failure
Jul 16, 2026
Merged

fix(🤖): fail gracefully if the OpenGL context can't be created#3950
wcandillon merged 3 commits into
mainfrom
fix/3793-powervr-gl-graceful-failure

Conversation

@wcandillon

Copy link
Copy Markdown
Contributor

Fixes #3793
Relates to #3156

wcandillon and others added 3 commits July 16, 2026 08:35
…reated

On Android 10 devices with PowerVR GE8320 GPUs (Redmi 9C/9A, Oppo A15,
Realme C11, ...), EGL context/surface creation can fail and the null
result was dereferenced in gl::Context::makeCurrent and
OpenGLWindowContext, crash-looping the app with SIGSEGV on the first
<Canvas> render. Check every EGL creation result, log the error, and
skip rendering instead of crashing.

Fixes #3793
Relates to #3156

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@wcandillon
wcandillon merged commit 7deb925 into main Jul 16, 2026
30 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.9.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash on first <Canvas> render SIGSEGV in librnskia.so on Android 10

1 participant