Closed ergo720 closed 5 years ago
I think that this issue should be opened in CxBx-R repository to get better visibility
I submitted a fix to Cxbx-R and tested with https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/commit/e37de96ed2aec1450df6c6b5eaf533628364ae4e and I can confirm that it does indeed solve this problem. Closing.
When running the test suite in Cxbx-R, the application freezes and never produces any test log results. Looking at the kernel log generated by Cxbx-R, this happens because it hits an unhandled HLT instruction which is spammed forever, like shown below.
The HLT instruction comes from this assertion here https://github.com/XboxDev/nxdk-pdclib/blob/1040a66ded634793a29a2ee80385d524c29ab05f/platform/xbox/functions/threads/thrd_create.c#L47. Commenting it out or building with –DNDEBUG “fixes” the problem and allows the test suite to work correctly, but it’s just a workaround. The real solution is to fix this properly in Cxbx-R.