• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Trigger] Fatal Error Problem!!!!!!!!!!

Status
Not open for further replies.
Level 4
Joined
Dec 4, 2010
Messages
63
Can Help me on this error, This error comes when i killed a unit in my map.... please help about this..,,,,

This application has encountered a critical error:

FATAL ERROR!

Program: C:\Program Files\dota\War3.exe
Exception: 0xC0000005 (ACCESS_VIOLATION) at 001B:6F431801

The instruction at '0x6F431801' referenced memory at '0x00000020'.
The memory could not be 'read'.


War3Build: 1.24.1.6374
Played Maps\Test\New Folder\Mini X Defence v2.0c~1.w3x
Player 0 basekillerxplayeroftheroundhahahbyeweakkacjspartan3000warrior Race Human StartLoc 0
Player 1 Race Orc StartLoc 1
Player 2 Race Undead StartLoc 2
Player 3 Race NightElf StartLoc 3
Player 4 Race Human StartLoc 4
Player 5 Allied Race Orc StartLoc 5
Player 6 Race Undead StartLoc 6
Player 7 Race NightElf StartLoc 7
Player 8 Enemy Race Human StartLoc 8
Player 9 <Unused> Race NightElf StartLoc -1
Player 10 <Unused> Race Undead StartLoc -1
Player 11 <Unused> Race Human StartLoc -1
------------------------------------------------------------------------------

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

EAX=045B27B4 EBX=045B27B4 ECX=045B27B4 EDX=00000000 ESI=00000010
EDI=0012F1B4 EBP=00000010 ESP=0012F138 EIP=6F431801 FLG=00010202
CS =001B DS =0023 ES =0023 SS =0023 FS =003B GS =0000


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

Address Frame Logical addr Module

6F431801 00000010 0001:00430801 C:\Program Files\dota\Game.dll

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

6F431801 Game.dll <unknown symbol>+0 (0x00000000,0x00000000,0x00000000,0x00000000)


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

0x00400000 - 0x0048F000 War3.exe
0x0FFD0000 - 0x0FFF8000 rsaenh.dll
0x15000000 - 0x15061000 Storm.dll
0x20000000 - 0x202C5000 xpsp2res.dll
0x21100000 - 0x2115F000 mss32.dll
0x22600000 - 0x22616000 Mssfast.m3d
0x22700000 - 0x22717000 Mssdolby.m3d
0x22C00000 - 0x22C18000 Msseax2.m3d
0x24600000 - 0x24611000 Reverb3.flt
0x26F00000 - 0x26F2A000 Mp3dec.asi
0x4D4F0000 - 0x4D548000 WINHTTP.dll
0x59A60000 - 0x59B01000 dbghelp.dll
0x5AD70000 - 0x5ADA8000 uxtheme.dll
0x5B860000 - 0x5B8B4000 netapi32.dll
0x5D090000 - 0x5D127000 COMCTL32.dll
0x5ED00000 - 0x5EDCC000 OPENGL32.dll
0x60000000 - 0x6005D000 ijl15.dll
0x662B0000 - 0x66308000 hnetcfg.dll
0x68B20000 - 0x68B40000 GLU32.dll
0x6D990000 - 0x6D996000 d3d8thk.dll
0x6D9A0000 - 0x6DAC8000 d3d8.dll
0x6F000000 - 0x6FBD4000 Game.dll
0x71A50000 - 0x71A8F000 mswsock.dll
0x71A90000 - 0x71A98000 wshtcpip.dll
0x71AA0000 - 0x71AA8000 WS2HELP.dll
0x71AB0000 - 0x71AC7000 WS2_32.dll
0x71AD0000 - 0x71AD9000 WSOCK32.dll
0x71BF0000 - 0x71C03000 SAMLIB.dll
0x722B0000 - 0x722B5000 SensApi.dll
0x72D10000 - 0x72D18000 msacm32.drv
0x72D20000 - 0x72D29000 wdmaud.drv
0x73760000 - 0x737A9000 DDRAW.dll
0x73BC0000 - 0x73BC6000 DCIMAN32.dll
0x73EE0000 - 0x73EE4000 KsUser.dll
0x73F10000 - 0x73F6C000 DSOUND.DLL
0x75E60000 - 0x75E73000 cryptnet.dll
0x76390000 - 0x763AD000 IMM32.dll
0x763B0000 - 0x763F9000 comdlg32.dll
0x769C0000 - 0x76A73000 userenv.dll
0x76B40000 - 0x76B6D000 WINMM.dll
0x76C30000 - 0x76C5E000 WINTRUST.dll
0x76C90000 - 0x76CB8000 IMAGEHLP.dll
0x76E80000 - 0x76E8E000 rtutils.dll
0x76E90000 - 0x76EA2000 rasman.dll
0x76EB0000 - 0x76EDF000 TAPI32.dll
0x76EE0000 - 0x76F1C000 RASAPI32.DLL
0x76F20000 - 0x76F47000 DNSAPI.dll
0x76F60000 - 0x76F8C000 WLDAP32.dll
0x76FC0000 - 0x76FC6000 rasadhlp.dll
0x76FD0000 - 0x7704F000 CLBCATQ.DLL
0x77050000 - 0x77115000 COMRes.dll
0x77120000 - 0x771AC000 OLEAUT32.dll
0x771B0000 - 0x77256000 WININET.dll
0x773D0000 - 0x774D2000 comctl32.dll
0x774E0000 - 0x7761C000 ole32.dll
0x77690000 - 0x776B1000 NTMARTA.DLL
0x77A80000 - 0x77B14000 CRYPT32.dll
0x77B20000 - 0x77B32000 MSASN1.dll
0x77BD0000 - 0x77BD7000 midimap.dll
0x77BE0000 - 0x77BF5000 MSACM32.dll
0x77C00000 - 0x77C08000 VERSION.dll
0x77C10000 - 0x77C68000 msvcrt.dll
0x77D40000 - 0x77DD0000 USER32.dll
0x77DD0000 - 0x77E6B000 ADVAPI32.dll
0x77E70000 - 0x77F01000 RPCRT4.dll
0x77F10000 - 0x77F56000 GDI32.dll
0x77F60000 - 0x77FD6000 SHLWAPI.dll
0x77FE0000 - 0x77FF1000 Secur32.dll
0x78130000 - 0x781CB000 MSVCR80.dll
0x7C800000 - 0x7C8F4000 kernel32.dll
0x7C900000 - 0x7C9B0000 ntdll.dll
0x7C9C0000 - 0x7D1D4000 SHELL32.dll


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

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

6F431801: 8B 75 10 8B 4D 0C 8B D6 E8 52 EF C0 FF 85 C0 0F .u..M....R......


Stack: 1024 bytes starting at (ESP = 0012F138)

* = addr ** *
0012F130: 2C D3 CF 00 00 00 00 00 10 00 00 00 0C F2 12 00 ,...............
0012F140: FF FF FF FF D8 C5 3B 6F 10 00 00 00 00 00 00 00 ......;o........
0012F150: FE 94 95 6F 58 DC 45 6F FF FF FF FF 44 DC 45 6F ...oX.Eo....D.Eo
0012F160: FF FF FF FF 3C DC 45 6F E8 E2 C9 05 38 29 46 10 ....<.Eo....8)F.
0012F170: 08 00 00 00 00 00 B1 05 00 04 00 00 D4 F1 12 00 ................
0012F180: 08 04 00 00 28 00 00 00 76 C2 45 6F 38 29 46 10 ....(...v.Eo8)F.
0012F190: C0 F1 12 00 33 AB 45 6F 7E D1 05 27 00 00 00 00 ....3.Eo~..'....
0012F1A0: C0 F1 12 00 E8 F1 12 00 08 0E 84 6F 00 00 00 00 ...........o....
0012F1B0: FF FF FF FF E0 01 D5 05 B8 38 45 6F 00 00 00 00 .........8Eo....
0012F1C0: 68 59 A9 6F FE FF FF FF 02 00 00 00 E0 01 D5 05 hY.o............
0012F1D0: D8 5F CB 05 CA 9F 37 60 A7 4C 45 6F 78 31 D6 05 ._....7`.LEox1..
0012F1E0: 00 00 00 00 00 00 00 00 50 01 D5 05 04 00 00 00 ........P.......
0012F1F0: B0 F1 12 00 94 90 66 01 50 01 D5 05 04 00 00 00 ......f.P.......
0012F200: 01 00 00 00 B0 C5 3B 6F EE D2 05 27 04 00 00 00 ......;o...'....
0012F210: 2C FA 45 6F E8 E2 C9 05 FE D2 05 27 00 00 00 00 ,.Eo.......'....
0012F220: 38 29 46 10 00 00 00 00 5C 29 46 10 00 00 B1 05 8)F.....\)F.....
0012F230: 00 04 00 00 8C F2 12 00 08 04 00 00 0E 00 00 00 ................
0012F240: 00 00 00 00 00 00 00 00 00 00 00 00 48 5D 02 15 ............H]..
0012F250: 00 04 00 00 E2 5D 02 15 FE FF FF FF 76 C2 45 6F .....]......v.Eo
0012F260: 38 29 46 10 94 F2 12 00 33 AB 45 6F 92 D2 05 27 8)F.....3.Eo...'
0012F270: 00 00 00 00 94 F2 12 00 BC F2 12 00 08 0E 84 6F ...............o
0012F280: 00 00 00 00 C2 F2 45 6F 6E D2 05 27 00 00 00 00 ......Eon..'....
0012F290: 38 29 46 10 00 04 00 00 00 00 00 00 00 00 00 00 8)F.............
0012F2A0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 ................
0012F2B0: 01 00 00 00 F4 F3 12 00 88 10 84 6F FF FF FF FF ...........o....
0012F2C0: 93 06 46 6F 90 B8 80 0B 6C F3 12 00 E0 93 04 00 ..Fo....l.......
0012F2D0: 00 00 00 00 D4 01 00 00 38 29 46 10 CC 00 90 04 ........8)F.....
0012F2E0: 6C F3 12 00 84 C1 44 6F 90 B8 80 0B 00 00 00 00 l.....Do........
0012F2F0: 6C F3 12 00 E0 93 04 00 00 00 00 00 00 00 00 00 l...............
0012F300: C0 00 90 04 68 F3 12 00 16 8E 3A 6F 00 00 00 00 ....h.....:eek:....
0012F310: 6C F3 12 00 E0 93 04 00 00 00 00 00 00 00 00 00 l...............
0012F320: 01 00 00 00 B4 49 91 04 01 00 00 00 00 00 00 00 .....I..........
0012F330: 44 B3 3B 6F D4 01 00 00 6C F3 12 00 68 F3 12 00 D.;o....l...h...
0012F340: 00 00 00 00 00 00 00 00 00 00 00 00 04 17 3C 6F ..............<o
0012F350: 6C F3 12 00 68 F3 12 00 00 00 00 00 00 00 00 00 l...h...........
0012F360: 00 00 00 00 A0 0D 81 0F 02 00 00 00 00 00 00 00 ................
0012F370: BA 86 44 6F 38 9B 94 04 38 9B 94 04 4C 5A 5D 04 ..Do8...8...LZ].
0012F380: 9C 00 9A 04 AB 8B 44 6F 38 9B 94 04 38 9B 94 04 ......Do8...8...
0012F390: 4C 5A 5D 04 9C 00 9A 04 6A 8D 44 6F B4 27 5B 04 LZ].....j.Do.'[.
0012F3A0: E6 8E 44 6F 24 EC 84 0F 24 EC 84 0F 1C 58 1E 03 ..Do$...$....X..
0012F3B0: 3C 0E C0 00 ED AD 62 6F 90 00 5A 10 22 D3 05 27 <.....bo..Z."..'
0012F3C0: 9C 00 9A 04 4C 5A 5D 04 90 00 5A 10 4C 5A 5D 04 ....LZ]...Z.LZ].
0012F3D0: 00 00 00 00 02 00 00 00 3C 0E C0 00 E4 F3 12 00 ........<.......
0012F3E0: 24 EC 84 0F 24 EC 84 0F 30 00 00 00 00 00 00 00 $...$...0.......
0012F3F0: 00 00 00 00 88 F4 12 00 48 32 85 6F 00 00 00 00 ........H2.o....
0012F400: C0 AE 62 6F 14 02 08 00 90 00 5A 10 9C 00 9A 04 ..bo......Z.....
0012F410: C4 1F 96 6F 91 A1 62 6F 14 02 08 00 90 00 5A 10 ...o..bo......Z.
0012F420: FC 2B 5B 04 6D 7D 43 6F 90 00 5A 10 BC 22 1F 03 .+[.m}Co..Z.."..
0012F430: 14 EC 84 0F 14 EC 84 0F 94 02 1E 03 B4 27 5B 04 .............'[.
0012F440: 01 00 00 00 7C 5B 7B 04 ED AD 62 6F 90 00 5A 10 ....|[{...bo..Z.
0012F450: B6 D4 05 27 B4 27 5B 04 FC 2B 5B 04 9C 00 9A 04 ...'.'[..+[.....
0012F460: FC 2B 5B 04 01 00 00 00 11 00 00 00 BC 22 1F 03 .+[.........."..
0012F470: B4 E8 84 0F C4 08 20 03 C4 08 20 03 88 00 78 01 ...... ... ...x.
0012F480: 00 00 00 00 64 63 73 77 DC F4 12 00 48 32 85 6F ....dcsw....H2.o
0012F490: 00 00 00 00 C0 AE 62 6F 14 02 08 00 90 00 5A 10 ......bo......Z.
0012F4A0: B4 27 5B 04 14 0B 96 6F 91 A1 62 6F 14 02 08 00 .'[....o..bo....
0012F4B0: 90 00 5A 10 90 00 5A 10 C4 77 41 6F 90 00 5A 10 ..Z...Z..wAo..Z.
0012F4C0: 26 D4 05 27 FC 2B 5B 04 7C 5B 7B 04 D0 70 7B 04 &..'.+[.|[{..p{.
0012F4D0: FF FF FF FF 90 00 5A 10 90 00 5A 10 38 F5 12 00 ......Z...Z.8...
0012F4E0: 79 BA 83 6F 01 00 00 00 99 D6 41 6F 14 0D 10 00 y..o......Ao....
0012F4F0: 9C 00 9A 04 1A D4 05 27 7C 5B 7B 04 7C 5B 7B 04 .......'|[{.|[{.
0012F500: 14 87 1E 03 9C 00 9A 04 64 64 75 70 6C 67 61 2B ........dduplga+
0012F510: 64 64 75 70 00 00 00 00 74 0A 55 04 D8 D9 AC 6F ddup....t.U....o
0012F520: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0012F530: FF FF FF FF FF FF FF FF 94 F5 12 00 88 C8 83 6F ...............o

If i fix this problem im ready to released my map.. i wish.
 
Level 5
Joined
Nov 30, 2010
Messages
184
Wow... Are you using Jass to program the triggers? This looks like the error message when a Jass function was keyed in wrongly.

Give those who has helped you some rep points ^^
 
Level 18
Joined
Jan 21, 2006
Messages
2,552
Yea it sounds like you're performing some sort of illegal action in your code. This most commonly happens when you recursively trigger events; for example if you've got an event that triggers when a unit is dealt damage and upon that trigger-event you deal more damage, you're going to get a fatal error similar to the one above.

You said that it happens when a unit dies, and since death events don't tend to be recursive I think you may have something else at fault here. Either way, do what wyrmlord has suggested that's the fastest way to find where the error is - from there we should be able to easily debug.

Just reading through your error message, I came across a file-path: "C:\Program Files\dota\Game.dll" - what the hell is this Game.dll file doing in a folder named dota?
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,217
I can tell you that for some reason, you are getting WC3 to generate illegal instructions. it is referencing an address outside of the allocated virtual memory space (at address 20 in this case) which is illegal (for security). How this address is computed I do not know but it must be somthing curropted with the virtal memory block and address offset. Looking at the large value loaded into one of the registers, it may be possible that some form of infinite loop is the cause (misses an exit point then continues until an invalid value).

I advise disabling all on death triggers to see if it helps (if so then turn them on 1 by 1 until the problem source is found). If it did not help then you must have given some form of invalid object data in the object editor. If that did not help, then try changing the unit model (curropted model animation may be cause).
 
Level 4
Joined
Dec 4, 2010
Messages
63
Yea it sounds like you're performing some sort of illegal action in your code. This most commonly happens when you recursively trigger events; for example if you've got an event that triggers when a unit is dealt damage and upon that trigger-event you deal more damage, you're going to get a fatal error similar to the one above.

You said that it happens when a unit dies, and since death events don't tend to be recursive I think you may have something else at fault here. Either way, do what wyrmlord has suggested that's the fastest way to find where the error is - from there we should be able to easily debug.

Just reading through your error message, I came across a file-path: "C:\Program Files\dota\Game.dll" - what the hell is this Game.dll file doing in a folder named dota?

Im just rename it "dota" to identify fast.. anyway.

the best way is (First i checked all "When Unit Dies" titled triggers and dissable it one by one, and so on i found a wrong sequence on my trigger and i try to dissable it and error ends!!.......).

Thanks to all of your replies!! problem solved.. :thumbs_up:
 
Status
Not open for further replies.
Top