-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Crash on Android 16.0 Emulator When Running react-native-webgpu
Examples on macOS M4 Pro
When running the react-native-webgpu
examples on a MacBook Pro M4 (arm64) targeting an Android 16.0 emulator, the app launches successfully but immediately crashes as soon as any example is selected. The crash appears to originate in the Vulkan layer of the Dawn WebGPU implementation. On Android 15.0 it works.
🛠️ Environment
- react-native-webgpu version: latest (from GitHub at time of writing)
- react-native version: 0.74.2
- Hermes: enabled
- OS: macOS 15.4.1 (MacBook Pro M4, arm64)
- Android emulator: Pixel 9, API Level 36 (Android 16.0)
💥 Crash Description
The app crashes with a segmentation fault inside vk_common_SetDebugUtilsObjectNameEXT
, indicating a null pointer dereference in the Vulkan debug utils extension handler.
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
15:49:16.158 A Build fingerprint: 'google/sdk_gphone64_arm64/emu64a:16/BP22.250325.006/13344233:user/release-keys'
15:49:16.158 A Revision: '0'
15:49:16.158 A ABI: 'arm64'
15:49:16.158 A Timestamp: 2025-04-23 15:49:15.745025974+0200
15:49:16.158 A Process uptime: 14s
15:49:16.158 A Cmdline: com.microsoft.reacttestapp
15:49:16.158 A pid: 5029, tid: 5074, name: mqt_js >>> com.microsoft.reacttestapp <<<
15:49:16.158 A uid: 10213
15:49:16.158 A tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
15:49:16.158 A pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
15:49:16.158 A signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000040
15:49:16.158 A Cause: null pointer dereference
15:49:16.158 A x0 000000000000001e x1 0000000000000000 x2 70756f7247646e69 x3 000074756f79614c
15:49:16.158 A x4 0000000000000030 x5 8080000000000000 x6 0000000000000010 x7 7f7f7f7f7f7f7f7f
15:49:16.158 A x8 0101010101010101 x9 000000003b9aca00 x10 00000079127ae149 x11 02000079c03452b0
15:49:16.158 A x12 0000000000038004 x13 0000000000000001 x14 0000000000000000 x15 cccccccccccccccd
15:49:16.158 A x16 00000079b2bdadb0 x17 0000007c83470180 x18 000000790ba08000 x19 b4000079c03452b0
15:49:16.158 A x20 00000079127ae160 x21 0000000000000000 x22 b400007a903513b0 x23 000000790e4281f7
15:49:16.158 A x24 00000079127ae188 x25 00000079127b2880 x26 0000007913d1b640 x27 000000790c591cd8
15:49:16.158 A x28 00000079127ae188 x29 00000079127ae100
15:49:16.158 A lr 00000079b2b8e9ec sp 00000079127ae100 pc 00000079b2b8e9ec pst 00000000a0000000
15:49:16.158 A 100 total frames
15:49:16.158 A backtrace:
15:49:16.158 A #00 pc 00000000000f69ec /vendor/lib64/hw/vulkan.ranchu.so (vk_common_SetDebugUtilsObjectNameEXT+256) (BuildId: fa3743dc16db5b64defafa706f42f307)
...
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Copilot
Metadata
Metadata
Assignees
Labels
No labels