Jan Hartung
2015-04-16 13:45:06 UTC
Hi list,
There is a crash in our game that's bugging me for months now. It all comes
down to the function "Impact" in game\client\fx_impact.cpp. When I leave it
unaltered, sooner or later the game will crash but without a usable stack
trace. Even with debug DLLs and VS hooked up to the game, the stack trace
just shows ntdll.dll and neither our game code or Valve SDK code. However,
when I just exit the function via "return false" directly, there is no crash
at all - but also no wall impact decals, and that's just weird.
Does anyone have any idea what could be causing this? If not, the only thing
I can do is move that "return false" down line by line, test the heck out of
it and see where it actually crashes. Kinda tedious, but I'm out of ideas
here.
Jan
There is a crash in our game that's bugging me for months now. It all comes
down to the function "Impact" in game\client\fx_impact.cpp. When I leave it
unaltered, sooner or later the game will crash but without a usable stack
trace. Even with debug DLLs and VS hooked up to the game, the stack trace
just shows ntdll.dll and neither our game code or Valve SDK code. However,
when I just exit the function via "return false" directly, there is no crash
at all - but also no wall impact decals, and that's just weird.
Does anyone have any idea what could be causing this? If not, the only thing
I can do is move that "return false" down line by line, test the heck out of
it and see where it actually crashes. Kinda tedious, but I'm out of ideas
here.
Jan