debug mode crash with -console on win32