Not a member yet? Why not Sign up today
Create an account  

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
starship game corpuption

#3
Been looking into this some more. It seems like individual saves aren't necessarily "corrupted", but some saves are very likely to cause a crash. I've had "broken" saves load successfully after many repeated tries.

I used the visual studio debugger to see exactly what the fatal exception was for the crashes, and every time it was a stack overflow. After using a microsoft tool (editbin) to increase the stack size of "Hazeron Starship.exe" from 1MB to 100MB, previously "broken" saves are loading completely fine. (i'm not sure the stack actually needs to be set so large, it's just the value I picked to test.)

I'm not sure if some issue is causing the stack to grow much larger than intended during the loading process, or if the stack size just isn't set large enough during compilation, but hopefully this info helps in fixing the issue.
Reply



Messages In This Thread
starship game corpuption - by 2ndhandspaceman - 02-12-2023, 01:19 PM
RE: starship game corpuption - by Kiwi - 02-12-2023, 02:51 PM
RE: starship game corpuption - by Kiwi - 02-12-2023, 08:34 PM
RE: starship game corpuption - by Haxus - 02-12-2023, 11:46 PM
RE: starship game corpuption - by 2ndhandspaceman - 02-13-2023, 12:31 AM
RE: starship game corpuption - by Haxus - 02-13-2023, 02:43 PM
RE: starship game corpuption - by Haxus - 02-13-2023, 03:53 PM
RE: starship game corpuption - by Kiwi - 02-13-2023, 04:41 PM
RE: starship game corpuption - by Haxus - 02-13-2023, 03:55 PM
RE: starship game corpuption - by Haxus - 02-13-2023, 03:56 PM
RE: starship game corpuption - by Haxus - 02-13-2023, 04:28 PM
RE: starship game corpuption - by Deantwo - 02-13-2023, 05:09 PM
RE: starship game corpuption - by Haxus - 02-13-2023, 06:46 PM
RE: starship game corpuption - by Haxus - 02-13-2023, 06:46 PM
RE: starship game corpuption - by 2ndhandspaceman - 02-14-2023, 02:55 AM

Forum Jump:


Users browsing this thread:
6 Guest(s)