zloop1982 / bwapi

Automatically exported from code.google.com/p/bwapi
0 stars 0 forks source link

Crash when ultralisk spawns #480

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
BWAPI4 (r4244) appears to be always crashing if a frame is rendered when an 
ultralisk spawns (i.e. when an ultralisk egg becomes an ultralisk).  It only 
seems to happen for ultralisks - other zerg unit types are fine.  I can 
reproduce it using TestAIModule.dll (and also with TestAIModuled.dll) with the 
unittypetest map by simply (manually via the mouse) making two overlords then 
(manually via the mouse) making an ultralisk.

The stack trace is in or under Detours.cpp:DrawHook() - see IDE screenshot of 
the stack trace.

Original issue reported on code.google.com by chris.c...@gmail.com on 13 Jan 2013 at 3:52

Attachments:

GoogleCodeExporter commented 9 years ago
Also happens in r4240.

Original comment by chris.c...@gmail.com on 13 Jan 2013 at 4:05

GoogleCodeExporter commented 9 years ago
Actually, the crash only seems to happen sometimes, because I can't reproduce 
the crash using TestAIModule with the ZergTest map (even if I reduce the speed 
to 24).

Original comment by chris.c...@gmail.com on 13 Jan 2013 at 4:14

GoogleCodeExporter commented 9 years ago
This was a bug in the Map and Broodwar. xD
The Zerg Egg HP was set to 8388607 and when it hatched had some arithmetic 
overflow.

Original comment by AHeinerm on 13 Jan 2013 at 4:25