i got a really weird fatal error that closed the game while i was exiting a session, also sent the trace file
The last Line in your Trace is about to save the temp player File as the normal player File. If that fails, what seems to be the Case, it can be caused by too low Windows User Rights for that File or the whole Installation. Did you try it with running Steam and/or rFactor 2 as an Administrator?
Can you say exactly what the error was, or have a screenshot? There's no strange errors in your trace. Was this an online session or offline? Is it possible it's just the game closing after an online session? (check Multiplayer.JSON doesn't have "Auto Exit":true in that case) @redapg while the player.JSON save is the last thing happening, the save and rename looks fine (returned 0). @redapg in this case it's not even about a language - just a system call, so no errors = 0.
@Lazza For me, the last Entry in a Trace always is suspicious. And because i only work with php, 0 is false for me.