• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

TD Crash problems - possibly leaks?

Status
Not open for further replies.
Level 1
Joined
Jul 20, 2014
Messages
4
Hey folks,

I'm making a TD map at the moment, and I'm experiencing crashes somewhere between wave 75 and wave 85 when playing with more than 2 players. The crash log is the following:

==============================================================================
Warcraft III (build 6401)

Exe: c:\users\<myname>\desktop\network share\warcraft iii\war3.exe
Time: Aug 5, 2014 12:54:07.698 PM
User: <MYNAME>
Computer: <MYPCNAME>
------------------------------------------------------------------------------

This application has encountered a critical error:

FATAL ERROR!

Program: c:\users\<myname>\desktop\network share\warcraft iii\war3.exe
Exception: 0xC0000005 (ACCESS_VIOLATION) at 0023:6F4C237F

The instruction at '0x6F4C237F' referenced memory at '0x0000000C'.
The memory could not be 'read'.


War3Build: 1.26.0.6401
Played Maps\Test\Master Of Outland TD.w3x
Player 0 [FUC] Samurnor Race Human StartLoc 0
Player 1 Race Human StartLoc 1
Player 2 Race Human StartLoc 2
Player 3 [FUC] CockAlot Race Human StartLoc 3
Player 4 Race Human StartLoc 4
Player 5 Race Human StartLoc 5
Player 6 Race Human StartLoc 6
Player 7 [FUC] Loli-chan Race Human StartLoc 7
Player 8 Demon Armies Race Undead StartLoc 8
Player 9 Demon Armies Race Undead StartLoc 9
Player 10 Demon Armies Race Undead StartLoc 10
Player 11 Demon Armies Race Undead StartLoc 11
------------------------------------------------------------------------------

----------------------------------------
x86 Registers
----------------------------------------

EAX=00000000 EBX=1AFB9284 ECX=00000004 EDX=00000000 ESI=0018FAF0
EDI=0018FAF8 EBP=091F2994 ESP=0018FA68 EIP=6F4C237F FLG=00010202
CS =0023 DS =002B ES =002B SS =002B FS =0053 GS =002B


----------------------------------------
Stack Trace (Manual)
----------------------------------------

Address Frame Logical addr Module

6F4C237F 091F2994 0001:004C137F c:\users\<myname>\desktop\network share\warcraft iii\Game.dll

----------------------------------------
Stack Trace (Using DBGHELP.DLL)
----------------------------------------

6F4C237F Game.dll GameMain+4950831 (0x00000000,0x7163A74B,0x1AFB9284,0x17AEDAAC)


----------------------------------------
Loaded Modules
----------------------------------------

0x00400000 - 0x0047D000 c:\users\<myname>\desktop\network share\warcraft iii\war3.exe
0x005F0000 - 0x006D7000 C:\windows\system32\DDRAW.dll
0x032B0000 - 0x033C3000 C:\windows\system32\aticfx32.dll
0x10000000 - 0x10039000 C:\Program Files (x86)\Samsung\Easy Settings\WinCRT.dll
0x15000000 - 0x15061000 c:\users\<myname>\desktop\network share\warcraft iii\Storm.dll
0x21100000 - 0x2115F000 c:\users\<myname>\desktop\network share\warcraft iii\mss32.dll
0x22600000 - 0x22616000 c:\users\<myname>\desktop\network share\warcraft iii\redist\miles\Mssfast.m3d
0x22700000 - 0x22717000 c:\users\<myname>\desktop\network share\warcraft iii\redist\miles\Mssdolby.m3d
0x22C00000 - 0x22C18000 c:\users\<myname>\desktop\network share\warcraft iii\redist\miles\Msseax2.m3d
0x24600000 - 0x24611000 c:\users\<myname>\desktop\network share\warcraft iii\redist\miles\Reverb3.flt
0x26F00000 - 0x26F2A000 c:\users\<myname>\desktop\network share\warcraft iii\redist\miles\Mp3dec.asi
0x5C950000 - 0x5CFD4000 C:\windows\system32\atiumdva.dll
0x5CFE0000 - 0x5D659000 C:\windows\system32\atiumdag.dll
0x60000000 - 0x6005D000 c:\users\<myname>\desktop\network share\warcraft iii\ijl15.dll
0x605A0000 - 0x605C5000 C:\windows\system32\POWRPROF.dll
0x605D0000 - 0x60642000 C:\windows\system32\DSOUND.DLL
0x6BAA0000 - 0x6BAD6000 C:\windows\system32\AUDIOSES.DLL
0x6D030000 - 0x6D0F8000 C:\windows\system32\OPENGL32.dll
0x6D480000 - 0x6D585000 C:\windows\system32\d3d8.dll
0x6D5A0000 - 0x6D5BC000 C:\windows\system32\cryptnet.dll
0x6F000000 - 0x6FBB5000 c:\users\<myname>\desktop\network share\warcraft iii\Game.dll
0x70090000 - 0x7017B000 C:\windows\system32\dbghelp.dll
0x70820000 - 0x70915000 C:\windows\System32\PROPSYS.dll
0x70A80000 - 0x70A96000 C:\windows\system32\GPAPI.dll
0x70C50000 - 0x70C8D000 C:\windows\SysWOW64\bcryptprimitives.dll
0x70C90000 - 0x70CA7000 C:\windows\system32\bcrypt.dll
0x70CB0000 - 0x70CE8000 C:\windows\system32\ncrypt.dll
0x70E60000 - 0x70E66000 C:\windows\system32\SensApi.dll
0x70E90000 - 0x70E96000 C:\windows\system32\d3d8thk.dll
0x712C0000 - 0x712D3000 C:\windows\system32\dwmapi.dll
0x71740000 - 0x717C0000 C:\windows\system32\uxtheme.dll
0x71F40000 - 0x71F7B000 C:\windows\system32\rsaenh.dll
0x71F80000 - 0x71F96000 C:\windows\system32\CRYPTSP.dll
0x72B10000 - 0x72B49000 C:\windows\System32\MMDevApi.dll
0x72F80000 - 0x72FA0000 C:\Program Files (x86)\Common Files\Spigot\Search Settings\wth186.dll
0x73E40000 - 0x73E62000 C:\windows\system32\GLU32.dll
0x73F20000 - 0x73F3B000 C:\windows\system32\atiu9pag.dll
0x73F60000 - 0x73F66000 C:\windows\system32\DCIMAN32.dll
0x73FD0000 - 0x73FD7000 C:\windows\system32\avrt.dll
0x742E0000 - 0x742E5000 C:\windows\System32\wshtcpip.dll
0x742F0000 - 0x7432C000 C:\windows\system32\mswsock.dll
0x74750000 - 0x747EB000 C:\windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a\MSVCR80.dll
0x74960000 - 0x74981000 C:\windows\system32\ntmarta.dll
0x74C60000 - 0x74C92000 C:\windows\system32\WINMM.dll
0x74D50000 - 0x74DA1000 C:\windows\system32\WINSPOOL.DRV
0x74DB0000 - 0x74E34000 C:\windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18201_none_ec80f00e8593ece5\COMCTL32.dll
0x74E90000 - 0x74E97000 C:\windows\system32\WSOCK32.dll
0x74EC0000 - 0x74EC9000 C:\windows\system32\VERSION.dll
0x74F90000 - 0x74F9C000 C:\windows\syswow64\CRYPTBASE.dll
0x74FA0000 - 0x75000000 C:\windows\syswow64\SspiCli.dll
0x75000000 - 0x75005000 C:\windows\syswow64\PSAPI.DLL
0x75010000 - 0x75037000 C:\windows\syswow64\CFGMGR32.dll
0x75040000 - 0x75044000 C:\windows\syswow64\api-ms-win-downlevel-user32-l1-1-0.dll
0x75050000 - 0x75054000 C:\windows\syswow64\api-ms-win-downlevel-shlwapi-l1-1-0.dll
0x75060000 - 0x75217000 C:\windows\syswow64\WININET.dll
0x75220000 - 0x75419000 C:\windows\syswow64\iertutil.dll
0x75420000 - 0x75510000 C:\windows\syswow64\RPCRT4.dll
0x75510000 - 0x755BC000 C:\windows\syswow64\msvcrt.dll
0x755C0000 - 0x755C3000 C:\windows\syswow64\normaliz.DLL
0x755D0000 - 0x756D0000 C:\windows\syswow64\USER32.dll
0x756D0000 - 0x756DA000 C:\windows\syswow64\LPK.dll
0x75710000 - 0x7586C000 C:\windows\syswow64\ole32.dll
0x75870000 - 0x75990000 C:\windows\syswow64\CRYPT32.dll
0x75990000 - 0x75B2D000 C:\windows\syswow64\SETUPAPI.dll
0x75C70000 - 0x75CB5000 C:\windows\syswow64\WLDAP32.dll
0x75CF0000 - 0x75CF5000 C:\windows\syswow64\api-ms-win-downlevel-advapi32-l1-1-0.dll
0x75D00000 - 0x75E10000 C:\windows\syswow64\kernel32.dll
0x75E10000 - 0x75EDC000 C:\windows\syswow64\MSCTF.dll
0x75EE0000 - 0x75EEB000 C:\windows\syswow64\profapi.dll
0x75EF0000 - 0x76B3A000 C:\windows\syswow64\SHELL32.dll
0x76B40000 - 0x76B52000 C:\windows\syswow64\DEVOBJ.dll
0x76B60000 - 0x76BE3000 C:\windows\syswow64\CLBCatQ.DLL
0x76BF0000 - 0x76C6B000 C:\windows\syswow64\comdlg32.dll
0x76C70000 - 0x76C74000 C:\windows\syswow64\api-ms-win-downlevel-version-l1-1-0.dll
0x76C80000 - 0x76D10000 C:\windows\syswow64\GDI32.dll
0x76D10000 - 0x76D45000 C:\windows\syswow64\WS2_32.dll
0x76D50000 - 0x76DDF000 C:\windows\syswow64\OLEAUT32.dll
0x76DE0000 - 0x76E80000 C:\windows\syswow64\ADVAPI32.dll
0x76E80000 - 0x76E97000 C:\windows\syswow64\USERENV.dll
0x76EA0000 - 0x76F00000 C:\windows\syswow64\IMM32.dll
0x76F00000 - 0x76F9D000 C:\windows\syswow64\USP10.dll
0x76FA0000 - 0x76FB9000 C:\windows\SysWOW64\sechost.dll
0x76FC0000 - 0x77007000 C:\windows\syswow64\KERNELBASE.dll
0x77010000 - 0x7701C000 C:\windows\syswow64\MSASN1.dll
0x77020000 - 0x77026000 C:\windows\syswow64\NSI.dll
0x77030000 - 0x77087000 C:\windows\syswow64\SHLWAPI.dll
0x77550000 - 0x77553000 C:\windows\syswow64\api-ms-win-downlevel-normaliz-l1-1-0.dll
0x77580000 - 0x77700000 C:\windows\SysWOW64\ntdll.dll


----------------------------------------
Memory Dump
----------------------------------------

Code: 16 bytes starting at (EIP = 6F4C237F)

6F4C237F: 8B 52 0C 6A 00 6A 00 8D 4E 0C 51 57 8D 4E 04 51 .R.j.j..N.QW.N.Q


Stack: 1024 bytes starting at (ESP = 0018FA68)

* = addr ** *
0018FA60: DC 5A C1 14 B0 17 C0 14 F0 FA 18 00 BC FA 18 00 .Z..............
0018FA70: 3D 23 47 6F 00 00 00 00 4B A7 63 71 84 92 FB 1A =#Go....K.cq....
0018FA80: AC DA AE 17 94 29 1F 09 84 92 FB 1A E4 CD 76 74 .....)........vt
0018FA90: E0 5D 87 6F 0C FB 18 00 00 00 00 00 BC FA 18 00 .].o............
0018FAA0: BC FA 18 00 00 00 00 00 D0 FA 18 00 40 F6 82 6F [email protected]
0018FAB0: FF FF FF FF A0 25 47 6F 8B A7 63 71 00 00 00 00 .....%Go..cq....
0018FAC0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0018FAD0: 44 FB 18 00 98 F6 82 6F 00 00 00 00 04 39 04 6F D......o.....9.o
0018FAE0: F0 FA 18 00 EC FA 18 00 AC DA AE 17 0B D7 23 3C ..............#<
0018FAF0: 00 00 00 00 02 70 00 00 00 00 00 00 00 00 00 00 .....p..........
0018FB00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0018FB10: C8 38 04 6F 54 DA AF 17 43 40 94 43 AC DA AE 17 [email protected]....
0018FB20: D0 00 59 02 AC 3C 05 6F 84 92 FB 1A AC DA AE 17 ..Y..<.o........
0018FB30: B5 FA 05 6F E7 7D 47 6F A0 3D A8 6F 77 A6 63 71 ...o.}Go.=.ow.cq
0018FB40: 48 13 4F 19 E4 FB 18 00 28 F9 82 6F 00 00 00 00 H.O.....(..o....
0018FB50: 38 D5 46 6F AC DA AE 17 88 00 59 02 B4 E3 46 6F 8.Fo......Y...Fo
0018FB60: C8 00 59 02 88 00 59 02 43 40 94 43 61 E5 46 6F [email protected]
0018FB70: B8 00 0E 06 54 01 1D 09 6C FC 18 00 43 40 94 43 [email protected]
0018FB80: 78 FC 18 00 90 00 1C 09 DB E9 46 6F 8E 0C 47 6F x.........Fo..Go
0018FB90: 6C FC 18 00 B4 00 A4 14 94 29 1F 09 58 49 2F 6F l........)..XI/o
0018FBA0: BE 75 53 6F FD A6 62 6F 58 FC 18 00 87 A6 63 71 .uSo..boX.....cq
0018FBB0: 58 FC 18 00 BC 00 0F 08 05 00 00 00 00 00 00 00 X...............
0018FBC0: 00 00 00 00 42 00 00 00 B4 00 A4 14 F4 0B 42 14 ....B.........B.
0018FBD0: D4 2B 1F 09 D4 2B 1F 09 CA 00 05 40 00 00 00 00 .+...+.....@....
0018FBE0: 90 00 1C 09 70 FC 18 00 88 0A 84 6F 00 00 00 00 ....p......o....
0018FBF0: D0 A7 62 6F 92 00 09 40 58 FC 18 00 58 FC 18 00 [email protected]...
0018FC00: 80 07 97 6F A1 9A 62 6F 92 00 09 40 58 FC 18 00 ...o..bo...@X...
0018FC10: B8 00 0F 08 F7 78 53 6F 58 FC 18 00 03 00 00 00 .....xSoX.......
0018FC20: B0 00 0F 08 B8 00 0F 08 85 37 55 6F 58 FC 18 00 .........7UoX...
0018FC30: 03 A1 63 71 D0 FC 18 00 B0 00 0F 08 00 00 00 00 ..cq............
0018FC40: 20 01 AC 03 02 00 00 00 00 00 00 00 00 00 00 00 ...............
0018FC50: 00 00 00 00 0F 00 00 00 E4 80 95 6F 00 00 00 00 ...........o....
0018FC60: 92 00 09 40 00 00 00 00 00 00 00 00 0A D7 A3 3B ...@...........;
0018FC70: B8 FC 18 00 38 75 83 6F 00 00 00 00 13 39 55 6F ....8u.o.....9Uo
0018FC80: 19 00 00 00 48 01 C2 03 3D 25 63 6F A7 A1 63 71 ....H...=%co..cq
0018FC90: 88 00 AC 03 88 00 AC 03 3A 62 46 18 05 00 00 00 ........:bF.....
0018FCA0: 48 01 C2 03 E8 00 C2 03 98 00 AC 03 00 00 00 00 H...............
0018FCB0: 88 00 AC 03 01 00 00 00 78 FF 18 00 38 11 84 6F ........x...8..o
0018FCC0: 00 00 00 00 8B D7 62 6F D0 FC 18 00 90 C2 75 3C ......bo......u<
0018FCD0: 90 C2 75 3C 3A 62 46 18 7C 03 63 6F 9F 49 D1 75 ..u<:bF.|.co.I.u
0018FCE0: 00 00 00 6F 88 34 D1 75 22 12 D1 75 00 00 00 00 ...o.4.u"..u....
0018FCF0: 00 00 00 00 45 6E 67 69 6E 65 20 35 35 62 38 00 ....Engine 55b8.
0018FD00: 60 C6 3E 04 9F 49 D1 75 F2 F9 59 77 63 C4 FC 76 `.>..I.u..Ywc..v
0018FD10: 50 45 00 00 50 45 00 00 28 FD 18 00 08 14 D1 75 PE..PE..(......u
0018FD20: D9 F9 59 77 E2 0D FD 76 54 41 00 00 00 00 00 00 ..Yw...vTA......
0018FD30: 88 34 D1 75 DB A1 63 71 51 04 63 6F 01 00 00 00 .4.u..cqQ.co....
0018FD40: C4 98 00 6F 63 3A 5C 75 73 65 72 73 5C 62 61 73 ...oc:\users\bas
0018FD50: 20 77 65 73 73 65 6C 69 6E 6B 5C 64 65 73 6B 74 wesselink\deskt
0018FD60: 6F 70 5C 6E 65 74 77 6F 72 6B 20 73 68 61 72 65 op\network share
0018FD70: 5C 77 61 72 63 72 61 66 74 20 69 69 69 5C 4C 6F \warcraft iii\Lo
0018FD80: 67 73 00 65 78 65 00 00 50 FE 18 00 34 24 20 18 gs.exe..P...4$ .
0018FD90: 00 00 00 00 E8 79 51 00 A4 FD 18 00 50 98 00 6F .....yQ.....P..o
0018FDA0: 00 00 00 00 00 00 47 61 6D 65 4D 61 69 6E 00 00 ......GameMain..
0018FDB0: DD EA 01 01 EC FC 18 00 FF FF FF FF 78 FF 18 00 ............x...
0018FDC0: F5 71 5F 77 64 51 20 18 FE FF FF FF AA 38 5B 77 .q_wdQ ......8[w
0018FDD0: A2 34 5B 77 00 00 00 00 30 AD 51 00 00 00 00 6F .4[w....0.Q....o
0018FDE0: 20 FE 18 00 14 67 62 6F 70 FD 18 00 00 FE 18 00 ....gbop.......
0018FDF0: 78 FF 18 00 F5 71 5F 77 EC 25 20 18 FE FF FF FF x....q_w.% .....
0018FE00: 78 03 5B 77 02 02 5B 77 00 00 00 6F 3C FE 18 00 x.[w..[w...o<...
0018FE10: 00 00 00 00 50 FE 18 00 00 00 00 00 44 FE 18 00 ....P.......D...
0018FE20: 59 1E FD 76 44 FE 18 00 71 1E FD 76 00 00 00 6F Y..vD...q..v...o
0018FE30: 00 00 00 00 9F 49 D1 75 22 12 D1 75 08 00 09 00 .....I.u"..u....
0018FE40: 70 6B 45 00 88 34 D1 00 73 A0 63 71 19 14 40 00 pkE..4..s.cq..@.
0018FE50: 00 00 00 6F 10 0E 47 00 2D 37 4F 00 88 FF 18 00 ...o..G.-7O.....
0018FE60: 00 00 00 00 10 00 5F 00 00 00 00 00 00 40 09 00 ......_......@..


------------------------------------------------------------------------------



I have looked through the map several times and I'm pretty sure I plugged all leaks in triggers that are used more than once. I'm not 100% sure about the following tho:
  • Wind Tower
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Attacking unit)) Equal to |CFF00008BWind Tower|r
          • (Unit-type of (Attacking unit)) Equal to |CFF00008BAdvanced Wind Tower|r
          • (Unit-type of (Attacking unit)) Equal to |CFF00008BExcellent Wind Tower|r
          • (Unit-type of (Attacking unit)) Equal to |CFFE0E0E0Expert Wind Tower|r
          • (Unit-type of (Attacking unit)) Equal to |CFFE0E0E0Epic Wind Tower|r
          • (Unit-type of (Attacking unit)) Equal to |CFFDAA520Thunderstorm Tower|r
    • Actions
      • Unit - Order (Attacking unit) to Orc Far Seer - Chain Lightning (Attacked unit)
Would this leak? and if yes, how do you fix it? I couldn't find any good information about it.

Thanks in advance!
 
Last edited:

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,259
Would this leak? and if yes, how do you fix it? I couldn't find any good information about it.
It should not as no objects are created.

The error points towards a null pointer de-reference of a struct/class member. These are usually the case for accesses around the 0 address range.

Is there anything particular about that wave? Maybe towers people et access to.

The fact you have a 75-85 wave TD points towards a very long session. Are you using any kind of damage detection system? I know of a crash similar to this as a result of badly written damage detection systems (specifically those that are GUI) leaking events which eventually cause the game to crash after enough units enter the map (enough events are made).
 
Level 1
Joined
Jul 20, 2014
Messages
4
It should not as no objects are created.

The error points towards a null pointer de-reference of a struct/class member. These are usually the case for accesses around the 0 address range.

Is there anything particular about that wave? Maybe towers people et access to.

The fact you have a 75-85 wave TD points towards a very long session. Are you using any kind of damage detection system? I know of a crash similar to this as a result of badly written damage detection systems (specifically those that are GUI) leaking events which eventually cause the game to crash after enough units enter the map (enough events are made).

75 is the start of reviver waves (Revive spell is based on resurrection) which includes a trigger that forces them to walk towards the end portal after they are damaged (After their revive they tended to walk all over the place, so I had to put that in), but the point variable in that trigger is destroyed, and I can't seem to reproduce it own my own even with >5000 spawns of a reviver wave.

The only kind of damage detection in the map is the trigger that detects if units die and adds kills to the owner of the killing unit. Wave 75-85 is after ~40-50 minutes of gameplay.
 
Level 14
Joined
Jun 27, 2008
Messages
1,325
Why do people always think leaks are the reason for lags and crashes? It seems like everyone is scared of leaks but nobody knows what leaks really are <.<

Most crashes are the results of infinity/feedback loops, leaks usually cause heavy lag long before they crash.
 
Status
Not open for further replies.
Top