Closed mkieweg closed 2 years ago
@mkieweg , looks like unhandled exception somewhere in our use of cpprest code (https://github.com/microsoft/cpprestsdk/blob/bfe34877914fd280512c97d41aaa99e88564fd8d/Release/include/pplx/pplxtasks.h#L952)
does it stop execution, without exiting, when you run it under debugger? If so maybe this->_M_stackTrace
at the place where SIGTRAP was raised could show a bit more about the task with uncaught exception.
Also note to myself, this SO question might be relevant: https://stackoverflow.com/questions/38552098/c-rest-sdk-casablanca-sigtrap
@mkieweg , would you be be able to post debug logs from Nakama server around the time crash happens? This will help us identify exact calls being made.
@mkieweg , would you be be able to post debug logs from Nakama server around the time crash happens? This will help us identify exact calls being made.
@redbaron I can totally do that. However, I won't have time for that before the end of the week.
@redbaron sorry for getting back to you just now. Unfortunately I did not get meaningful logs for this from our Nakama dev server and I can't reproduce it with an isolated instance locally. Right now I don't have the resources to look deeper into that matter, sorry.
If you have a chance, try running under debugger and see if generated SIGTRAP will cause it to stop like if it was a breakpoint. Then inspecting this->_M_stackTrace
can reveal something useful.
@mkieweg we've reworked the SDK and this issue should now be resolved.
There seems to be an issue in the Nakama cpp wrapper library for Linux. Restoring a session using the Nakama wrapper results in the following uncaught exception:
The same code causing this issue on Linux works as intended on Windows.