Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
htroutmaniv's avatar
htroutmaniv
Honored Guest
10 months ago

Memory leaking from headset sleep in WebXR sessions & fastrpc_shell_3 crashing

I've been troubleshooting performance issues in Quest3 with webXR. In doing so I have found that I'm getting consistent memory leaking whenever an XR session is running and the headset goes to sleep. It seems that when the headset sleeps about 100mb of free memory is lost each time and is not recoverable without a full reboot of the headset.
In addition to this memory leak I also see pretty consistent crashing of "fastrpc_shell_3" which seems related to body tracking. I get this crash happening every time the headset is removed regardless of if I'm in an XR session.
Eventually these issues seem to destabilize the system leading to other systems crashing and often a full system crash/reboot. Sometimes even after the system reboots all services do not appear to have been successfully restarted.
I have captured some more detailed system logs around some of these issues using Logcat which I would be happy to share.
I'm looking to better understand what and why these things are happening and how to best mitigate them. Any help is appreciated
 

04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: ############################### Process on cDSP0 CRASHED!!!!!!! ########################################
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: --------------------- Crash Details are furnished below ------------------------------------
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: Process "/frpc/f04134a0 HexagonThread" crashed in thread "fr/6757/6842" due to TLBMISS X (execution)
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: Crashed Shared Object "fastrpc_shell_3" load address : 0x81F00000
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: fastrpc_shell_3 load address : 81F00000  and size : 130578
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: Fault PC   :    0x82524E50
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: LR         :    0x82524E50
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: SP         :    0x4AC7C50
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: Bad VA     :    0xC4F46C1
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: FP         :    0x4AC7C68
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: SSR        :    0x1E70660
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: Error code :    0x600A
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: Call trace :
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: [<82524E50>] __eh_nodes+0x4BCE4C:     (_rtld_anonymous)
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: [<82524E50>] __eh_nodes+0x4BCE4C:     (fastrpc_shell_3)
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: [<82523E24>] __eh_nodes+0x4BBE20:     (fastrpc_shell_3)
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: [<81FA2AC0>] __cxa_finalize+0x60:     (fastrpc_shell_3)
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: [<825B3B94>] __eh_nodes+0x54BB90:     (fastrpc_shell_3)
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: [<81F6C31C>] u2g_client_close+0x2D2C:     (fastrpc_shell_3)
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: [<81F6C050>] u2g_client_close+0x2A60:     (fastrpc_shell_3)
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: [<81F6C5E8>] dlclose+0x24:     (fastrpc_shell_3)
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: [<81F63510>] remote_handle_close+0x3F48:     (fastrpc_shell_3)
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: [<81F6BACC>] u2g_client_close+0x24DC:     (fastrpc_shell_3)
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: [<81F62E38>] remote_handle_close+0x3870:     (fastrpc_shell_3)
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: [<81F4F7D0>] err_Fatal_internal0+0x923C:     (fastrpc_shell_3)
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: [<81F58170>] err_Fatal_internal0+0x11BDC:     (fastrpc_shell_3)
04-08 12:47:25.154   795   842 V adsprpc : 6b0b:b87: CDSP0: ----------------------------- End of Crash Report --------------------------------------------------

 

Replies have been turned off for this discussion