codebackup / bwapi

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

Exception issue #440

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I ve noticed that sometimes the game stops. In debbuging i saw that message:

Unhandled exception at 0x00000005 in StarCraft.exe: 0xC0000005: Access 
violation.

+       this    0x07b296b4 {unit=0x08008750 goal={...} unitID=132896064 ...}    BaseAgent 
* const
+       unit    0x08008750  BWAPI::Unit *

Has anyone came across with that issue??

Original issue reported on code.google.com by snake__p...@hotmail.com on 4 Jun 2012 at 2:11

GoogleCodeExporter commented 9 years ago
Can you provide the BWAPI exception log in Starcraft/bwapi-data/logs ?

Original comment by AHeinerm on 6 Jun 2012 at 12:18

GoogleCodeExporter commented 9 years ago
[2011/09/26 - 16:02:10] Could not find ai under ai in "C:\Program Files 
(x86)\StarCraft\\bwapi-data\bwapi.ini".

Original comment by snake__p...@hotmail.com on 7 Jun 2012 at 12:35

GoogleCodeExporter commented 9 years ago
It would be in Starcraft/bwapi-data/logs/Exceptions. If the folder doesn't 
exist then there may have been a problem creating the file, so make sure the 
folder exists.

Also check Starcraft/Errors/ which contains errors caught by Starcraft's 
exception handler, however BWAPI's exception handler will print more 
information regarding what is happening.

Original comment by AHeinerm on 7 Jun 2012 at 8:09

GoogleCodeExporter commented 9 years ago
PROGRAM VERSION: 1.16.1.1
COMPUTER NAME: ZENITIS-PC
USER NAME:   zenitis
TIME: 06/08/12 03:44:22.128
INFO: 

Exception code: C0000005 ACCESS_VIOLATION
Fault address:  00000005 00:00000000 C:\Program Files 
(x86)\StarCraft\StarCraft.exe

Registers:
EAX:00000005
EBX:00000000
ECX:082C70F0
EDX:034AC978
ESI:000000F0
EDI:00000140
CS:EIP:0023:00000005
SS:ESP:002B:0018ECBC EBP:0018ECC8
DS:002B ES:002B FS:0053 GS:002B
Flags:00010216
Call stack:
Address  Frame    Logical addr  Module
00000005 0018ECC8 0000:00000000 C:\Program Files (x86)\StarCraft\StarCraft.exe
620EC25B 0018ECF0 0001:0000B25B C:\Program Files 
(x86)\StarCraft\bwapi-data\AI\BTHAIModule.dll
620EC050 0018ED74 0001:0000B050 C:\Program Files 
(x86)\StarCraft\bwapi-data\AI\BTHAIModule.dll
620F8223 0018ED90 0001:00017223 C:\Program Files 
(x86)\StarCraft\bwapi-data\AI\BTHAIModule.dll
620E1E9F 0018F028 0001:00000E9F C:\Program Files 
(x86)\StarCraft\bwapi-data\AI\BTHAIModule.dll
1005C6FA 0018F0EC 0001:0005B6FA 
C:\Users\zenitis\Desktop\STARCRAFT\chaos\BWAPI.dll
1006ACFB 0018FDE4 0001:00069CFB 
C:\Users\zenitis\Desktop\STARCRAFT\chaos\BWAPI.dll
1004E01D 0018FDEC 0001:0004D01D 
C:\Users\zenitis\Desktop\STARCRAFT\chaos\BWAPI.dll
004D9753 0018FE10 0001:000D8753 C:\Program Files (x86)\StarCraft\StarCraft.exe
004D9908 0018FE24 0001:000D8908 C:\Program Files (x86)\StarCraft\StarCraft.exe
004D9A6F 0018FE34 0001:000D8A6F C:\Program Files (x86)\StarCraft\StarCraft.exe
004E07FA 0018FE54 0001:000DF7FA C:\Program Files (x86)\StarCraft\StarCraft.exe
004E0B20 0018FE60 0001:000DFB20 C:\Program Files (x86)\StarCraft\StarCraft.exe
00404DA5 0018FF88 0001:00003DA5 C:\Program Files (x86)\StarCraft\StarCraft.exe
760B3677 0018FF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
775B9F42 0018FFD4 0001:00029F42 C:\Windows\SysWOW64\ntdll.dll
775B9F15 0018FFEC 0001:00029F15 C:\Windows\SysWOW64\ntdll.dll

Stack bytes:
0x0018ecbc: ee 59 0f 62  ec ec 18 00  f0 58 a1 07  f0 ec 18 00  .Y.b.....X......
0x0018eccc: 5b c2 0e 62  ec ec 18 00  a0 c8 66 03  9d c4 0e 62  [..b......f....b
0x0018ecdc: 2c c9 66 03  80 18 61 03  b0 d1 66 03  f0 58 a1 07  ,.f...a...f..X..
0x0018ecec: b0 d1 66 03  74 ed 18 00  50 c0 0e 62  f0 58 a1 07  ..f.t...P..b.X..
0x0018ecfc: 81 a7 6a 56  a8 f0 82 02  a0 c8 66 03  1b 11 0e 62  ..jV......f....b
0x0018ed0c: 18 5e 63 03  44 ed 18 00  24 ed 18 00  f8 ec 18 00  .^c.D...$.......
0x0018ed1c: f0 00 00 00  44 ed 18 00  34 ed 18 00  a0 03 61 03  ....D...4.....a.
0x0018ed2c: 3c ed 18 00  1b 11 0e 62  18 5e 63 03  60 ed 18 00  <......b.^c.`...
0x0018ed3c: 48 ed 18 00  a4 2a 10 62  60 ed 18 00  54 ed 18 00  H....*.b`...T...
0x0018ed4c: af 22 10 62  60 ed 18 00  70 ed 18 00  9d c4 0e 62  .".b`...p......b
0x0018ed5c: 18 5e 63 03  f0 58 a1 07  00 00 00 00  1c f0 18 00  .^c..X..........
0x0018ed6c: 20 b2 22 62  ff ff ff ff  90 ed 18 00  23 82 0f 62   ."b........#..b
0x0018ed7c: a0 c8 66 03  18 5e 63 03  20 cb 00 00  34 00 00 00  ..f..^c. ...4...
0x0018ed8c: 2a cb 00 00  28 f0 18 00  9f 1e 0e 62  dd ba 6a 56  *...(......b..jV
0x0018ed9c: 00 4e b3 07  40 01 00 00  9b 00 2e 0e  c4 9e 5c 05  .N..@.........\.
0x0018edac: c0 f0 18 00  88 3e 62 03  cc ed 18 00  68 b5 b2 07  .....>b.....h...
0x0018edbc: 01 00 00 00  18 f8 b2 07  dc ed 18 00  23 e0 5a 77  ............#.Zw
0x0018edcc: 20 f8 b2 07  40 01 00 00  00 00 00 00  18 f8 b2 07   ...@...........
0x0018eddc: f0 ed 18 00  d1 14 0b 76  00 00 74 00  00 00 00 00  .......v..t.....
0x0018edec: 20 f8 b2 07  3c ee 18 00  1b 3c 49 72  00 00 74 00   ...<....<Ir..t.
0x0018edfc: 00 00 00 00  3a 3c 49 72  9c e6 96 6c  40 01 00 00  ....:<Ir...l@...
0x0018ee0c: f0 00 00 00  00 00 00 00  00 4e b3 07  00 4e b3 07  .........N...N..
0x0018ee1c: c0 4c 61 03  20 f8 b2 07  00 00 00 00  00 00 74 00  .La. .........t.
0x0018ee2c: c0 4c 61 03  5e cf 49 72  00 dd c5 1e  a4 00 b4 0e  .La.^.Ir........
0x0018ee3c: 48 9f 3d 00  de 7a 00 10  20 f8 b2 07  c0 f0 18 00  H.=..z.. .......
0x0018ee4c: 08 d7 60 03  01 00 00 00  b8 4c 61 03  70 ee 18 00  ..`......La.p...
0x0018ee5c: 23 e0 5a 77  c0 4c 61 03  40 01 00 00  00 00 00 00  #.Zw.La.@.......
0x0018ee6c: b8 4c 61 03  84 ee 18 00  d1 14 0b 76  00 00 74 00  .La........v..t.
0x0018ee7c: 00 00 00 00  c0 4c 61 03  d0 ee 18 00  1b 3c 49 72  .....La......<Ir
0x0018ee8c: 94 e3 5a 77  3f a7 08 77  40 01 00 00  cc 01 74 00  ..Zw?..w@.....t.
0x0018ee9c: 00 00 74 00  f0 00 00 00  00 00 00 00  37 00 2f 00  ..t.........7./.
0x0018eeac: 55 21 00 00  20 f8 b2 07  c0 4c 61 03  98 ee 18 00  U!.. ....La.....
0x0018eebc: c0 4c 61 03  38 00 38 00  55 21 00 00  00 dd c5 1e  .La.8.8.U!......
0x0018eecc: fe ff ff ff  58 03 80 02  f7 4a 00 10  3c 00 00 00  ....X....J..<...
0x0018eedc: c0 f0 18 00  00 00 00 00  20 9c 15 08  48 00 80 02  ........ ...H...
0x0018eeec: 78 01 80 02  b0 e1 25 08  b0 06 80 02  c0 f0 18 00  x.....%.........
0x0018eefc: 90 ee 18 00  44 ef 18 00  68 f0 18 00  d5 70 5f 77  ....D...h....p_w
0x0018ef0c: 53 9a 4a 00  fe ff ff ff  94 e3 5a 77  f2 e0 5a 77  S.J.......Zw..Zw
0x0018ef1c: 40 01 00 00  3c 00 00 00  46 e0 5a 77  20 f8 b2 07  @...<...F.Zw ...
0x0018ef2c: 20 f8 b2 07  a8 f0 82 02  48 ef 18 00  20 f8 b2 07   .......H... ...
0x0018ef3c: 20 f8 b2 07  20 f8 b2 07  78 ef 18 00  62 1b 07 10   ... ...x...b...
0x0018ef4c: 20 f8 b2 07  c0 f0 18 00  c0 4c 61 03  20 f8 b2 07   ........La. ...
0x0018ef5c: c0 4c 61 03  20 f8 b2 07  ec f0 18 00  96 6c 06 10  .La. ........l..
0x0018ef6c: e0 f0 18 00  9b 91 07 10  ff ff ff ff  02 00 00 00  ................
0x0018ef7c: 00 00 00 00  48 00 00 00  e0 e0 82 02  a8 ef 18 00  ....H...........
0x0018ef8c: b8 3d 49 72  00 00 74 00  00 00 00 00  3c 00 00 00  .=Ir..t.....<...
0x0018ef9c: 40 01 00 00  00 00 00 00  f0 00 00 00  bc ef 18 00  @...............
0x0018efac: 49 61 ad 74  00 00 00 00  1c f8 18 00  00 00 00 00  Ia.t............

Code bytes:

Original comment by snake__p...@hotmail.com on 8 Jun 2012 at 11:29

GoogleCodeExporter commented 9 years ago
It is most likely a problem in BTHAIModule.

Original comment by AHeinerm on 10 Jun 2012 at 6:01

GoogleCodeExporter commented 9 years ago

Original comment by AHeinerm on 29 Jun 2012 at 12:15