Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.5.6] Android Crash ("Failed to create window surface") #2762

Closed
pavelbabenko opened this issue Nov 22, 2024 · 4 comments
Closed

[1.5.6] Android Crash ("Failed to create window surface") #2762

pavelbabenko opened this issue Nov 22, 2024 · 4 comments

Comments

@pavelbabenko
Copy link

Having crash on some Android devices.

Skia version: 1.5.6 (old arch)
The issue didn't appear with 1.5.0

java.lang.RuntimeException: Failed to create window surface at com.shopify.reactnative.skia.PlatformContext.notifyDrawLoop(PlatformContext.java) at com.shopify.reactnative.skia.PlatformContext.-$$Nest$mnotifyDrawLoop at com.shopify.reactnative.skia.PlatformContext$1.doFrame(PlatformContext.java:66) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1766) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1777) at android.view.Choreographer.doCallbacks(Choreographer.java:1247) at android.view.Choreographer.doFrame(Choreographer.java:1104) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1731) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:222) at android.os.Looper.loop(Looper.java:314) at android.app.ActivityThread.main(ActivityThread.java:8779) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:569) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1090)

@wcandillon
Copy link
Contributor

wcandillon commented Nov 22, 2024

My apologies for this regression, it has been fixed from v1.5.7 and on. I hope this helps, let me know if everything is ok on your side.

@evelant
Copy link

evelant commented Nov 22, 2024

@wcandillon My users are reporting this crash on my latest release which uses 1.5.6.

@wcandillon
Copy link
Contributor

@evelant sorry for the typo I meant 1.5.7 and on, my apologies.

@evelant
Copy link

evelant commented Nov 22, 2024

Ah ok, thank you for the quick fix! You guys are the best.

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

No branches or pull requests

3 participants