Omegastick / bots

1 stars 1 forks source link

Crash on Windows #103

Closed Omegastick closed 4 years ago

Omegastick commented 5 years ago

When running in release mode for around 30 minutes on Windows, the game crashes with no error message.

I suspect a concurrency problem.

Probably going to need #101 to fix this.

Omegastick commented 5 years ago

Looks like the crash is occurring during data generation.

Omegastick commented 5 years ago

Managed to get the error code, it's -1073741571. That is the Windows error code for a stack overflow.

For now, I can just increase the stack size, but that's probably not a great long term solution. I've got to find what's taking up all that stack space.

Omegastick commented 5 years ago

Okay, found one memory leak that seemed to be causing trouble. It seems like there's another though, that's proving slightly harder to find. Gonna try and build PyTorch myself with debug symbols to debug it.

Omegastick commented 4 years ago

Looks to be fixed. Gonna try it on Kazu's computer.

Omegastick commented 4 years ago

Finally fixed.