Skip to content

Native Crash on Android #3547

@IsaacInsoll

Description

@IsaacInsoll

Description

I'm getting a crash on the native side when running my app on android. Basically i'm rendering imperatively because the image will be exported to a file and I want the one codepath for on screen and export generation.

The flow is: on interaction run the render function. It reuses the same surface and then adds a blurry image and stamps some text over the top which can be repositioned.

In practice the app loads then will reliably crash if you do interactive animation for at least 5 seconds.

The error from logcat is:

2025-11-19 10:53:59.651  6875-6925  ReactNativeJS           com.myapp     I  ┘ 
2025-11-19 10:53:59.686 20043-20059 ConnectivityService     system_server                        D  requestNetwork for uid/pid:10215/6875 activeRequest: null callbackRequest: 407 [NetworkRequest [ REQUEST id=408, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED&NOT_BANDWIDTH_CONSTRAINED Uid: 10215 RequestorUid: 10215 RequestorPkg: com.myapp UnderlyingNetworks: Null] ]] callback flags: 0 order: 2147483647 isUidTracked: false declaredMethods: AVAIL|LOST
2025-11-19 10:53:59.705 20043-20286 OemPaidWif...orkFactory system_server                        D  got request NetworkRequest [ REQUEST id=408, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED&NOT_BANDWIDTH_CONSTRAINED Uid: 10215 RequestorUid: 10215 RequestorPkg: com.myapp UnderlyingNetworks: Null] ]
2025-11-19 10:53:59.705 20043-20286 MultiInter...orkFactory system_server                        D  got request NetworkRequest [ REQUEST id=408, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED&NOT_BANDWIDTH_CONSTRAINED Uid: 10215 RequestorUid: 10215 RequestorPkg: com.myapp UnderlyingNetworks: Null] ]
2025-11-19 10:53:59.705 20043-20286 WifiNetworkFactory      system_server                        D  got request NetworkRequest [ REQUEST id=408, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED&NOT_BANDWIDTH_CONSTRAINED Uid: 10215 RequestorUid: 10215 RequestorPkg: com.myapp UnderlyingNetworks: Null] ]
2025-11-19 10:53:59.705 20043-20286 UntrustedW...orkFactory system_server                        D  got request NetworkRequest [ REQUEST id=408, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED&NOT_BANDWIDTH_CONSTRAINED Uid: 10215 RequestorUid: 10215 RequestorPkg: com.myapp UnderlyingNetworks: Null] ]
2025-11-19 10:53:59.928  6875-6974  HWUI                    com.myapp     W  Image decoding logging dropped!
2025-11-19 10:53:59.934  6875-6875  Glide                   com.myapp     D  Finished loading Bitmap from LOCAL for file:///data/user/0/com.myapp/cache/ImagePicker/e09d30ba-9c0f-4e33-8563-641eabe4ad8a.jpeg with size [-2147483648x-2147483648] in 242.93208299999998 ms
2025-11-19 10:54:00.209  6875-6882  System                  com.myapp     W  A resource failed to call close. 
2025-11-19 10:54:00.209  6875-6882  System                  com.myapp     W  A resource failed to call close. 
2025-11-19 10:54:00.275  6875-6976  HWUI                    com.myapp     W  Image decoding logging dropped!
2025-11-19 10:54:00.276  6875-6875  Glide                   com.myapp     D  Finished loading Bitmap from LOCAL for file:///data/user/0/com.myapp/cache/ImagePicker/e09d30ba-9c0f-4e33-8563-641eabe4ad8a.jpeg with size [-2147483648x-2147483648] in 105.696416 ms
2025-11-19 10:54:00.525  6875-6971  HWUI                    com.myapp     W  Image decoding logging dropped!
2025-11-19 10:54:00.615  6875-6882  System                  com.myapp     W  A resource failed to call close. 
2025-11-19 10:54:00.615  6875-6882  System                  com.myapp     W  A resource failed to call close. 
2025-11-19 10:54:00.631  6875-6925  ReactNativeJS           com.myapp     I  loading glyphs
2025-11-19 10:54:00.659  6875-6925  ReactNativeJS           com.myapp     I  'initial', { blur: '10', initialBlur: 10, slider: 10 }
2025-11-19 10:54:00.770  6875-6875  HWUI                    com.myapp     W  Image decoding logging dropped!
2025-11-19 10:54:00.775  6875-6875  HWUI                    com.myapp     W  Image decoding logging dropped!
2025-11-19 10:54:00.876  6875-6987  nativeloader            com.myapp     D  Load /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!/lib/arm64-v8a/libavif_android.so using class loader ns clns-9 (caller=/data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!classes7.dex): ok
2025-11-19 10:54:00.895  6875-6986  HWUI                    com.myapp     W  Image decoding logging dropped!
2025-11-19 10:54:00.905  6875-6987  HWUI                    com.myapp     W  Image decoding logging dropped!
2025-11-19 10:54:00.926  6875-6987  RenderScri...Adaptation com.myapp     D  IRenderScriptDevice::getService()
2025-11-19 10:54:00.937  6875-6987  RenderScri...Adaptation com.myapp     D  IRenderScriptDevice::getService() returned 0x0
2025-11-19 10:54:00.937  6875-6987  RenderScri...Adaptation com.myapp     D  Using Fallback Path.
2025-11-19 10:54:00.938  6875-6986  HWUI                    com.myapp     W  Image decoding logging dropped!
2025-11-19 10:54:00.947  6875-6986  HWUI                    com.myapp     W  Image decoding logging dropped!
2025-11-19 10:54:00.953  6875-6986  HWUI                    com.myapp     W  Image decoding logging dropped!
2025-11-19 10:54:00.963  6875-6875  EGL_emulation           com.myapp     E  eglQueryContext 32c0  EGL_BAD_ATTRIBUTE
2025-11-19 10:54:00.963  6875-6875  EGL_emulation           com.myapp     E  tid 6875: eglQueryContext(2159): error 0x3004 (EGL_BAD_ATTRIBUTE)
2025-11-19 10:54:00.964  6875-6986  HWUI                    com.myapp     W  Image decoding logging dropped!
2025-11-19 10:54:00.967  6875-6875  SkiaTextureView         com.myapp     I  onSurfaceTextureAvailable:  1080x2424
2025-11-19 10:54:00.971  6875-6986  HWUI                    com.myapp     W  Image decoding logging dropped!
2025-11-19 10:54:00.978  6875-6986  HWUI                    com.myapp     W  Image decoding logging dropped!
2025-11-19 10:54:00.985  6875-6987  hotosummary.dev         com.myapp     D  Successfully queried cache dir: /data/user_de/0/com.myapp/code_cache
2025-11-19 10:54:00.985  6875-6987  RenderScript            com.myapp     D  Setting cache dir: /data/user_de/0/com.myapp/code_cache
2025-11-19 10:54:01.097  6875-6875  Glide                   com.myapp     D  Finished loading BitmapDrawable from DATA_DISK_CACHE for http://192.168.123.40:8081/assets/?unstable_path=.%2Fassets%2Fglyphs/aperture.png?platform=android&hash=db791a593ba212862ab112caa57a2517 with size [647x647] in 272.46691699999997 ms
2025-11-19 10:54:01.112  6875-6875  Glide                   com.myapp     D  Finished loading BitmapDrawable from DATA_DISK_CACHE for http://192.168.123.40:8081/assets/?unstable_path=.%2Fassets%2Fglyphs/shutter.png?platform=android&hash=c760001927dc5431dfab5d68c0667b90 with size [655x655] in 278.354125 ms
2025-11-19 10:54:01.114  6875-6875  Glide                   com.myapp     D  Finished loading BitmapDrawable from DATA_DISK_CACHE for http://192.168.123.40:8081/assets/?unstable_path=.%2Fassets%2Fglyphs/iso.png?platform=android&hash=9424a19c1bc3ae0386a538f3eb7ccdce with size [688x688] in 277.40912499999996 ms
2025-11-19 10:54:01.115  6875-6875  Glide                   com.myapp     D  Finished loading BitmapDrawable from DATA_DISK_CACHE for http://192.168.123.40:8081/assets/?unstable_path=.%2Fassets%2Fglyphs/camera.png?platform=android&hash=9009aa67c08a814c450a52a6bfc19f33 with size [648x648] in 276.80395899999996 ms
2025-11-19 10:54:01.115  6875-6875  Glide                   com.myapp     D  Finished loading BitmapDrawable from DATA_DISK_CACHE for http://192.168.123.40:8081/assets/?unstable_path=.%2Fassets%2Fglyphs/lens.png?platform=android&hash=a01e85b507fadcba4b98b282eb0bf6f8 with size [668x668] in 276.59925 ms
2025-11-19 10:54:01.117  6875-6875  Glide                   com.myapp     D  Finished loading BitmapDrawable from DATA_DISK_CACHE for http://192.168.123.40:8081/assets/?unstable_path=.%2Fassets%2Fglyphs/fov.png?platform=android&hash=8efd4f58883d44979d9f154acfe50dc0 with size [317x317] in 277.470458 ms
2025-11-19 10:54:01.117  6875-6875  Glide                   com.myapp     D  Finished loading BitmapDrawable from DATA_DISK_CACHE for http://192.168.123.40:8081/assets/?unstable_path=.%2Fassets%2Fglyphs/time.png?platform=android&hash=d9162b9cee530c81f3f0c26d2a8c80f5 with size [679x679] in 277.204542 ms
2025-11-19 10:54:01.119  6875-6875  Glide                   com.myapp     D  Finished loading BitmapDrawable from LOCAL for file:///data/user/0/com.myapp/cache/ImageManipulator/274d6ce0-edd6-4034-ad77-ae1b913ee0a6.jpg with size [1080x2424] in 295.528959 ms
2025-11-19 10:54:01.123  6875-6875  Glide                   com.myapp     D  Finished loading BitmapDrawable from LOCAL for file:///data/user/0/com.myapp/cache/ImageManipulator/274d6ce0-edd6-4034-ad77-ae1b913ee0a6.jpg with size [1080x2424] in 282.558292 ms
2025-11-19 10:54:01.126  6875-6875  Glide                   com.myapp     D  Finished loading BitmapDrawable from LOCAL for file:///data/user/0/com.myapp/cache/ImageManipulator/274d6ce0-edd6-4034-ad77-ae1b913ee0a6.jpg with size [1080x2424] in 283.93729099999996 ms
2025-11-19 10:54:01.130  6875-6925  ReactNativeJS           com.myapp     I  animating!!
2025-11-19 10:54:01.228  6875-6925  ReactNativeJS           com.myapp     I  'creating new surface', { width: 971.25, height: 777 }
2025-11-19 10:54:01.520  6875-6875  EGL_emulation           com.myapp     E  eglQueryContext 32c0  EGL_BAD_ATTRIBUTE
2025-11-19 10:54:01.520  6875-6875  EGL_emulation           com.myapp     E  tid 6875: eglQueryContext(2159): error 0x3004 (EGL_BAD_ATTRIBUTE)
2025-11-19 10:54:01.520  6875-6875  SkiaTextureView         com.myapp     I  onSurfaceTextureAvailable:  972x777
2025-11-19 10:54:01.525  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-1] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:01.525  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:01.556  6875-6882  System                  com.myapp     W  A resource failed to call Surface.release. 
2025-11-19 10:54:01.556  6875-6882  System                  com.myapp     W  A resource failed to call Surface.release. 
2025-11-19 10:54:02.938  6875-6925  ReactNativeJS           com.myapp     I  'creating new surface', { width: 485.625, height: 388.5 }
2025-11-19 10:54:03.119  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:03.119  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:03.149  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:03.149  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:03.234  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:03.234  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:03.235  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:03.236  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:03.314  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:03.314  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:03.316  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:03.317  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:03.398  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:03.398  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:03.412  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:03.412  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:03.513  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:03.514  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:03.833  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:03.834  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:03.864  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:03.864  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:03.951  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:03.951  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:03.953  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:03.954  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:04.074  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:04.074  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:04.196  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:04.196  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:04.265  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:04.265  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:04.299  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:04.299  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:04.313  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:04.313  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:04.414  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:04.414  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:04.513  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:04.513  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:04.611  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:04.611  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:04.614  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:04.614  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:04.726  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:04.726  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:04.744  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:04.745  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:04.797  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:04.797  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:04.815  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:04.815  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:04.829  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:04.829  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:04.892  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:04.893  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:04.994  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:04.994  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.013  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.013  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.121  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.121  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.150  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.150  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.229  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.229  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.299  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.299  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.329  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.330  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.375  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.375  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.413  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.413  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.429  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.429  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.529  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.530  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.545  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.545  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.636  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.636  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.638  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.638  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.709  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.709  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.730  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.730  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.817  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.818  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.829  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.829  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.929  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.929  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:05.945  6875-6875  hotosummary.dev         com.myapp     E  [SurfaceTexture-0-6875-0] updateAndRelease: EGLConsumer is not attached to an OpenGL ES context
2025-11-19 10:54:05.945  6875-6875  RNSkia                  com.myapp     I  updateAndRelease() failed. The exception above can safely be ignored
2025-11-19 10:54:06.096  6875-6927  libc++abi               com.myapp     E  terminating due to uncaught exception of type std::runtime_error: Unable to retrieve jni environment. Is the thread attached?
2025-11-19 10:54:06.096  6875-6927  libc                    com.myapp     A  Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 6927 (hades), pid 6875 (hotosummary.dev)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A  Cmdline: com.myapp
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A  pid: 6875, tid: 6927, name: hades  >>> com.myapp <<<
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #01 pc 00000000000a0210  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!libc++_shared.so (offset 0x3bd0000) (BuildId: 6783a7f3a0d9c67c55a74cadc441ed55aaa493da)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #02 pc 000000000009eeb0  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!libc++_shared.so (offset 0x3bd0000) (BuildId: 6783a7f3a0d9c67c55a74cadc441ed55aaa493da)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #03 pc 000000000009f374  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!libc++_shared.so (offset 0x3bd0000) (BuildId: 6783a7f3a0d9c67c55a74cadc441ed55aaa493da)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #04 pc 000000000009f314  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!libc++_shared.so (offset 0x3bd0000) (std::terminate()+56) (BuildId: 6783a7f3a0d9c67c55a74cadc441ed55aaa493da)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #05 pc 0000000000580448  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #06 pc 0000000000583004  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (facebook::jni::LocalReferenceAllocator::verifyReference(_jobject*) const+60) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #07 pc 00000000005a940c  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (facebook::jni::alias_ref<_jobject*>::alias_ref(_jobject*)+52) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #08 pc 00000000005aa198  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (RNSkia::JniPlatformContext::notifyTaskReadyExternal()+188) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #09 pc 00000000005a9ffc  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (RNSkia::JniPlatformContext::runTaskOnMainThread(std::__ndk1::function<void ()>)+176) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #10 pc 00000000005a256c  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (RNSkia::RNSkAndroidPlatformContext::runOnMainThread(std::__ndk1::function<void ()>)+64) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #11 pc 000000000071b554  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (RNSkia::Recorder::~Recorder()+176) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #12 pc 000000000071b494  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #13 pc 000000000071b470  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (void std::__ndk1::allocator_traits<std::__ndk1::allocator<RNSkia::Recorder>>::destroy[abi:ne180000]<RNSkia::Recorder, void, void>(std::__ndk1::allocator<RNSkia::Recorder>&, RNSkia::Recorder*)+24) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #14 pc 000000000071b424  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (void std::__ndk1::__shared_ptr_emplace<RNSkia::Recorder, std::__ndk1::allocator<RNSkia::Recorder>>::__on_zero_shared_impl[abi:ne180000]<std::__ndk1::allocator<RNSkia::Recorder>, 0>()+56) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #15 pc 000000000071aea0  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #16 pc 000000000058a2c8  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #17 pc 000000000058a26c  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #18 pc 00000000007198e8  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #19 pc 000000000071e99c  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (RNSkia::JsiSkWrappingHostObject<std::__ndk1::shared_ptr<RNSkia::Recorder>>::~JsiSkWrappingHostObject()+44) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #20 pc 000000000071e954  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (RNSkia::JsiSkWrappingSharedPtrHostObject<RNSkia::Recorder>::~JsiSkWrappingSharedPtrHostObject()+20) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #21 pc 0000000000719964  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (RNSkia::JsiRecorder::~JsiRecorder()+20) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #22 pc 00000000007ce9dc  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.979  7009-7009  DEBUG                   crash_dump64                         A        #23 pc 00000000007ce9b0  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (void std::__ndk1::allocator_traits<std::__ndk1::allocator<RNSkia::JsiRecorder>>::destroy[abi:ne180000]<RNSkia::JsiRecorder, void, void>(std::__ndk1::allocator<RNSkia::JsiRecorder>&, RNSkia::JsiRecorder*)+24) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.980  7009-7009  DEBUG                   crash_dump64                         A        #24 pc 00000000007ce964  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (void std::__ndk1::__shared_ptr_emplace<RNSkia::JsiRecorder, std::__ndk1::allocator<RNSkia::JsiRecorder>>::__on_zero_shared_impl[abi:ne180000]<std::__ndk1::allocator<RNSkia::JsiRecorder>, 0>()+56) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.980  7009-7009  DEBUG                   crash_dump64                         A        #25 pc 0000000000719424  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!librnskia.so (offset 0x63c8000) (BuildId: b4ee914bb8adf7b25038450df2f8f2b75ad9c551)
2025-11-19 10:54:06.980  7009-7009  DEBUG                   crash_dump64                         A        #26 pc 00000000000d9500  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!libhermes.so (offset 0x3f04000) (BuildId: 28d4d3b2a49321c32019bfd0c6fd6b9a50601ef8)
2025-11-19 10:54:06.980  7009-7009  DEBUG                   crash_dump64                         A        #27 pc 00000000002546b4  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!libhermes.so (offset 0x3f04000) (BuildId: 28d4d3b2a49321c32019bfd0c6fd6b9a50601ef8)
2025-11-19 10:54:06.980  7009-7009  DEBUG                   crash_dump64                         A        #28 pc 000000000025f5b0  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!libhermes.so (offset 0x3f04000) (BuildId: 28d4d3b2a49321c32019bfd0c6fd6b9a50601ef8)
2025-11-19 10:54:06.980  7009-7009  DEBUG                   crash_dump64                         A        #29 pc 000000000025e88c  /data/app/~~TYsVAk0gOMLYoDjIgZ8AeQ==/com.myapp-FzAU9fifTnBLz4Ze65s3ug==/base.apk!libhermes.so (offset 0x3f04000) (BuildId: 28d4d3b2a49321c32019bfd0c6fd6b9a50601ef8)
2025-11-19 10:54:06.999 20043-7012  ActivityTaskManager     system_server                        W    Force finishing activity com.myapp/.MainActivity
2025-11-19 10:54:07.010 20043-7012  ClientLifecycleManager  system_server                        W  Failed to deliver transaction for ProcessRecord{44a71e3 6875:com.myapp/u0a215}
                                                                                                    transaction=com.android.server.wm.ClientLifecycleManager@9353480
                                                                                                    android.os.DeadObjectException
                                                                                                    	at android.os.BinderProxy.transactNative(Native Method)
                                                                                                    	at android.os.BinderProxy.transact(BinderProxy.java:592)
                                                                                                    	at android.app.IApplicationThread$Stub$Proxy.scheduleTransaction(IApplicationThread.java:2308)
                                                                                                    	at android.app.IApplicationThread$Delegator.scheduleTransaction(IApplicationThread.java:439)
                                                                                                    	at android.app.servertransaction.ClientTransaction.schedule(ClientTransaction.java:245)
                                                                                                    	at com.android.server.wm.ClientLifecycleManager.scheduleTransaction(ClientLifecycleManager.java:75)
                                                                                                    	at com.android.server.wm.ClientLifecycleManager.dispatchPendingTransactions(ClientLifecycleManager.java:185)
                                                                                                    	at com.android.server.wm.RootWindowContainer.performSurfacePlacementNoTrace(RootWindowContainer.java:792)
                                                                                                    	at com.android.server.wm.RootWindowContainer.performSurfacePlacement(RootWindowContainer.java:746)
                                                                                                    	at com.android.server.wm.WindowSurfacePlacer.performSurfacePlacementLoop(WindowSurfacePlacer.java:173)
                                                                                                    	at com.android.server.wm.WindowSurfacePlacer.performSurfacePlacement(WindowSurfacePlacer.java:123)
                                                                                                    	at com.android.server.wm.WindowSurfacePlacer.performSurfacePlacement(WindowSurfacePlacer.java:112)
                                                                                                    	at com.android.server.wm.WindowSurfacePlacer.continueLayout(WindowSurfacePlacer.java:94)
                                                                                                    	at com.android.server.wm.ActivityTaskManagerService.continueWindowLayout(ActivityTaskManagerService.java:4972)
                                                                                                    	at com.android.server.wm.ActivityTaskManagerService$LocalService.finishTopCrashedActivities(ActivityTaskManagerService.java:7183)
                                                                                                    	at com.android.server.am.AppErrors.handleAppCrashLSPB(AppErrors.java:964)
                                                                                                    	at com.android.server.am.AppErrors.makeAppCrashingLocked(AppErrors.java:797)
                                                                                                    	at com.android.server.am.AppErrors.crashApplicationInner(AppErrors.java:672)
                                                                                                    	at com.android.server.am.AppErrors.crashApplication(AppErrors.java:600)
                                                                                                    	at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:9424)
                                                                                                    	at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:91)
2025-11-19 10:54:07.021  6527-6540  WindowManagerShell      com.android.systemui                 V  Transition requested (#26): android.os.BinderProxy@a6676c2 TransitionRequestInfo { type = CLOSE, triggerTask = TaskInfo{userId=0 taskId=33 effectiveUid=10215 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.myapp/.MainActivity } baseActivity=ComponentInfo{com.myapp/com.myapp.MainActivity} topActivity=ComponentInfo{com.myapp/com.myapp.MainActivity} origActivity=null realActivity=ComponentInfo{com.myapp/com.myapp.MainActivity} numActivities=1 lastActiveTime=102514854 supportsMultiWindow=true resizeMode=1 isResizeable=true minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{android.window.IWindowContainerToken$Stub$Proxy@1dbdcd3} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=Rect(0, 0 - 0, 0) topActivityInfo=ActivityInfo{6178010 com.myapp.MainActivity} launchCookies=[] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=true isVisible=true isVisibleRequested=true isTopActivityNoDisplay=false isSleeping=false locusId=null displayAreaFeatureId=1 isTopActivityTransparent=false isActivityStackTransparent=false lastNonFullscreenBounds=Rect(278, 709 - 802, 1789) capturedLink=null capturedLinkTimestamp=0 requestedVisibleTypes=-9 topActivityRequestOpenInBrowserEducationTimestamp=0 appCompatTaskInfo=AppCompatTaskInfo { topActivityInSizeCompat=false eligibleForLetterboxEducation= false isLetterboxEducationEnabled= true isLetterboxDoubleTapEnabled= false eligibleForUserAspectRatioButton= false topActivityBoundsLetterboxed= false isFromLetterboxDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=-1 topActivityLetterboxHeight=-1 topActivityAppBounds=Rect(0, 0 - 1080, 2424) isUserFullscreenOverrideEnabled=false isSystemFullscreenOverrideEnabled=false hasMinAspectRatioOverride=false topActivityLetterboxBounds=null cameraCompatTaskInfo=CameraCompatTaskInfo { freeformCameraCompatMode=inactive}} topActivityMainWindowFrame=null}, pipChange = null, remoteTransition = null, displayChange = null, flags = 16, debugId = 26 }
2025-11-19 10:54:07.071 20043-20626 ActivityManager         system_server                        I  Process com.myapp (pid 6875) has died: fg  TOP 
2025-11-19 10:54:07.073 20043-20748 WindowManager           system_server                        I  WIN DEATH: Window{6b60764 u0 com.myapp/com.myapp.MainActivity}
2025-11-19 10:54:07.077 20043-20353 ImeTracker              system_server                        I  com.myapp:e9c5a763: onRequestHide at ORIGIN_SERVER reason HIDE_REMOVE_CLIENT fromUser false
2025-11-19 10:54:07.078 20043-20353 ImeTracker              system_server                        I  com.myapp:e9c5a763: onCancelled at PHASE_SERVER_SHOULD_HIDE
2025-11-19 10:54:07.084 20043-20292 ConnectivityService     system_server                        D  releasing NetworkRequest [ REQUEST id=408, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED&NOT_BANDWIDTH_CONSTRAINED Uid: 10215 RequestorUid: 10215 RequestorPkg: com.myapp UnderlyingNetworks: Null] ] (release request)
2025-11-19 10:54:07.168 20043-20066 WindowManager           system_server                        V  Sent Transition (#26) createdAt=11-19 10:54:06.999 via request=TransitionRequestInfo { type = CLOSE, triggerTask = TaskInfo{userId=0 taskId=33 effectiveUid=10215 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.myapp/.MainActivity } baseActivity=ComponentInfo{com.myapp/com.myapp.MainActivity} topActivity=ComponentInfo{com.myapp/com.myapp.MainActivity} origActivity=null realActivity=ComponentInfo{com.myapp/com.myapp.MainActivity} numActivities=1 lastActiveTime=102514854 supportsMultiWindow=true resizeMode=1 isResizeable=true minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{RemoteToken{1e23a5b Task{e5ea874 #33 type=standard A=10215:com.myapp}}} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=Rect(0, 0 - 0, 0) topActivityInfo=ActivityInfo{cfb10f6 com.myapp.MainActivity} launchCookies=[] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=true isVisible=true isVisibleRequested=true isTopActivityNoDisplay=false isSleeping=false locusId=null displayAreaFeatureId=1 isTopActivityTransparent=false isActivityStackTransparent=false lastNonFullscreenBounds=Rect(278, 709 - 802, 1789) capturedLink=null capturedLinkTimestamp=0 requestedVisibleTypes=-9 topActivityRequestOpenInBrowserEducationTimestamp=0 appCompatTaskInfo=AppCompatTaskInfo { topActivityInSizeCompat=false eligibleForLetterboxEducation= false isLetterboxEducationEnabled= true isLetterboxDoubleTapEnabled= false eligibleForUserAspectRatioButton= false topActivityBoundsLetterboxed= false isFromLetterboxDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=-1 topActivityLetterboxHeight=-1 topActivityAppBounds=Rect(0, 0 - 1080, 2424) isUserFullscreenOverrideEnabled=false isSystemFullscreenOverrideEnabled=false hasMinAspectRatioOverride=false topActivityLetterboxBounds=null cameraCompatTaskInfo=CameraCompatTaskInfo { freeformCameraCompatMode=inactive}} topActivityMainWindowFrame=null}, pipChange = null, remoteTransition = null, displayChange = null, flags = 16, debugId = 26 }
2025-11-19 10:54:07.168 20043-20066 WindowManager           system_server                        V      info={id=26 t=CLOSE f=0x10 trk=0 r=[0@Point(0, 0)] c=[
                                                                                                            {WCT{RemoteToken{e138445 Task{3d9adcf #1 type=home}}} m=TO_FRONT f=SHOW_WALLPAPER|MOVE_TO_TOP leash=Surface(name=Task=1)/@0x76092c8 sb=Rect(0, 0 - 1080, 2424) eb=Rect(0, 0 - 1080, 2424) epz=Point(1080, 2424) d=0 taskParent=-1},
                                                                                                            {WCT{RemoteToken{1e23a5b Task{e5ea874 #33 type=standard A=10215:com.myapp}}} m=CLOSE f=NONE leash=Surface(name=Task=33)/@0x3500755 sb=Rect(0, 0 - 1080, 2424) eb=Rect(0, 0 - 1080, 2424) epz=Point(1080, 2424) d=0 taskParent=-1},
                                                                                                            {m=TO_FRONT f=IS_WALLPAPER leash=Surface(name=WallpaperWindowToken{2d661e showWhenLocked=false})/@0xacf7253 sb=Rect(0, 0 - 1080, 2424) eb=Rect(0, 0 - 1080, 2424) epz=Point(1080, 2424) d=0}
                                                                                                        ]}
2025-11-19 10:54:07.507 20043-20069 ActivityTaskManager     system_server                        W  Activity top resumed state loss timeout for ActivityRecord{196633760 u0 com.myapp/.MainActivity t33 f} isExiting}
2025-11-19 10:54:08.179 20043-20626 WindowManager           system_server                        W  Exception thrown during dispatchAppVisibility Window{6b60764 u0 com.myapp/com.myapp.MainActivity EXITING}
                                                                                                    android.os.DeadObjectException
                                                                                                    	at android.os.BinderProxy.transactNative(Native Method)
                                                                                                    	at android.os.BinderProxy.transact(BinderProxy.java:592)
                                                                                                    	at android.view.IWindow$Stub$Proxy.dispatchAppVisibility(IWindow.java:557)
                                                                                                    	at com.android.server.wm.WindowState.sendAppVisibilityToClients(WindowState.java:3151)
                                                                                                    	at com.android.server.wm.WindowContainer.sendAppVisibilityToClients(WindowContainer.java:1311)
                                                                                                    	at com.android.server.wm.WindowToken.setClientVisible(WindowToken.java:389)
                                                                                                    	at com.android.server.wm.ActivityRecord.setClientVisible(ActivityRecord.java:6650)
                                                                                                    	at com.android.server.wm.ActivityRecord.commitVisibility(ActivityRecord.java:5561)
                                                                                                    	at com.android.server.wm.Transition.finishTransition(Transition.java:1391)
                                                                                                    	at com.android.server.wm.TransitionController.finishTransition(TransitionController.java:1029)
                                                                                                    	at com.android.server.wm.WindowOrganizerController.finishTransition(WindowOrganizerController.java:496)
                                                                                                    	at android.window.IWindowOrganizerController$Stub.onTransact(IWindowOrganizerController.java:261)
                                                                                                    	at com.android.server.wm.WindowOrganizerController.onTransact(WindowOrganizerController.java:223)
                                                                                                    	at android.os.Binder.execTransactInternal(Binder.java:1426)
                                                                                                    	at android.os.Binder.execTransact(Binder.java:1365)

React Native Skia Version

2.3.13

React Native Version

Expo 54 / React Native 0.81.4

Using New Architecture

  • Enabled

Steps to Reproduce

My understanding is:

  • The crash happens on Hermes’s GC thread (tid: 6927, name: hades).
  • The GC is destroying a JsiRecorder host object (RNSkia::JsiRecorder::~JsiRecorder → RNSkia::Recorder::~Recorder).
  • Inside that destructor, RN Skia calls into JniPlatformContext::runTaskOnMainThread / notifyTaskReadyExternal, which uses JNI.
  • Because the current thread (hades) is not attached to the JVM, fbjni throws std::runtime_error("Unable to retrieve jni environment. Is the thread attached?") and your process aborts.

So it seems like a RN-Skia object whose destructor touches Java is being freed on the GC thread, which is illegal, and looks to be a native bug in RN-Skia’s integration with Hermes, not a thing on the JS side?

I haven't made a minimum reproducable example yet but am happy to do so if the logs aren't providing sufficient info

Snack, Code Example, Screenshot, or Link to Repository

if this isn't enough info i'm happy to make one, but it seems time consuming so i'm hoping the logs are enough

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions