xrSyncActions crashes the application

Trying to learn openXR and having difficulty with xrSyncActions crashing my app, I have no idea why. I only have one action set. If it doesnt return with a success result I return out of my action polling method. So any ideas or pointers would be helpful! Thanks!

What status does it return?

[This is just some other text to make my message 30 characters long]

I think I resolved it (or at least found the cause) - I realized the program wasnt being shut down properly and I think a bunch of uncleaned up resources were interferring with subsequent runs… my mistake i guess for assuming the sample would be written correctly - now it cleans up most of the stuff but now at the very end of shutdown i get

2023-11-10 09:34:20.546  6062-6092  TREX                    com.stu.stusgame                     I  Shutting down interface manager.
2023-11-10 09:34:20.547  6062-6092  libc                    com.stu.stusgame                     A  Pointer tag for 0xff40ff20ff00ff1 was truncated, see 'https://source.android.com/devices/tech/debug/tagged-pointers'.
2023-11-10 09:34:20.548  6062-6092  libc                    com.stu.stusgame                     A  Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 6092 (Thread-2), pid 6062 (om.stu.stusgame)
2023-11-10 09:34:22.726  6336-6336  DEBUG                   pid-6336                             A  Cmdline: com.stu.stusgame
2023-11-10 09:34:22.726  6336-6336  DEBUG                   pid-6336                             A  pid: 6062, tid: 6092, name: Thread-2  >>> com.stu.stusgame <<<
2023-11-10 09:34:22.727  6336-6336  DEBUG                   pid-6336                             A        #12 pc 0000000000030f2c  /data/app/~~Jk-nOgaT9dOq6AtAdyp6hw==/com.stu.stusgame-xhq1pBM162FGM1jYdbhR2A==/base.apk!libopenxr_loader.so (BuildId: 5e6e9e63f2a35897d471cde41d22eabd3c83389e)
2023-11-10 09:34:22.727  6336-6336  DEBUG                   pid-6336                             A        #13 pc 0000000000025b0c  /data/app/~~Jk-nOgaT9dOq6AtAdyp6hw==/com.stu.stusgame-xhq1pBM162FGM1jYdbhR2A==/base.apk!libopenxr_loader.so (BuildId: 5e6e9e63f2a35897d471cde41d22eabd3c83389e)
2023-11-10 09:34:22.727  6336-6336  DEBUG                   pid-6336                             A        #14 pc 0000000000022aac  /data/app/~~Jk-nOgaT9dOq6AtAdyp6hw==/com.stu.stusgame-xhq1pBM162FGM1jYdbhR2A==/base.apk!libopenxr_loader.so (BuildId: 5e6e9e63f2a35897d471cde41d22eabd3c83389e)
2023-11-10 09:34:22.727  6336-6336  DEBUG                   pid-6336                             A        #15 pc 000000000004ac88  /data/app/~~Jk-nOgaT9dOq6AtAdyp6hw==/com.stu.stusgame-xhq1pBM162FGM1jYdbhR2A==/base.apk!libMyEngine.so (BuildId: bab7d716b98a57b0bc9d7a94fbe6453ca9fa6ff3)
2023-11-10 09:34:22.727  6336-6336  DEBUG                   pid-6336                             A        #16 pc 0000000000048d44  /data/app/~~Jk-nOgaT9dOq6AtAdyp6hw==/com.stu.stusgame-xhq1pBM162FGM1jYdbhR2A==/base.apk!libMyEngine.so (android_main+756) (BuildId: bab7d716b98a57b0bc9d7a94fbe6453ca9fa6ff3)
2023-11-10 09:34:22.727  6336-6336  DEBUG                   pid-6336                             A        #17 pc 00000000000664b8  /data/app/~~Jk-nOgaT9dOq6AtAdyp6hw==/com.stu.stusgame-xhq1pBM162FGM1jYdbhR2A==/base.apk!libMyEngine.so (BuildId: bab7d716b98a57b0bc9d7a94fbe6453ca9fa6ff3)

I don’t understand what sample you’re trying or why resources not being cleaned up would cause xrSyncActions to fail.

  • What runtime/device?
  • What sample shows it?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.