• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[vJASS] Critical Error on close

Status
Not open for further replies.

Kazeon

Hosted Project: EC
Level 33
Joined
Oct 12, 2011
Messages
3,449
This error message sometimes popped out right after I closed my Warcraft III, specifically after I played my map, Glideon.
error.jpg
(I never understand these kind of error message >.>)
It start to happens lately, not sure since when exactly. What can I have possibly did wrong? Is it in the code or somewhere else? As fyi, I don't experience any desync or any strange behavior in the game. :/

Thanks for any response.
 

Kazeon

Hosted Project: EC
Level 33
Joined
Oct 12, 2011
Messages
3,449
I get this:

Dump Summary
------------
Dump File: 2015-03-30 22.50.49 Crash.dmp : D:\Warcraft III\Errors\2015-03-30 22.50.49 Crash.dmp
Last Write Time: 3/30/2015 10:50:49 PM
Process Name: war3.exe : D:\Warcraft III\war3.exe
Process Architecture: x86
Exception Code: 0xC0000005
Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Heap Information: Not Present

System Information
------------------
OS Version: 6.1.7600
CLR Version(s):

Modules
-------
Module Name Module Path Module Version
----------- ----------- --------------
war3.exe D:\Warcraft III\war3.exe 1.26.0.6401
ntdll.dll C:\Windows\SysWOW64\ntdll.dll 6.1.7600.16385
kernel32.dll C:\Windows\SysWOW64\kernel32.dll 6.1.7600.16385
KERNELBASE.dll C:\Windows\SysWOW64\KERNELBASE.dll 6.1.7600.16385
comctl32.dll C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_ebf82fc36c758ad5\comctl32.dll 5.82.7600.16385
advapi32.dll C:\Windows\SysWOW64\advapi32.dll 6.1.7600.16385
msvcrt.dll C:\Windows\SysWOW64\msvcrt.dll 7.0.7600.16385
sechost.dll C:\Windows\SysWOW64\sechost.dll 6.1.7600.16385
rpcrt4.dll C:\Windows\SysWOW64\rpcrt4.dll 6.1.7600.16385
sspicli.dll C:\Windows\SysWOW64\sspicli.dll 6.1.7600.16385
CRYPTBASE.dll C:\Windows\SysWOW64\CRYPTBASE.dll 6.1.7600.16385
gdi32.dll C:\Windows\SysWOW64\gdi32.dll 6.1.7600.16385
user32.dll C:\Windows\SysWOW64\user32.dll 6.1.7600.16385
lpk.dll C:\Windows\SysWOW64\lpk.dll 6.1.7600.16385
usp10.dll C:\Windows\SysWOW64\usp10.dll 1.626.7600.16385
winmm.dll C:\Windows\System32\winmm.dll 6.1.7600.16385
comdlg32.dll C:\Windows\SysWOW64\comdlg32.dll 6.1.7600.16385
shlwapi.dll C:\Windows\SysWOW64\shlwapi.dll 6.1.7600.16385
shell32.dll C:\Windows\SysWOW64\shell32.dll 6.1.7600.16385
Storm.dll D:\Warcraft III\Storm.dll 1.0.9.0
msvcr80.dll C:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a\msvcr80.dll 8.0.50727.6195
version.dll C:\Windows\System32\version.dll 6.1.7600.16385
wininet.dll C:\Windows\SysWOW64\wininet.dll 8.0.7600.16385
normaliz.dll C:\Windows\SysWOW64\normaliz.dll 6.1.7600.16385
urlmon.dll C:\Windows\SysWOW64\urlmon.dll 8.0.7600.16385
ole32.dll C:\Windows\SysWOW64\ole32.dll 6.1.7600.16385
oleaut32.dll C:\Windows\SysWOW64\oleaut32.dll 6.1.7600.16385
crypt32.dll C:\Windows\SysWOW64\crypt32.dll 6.1.7600.16385
msasn1.dll C:\Windows\SysWOW64\msasn1.dll 6.1.7600.16385
iertutil.dll C:\Windows\SysWOW64\iertutil.dll 8.0.7600.16385
Mss32.dll D:\Warcraft III\Mss32.dll 3.0.0.0
wsock32.dll C:\Windows\System32\wsock32.dll 6.1.7600.16385
ws2_32.dll C:\Windows\SysWOW64\ws2_32.dll 6.1.7600.16385
nsi.dll C:\Windows\SysWOW64\nsi.dll 6.1.7600.16385
imm32.dll C:\Windows\SysWOW64\imm32.dll 6.1.7600.16385
msctf.dll C:\Windows\SysWOW64\msctf.dll 6.1.7600.16385
apphelp.dll C:\Windows\System32\apphelp.dll 6.1.7600.16385
AcLayers.dll C:\Windows\AppPatch\AcLayers.dll 6.1.7600.16385
userenv.dll C:\Windows\System32\userenv.dll 6.1.7600.16385
profapi.dll C:\Windows\System32\profapi.dll 6.1.7600.16385
winspool.drv C:\Windows\System32\winspool.drv 6.1.7600.16385
mpr.dll C:\Windows\System32\mpr.dll 6.1.7600.16385
nvinit.dll C:\Windows\SysWOW64\nvinit.dll 8.17.12.8564
uxtheme.dll C:\Windows\System32\uxtheme.dll 6.1.7600.16385
clbcatq.dll C:\Windows\SysWOW64\clbcatq.dll 2001.12.8530.16385
game.dll D:\Warcraft III\game.dll 1.26.0.6401
ijl15.dll D:\Warcraft III\ijl15.dll 1.5.4.36
opengl32.dll C:\Windows\System32\opengl32.dll 6.1.7600.16385
glu32.dll C:\Windows\System32\glu32.dll 6.1.7600.16385
ddraw.dll C:\Windows\System32\ddraw.dll 6.1.7600.16385
dciman32.dll C:\Windows\System32\dciman32.dll 6.1.7600.16385
setupapi.dll C:\Windows\SysWOW64\setupapi.dll 6.1.7600.16385
cfgmgr32.dll C:\Windows\SysWOW64\cfgmgr32.dll 6.1.7600.16385
devobj.dll C:\Windows\SysWOW64\devobj.dll 6.1.7600.16385
dwmapi.dll C:\Windows\System32\dwmapi.dll 6.1.7600.16385
ntmarta.dll C:\Windows\System32\ntmarta.dll 6.1.7600.16385
Wldap32.dll C:\Windows\SysWOW64\Wldap32.dll 6.1.7600.16385
cryptsp.dll C:\Windows\System32\cryptsp.dll 6.1.7600.16385
rsaenh.dll C:\Windows\System32\rsaenh.dll 6.1.7600.16385
bcrypt.dll C:\Windows\System32\bcrypt.dll 6.1.7600.16385
bcryptprimitives.dll C:\Windows\SysWOW64\bcryptprimitives.dll 6.1.7600.16385
ncrypt.dll C:\Windows\System32\ncrypt.dll 6.1.7600.16385
gpapi.dll C:\Windows\System32\gpapi.dll 6.1.7600.16385
cryptnet.dll C:\Windows\System32\cryptnet.dll 6.1.7600.16385
SensApi.dll C:\Windows\System32\SensApi.dll 6.1.7600.16385
cabinet.dll C:\Windows\System32\cabinet.dll 6.1.7600.16385
devrtl.dll C:\Windows\System32\devrtl.dll 6.1.7600.16385
d3d8.dll C:\Windows\System32\d3d8.dll 6.1.7600.16385
d3d8thk.dll C:\Windows\System32\d3d8thk.dll 6.1.7600.16385
igdumd32.dll C:\Windows\System32\igdumd32.dll 9.17.10.2843
Mp3dec.asi D:\Warcraft III\redist\miles\Mp3dec.asi 3.0.0.0
Mssdolby.m3d D:\Warcraft III\redist\miles\Mssdolby.m3d 3.0.0.0
Msseax2.m3d D:\Warcraft III\redist\miles\Msseax2.m3d 3.0.0.0
Mssfast.m3d D:\Warcraft III\redist\miles\Mssfast.m3d 3.0.0.0
Reverb3.flt D:\Warcraft III\redist\miles\Reverb3.flt 3.0.0.0
dsound.dll C:\Windows\System32\dsound.dll 6.1.7600.16385
powrprof.dll C:\Windows\System32\powrprof.dll 6.1.7600.16385
MMDevAPI.dll C:\Windows\System32\MMDevAPI.dll 6.1.7600.16385
propsys.dll C:\Windows\System32\propsys.dll 7.0.7600.16385
AudioSes.dll C:\Windows\System32\AudioSes.dll 6.1.7600.16385
avrt.dll C:\Windows\System32\avrt.dll 6.1.7600.16385
mswsock.dll C:\Windows\System32\mswsock.dll 6.1.7600.16385
dbghelp.dll C:\Windows\System32\dbghelp.dll 6.1.7600.16385
 

Kazeon

Hosted Project: EC
Level 33
Joined
Oct 12, 2011
Messages
3,449
Alright

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

Exe: D:\Warcraft III\War3.exe
Time: Mar 30, 2015 10:50:49.201 PM
User: user
Computer: USER-PC
------------------------------------------------------------------------------

This application has encountered a critical error:

FATAL ERROR!

Program: D:\Warcraft III\War3.exe
Exception: 0xC0000005 (ACCESS_VIOLATION) at 0023:6F481EA0

The instruction at '0x6F481EA0' referenced memory at '0x00E5FBE3'.
The memory could not be 'read'.


War3Build: 1.26.0.6401
Played Maps\Test\WorldEditTestMap.w3x
Player 0 Dalvengyr Race Human StartLoc 0
Player 1 Player 2 Race Human StartLoc 1
Player 2 Player 3 Race Human StartLoc 2
Player 3 Player 4 Race Human StartLoc 3
Player 4 Player 5 Race Human StartLoc 4
Player 5 Player 6 Race Human StartLoc 5
Player 6 Player 7 Race Human StartLoc -1
Player 7 Player 8 Race Undead StartLoc -1
Player 8 Player 9 Race Human StartLoc -1
Player 9 Player 10 Race Human StartLoc -1
Player 10 Player 11 Race NightElf StartLoc -1
Player 11 Player 12 Race Undead StartLoc -1
------------------------------------------------------------------------------

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

EAX=19691C1C EBX=00000000 ECX=05870690 EDX=1968DFBC ESI=00E5FBE3
EDI=05870690 EBP=00000000 ESP=0018FBC4 EIP=6F481EA0 FLG=00210202
CS =0023 DS =002B ES =002B SS =002B FS =0053 GS =002B


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

Address Frame Logical addr Module

6F481EA0 00000000 0001:00480EA0 D:\Warcraft III\Game.dll

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

6F481EA0 Game.dll GameMain+4687440 (0x00000000,0x00000000,0x00000000,0x00000000)


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

0x00400000 - 0x0047D000 D:\Warcraft III\War3.exe
0x15000000 - 0x15061000 D:\Warcraft III\Storm.dll
0x21100000 - 0x2115F000 D:\Warcraft III\mss32.dll
0x22600000 - 0x22616000 D:\Warcraft III\redist\miles\Mssfast.m3d
0x22700000 - 0x22717000 D:\Warcraft III\redist\miles\Mssdolby.m3d
0x22C00000 - 0x22C18000 D:\Warcraft III\redist\miles\Msseax2.m3d
0x24600000 - 0x24611000 D:\Warcraft III\redist\miles\Reverb3.flt
0x26F00000 - 0x26F2A000 D:\Warcraft III\redist\miles\Mp3dec.asi
0x60000000 - 0x6005D000 D:\Warcraft III\ijl15.dll
0x63220000 - 0x6325D000 C:\Windows\SysWOW64\bcryptprimitives.dll
0x66C50000 - 0x66D3B000 C:\Windows\system32\dbghelp.dll
0x67B50000 - 0x685EA000 C:\Windows\system32\igdumd32.dll
0x699D0000 - 0x69A02000 C:\Windows\system32\WINMM.dll
0x6B0A0000 - 0x6B0BC000 C:\Windows\system32\cryptnet.dll
0x6B1C0000 - 0x6B1D6000 C:\Windows\system32\GPAPI.dll
0x6B300000 - 0x6B3F5000 C:\Windows\System32\PROPSYS.dll
0x6F000000 - 0x6FBB5000 D:\Warcraft III\Game.dll
0x71FA0000 - 0x71FDC000 C:\Windows\system32\mswsock.dll
0x71FF0000 - 0x72003000 C:\Windows\system32\dwmapi.dll
0x72010000 - 0x72090000 C:\Windows\system32\uxtheme.dll
0x72320000 - 0x72356000 C:\Windows\system32\AUDIOSES.DLL
0x72360000 - 0x72399000 C:\Windows\System32\MMDevApi.dll
0x723A0000 - 0x72412000 C:\Windows\system32\DSOUND.DLL
0x72420000 - 0x72525000 C:\Windows\system32\d3d8.dll
0x72530000 - 0x725F8000 C:\Windows\system32\OPENGL32.dll
0x72690000 - 0x726CB000 C:\Windows\system32\rsaenh.dll
0x72700000 - 0x72716000 C:\Windows\system32\CRYPTSP.dll
0x732F0000 - 0x732FB000 C:\Windows\system32\profapi.dll
0x73300000 - 0x73317000 C:\Windows\system32\USERENV.dll
0x73320000 - 0x733BB000 C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a\MSVCR80.dll
0x73460000 - 0x73472000 C:\Windows\system32\MPR.dll
0x73480000 - 0x734B8000 C:\Windows\system32\ncrypt.dll
0x73530000 - 0x73547000 C:\Windows\system32\bcrypt.dll
0x73660000 - 0x73666000 C:\Windows\system32\SensApi.dll
0x736A0000 - 0x73787000 C:\Windows\system32\DDRAW.dll
0x73790000 - 0x7381C000 C:\Windows\AppPatch\AcLayers.DLL
0x73830000 - 0x73852000 C:\Windows\system32\GLU32.dll
0x73860000 - 0x73875000 C:\Windows\system32\Cabinet.dll
0x73880000 - 0x73886000 C:\Windows\system32\DCIMAN32.dll
0x738A0000 - 0x738A7000 C:\Windows\system32\avrt.dll
0x73AB0000 - 0x73AD5000 C:\Windows\system32\POWRPROF.dll
0x74540000 - 0x74547000 C:\Windows\system32\WSOCK32.dll
0x74550000 - 0x7459B000 C:\Windows\system32\apphelp.dll
0x74690000 - 0x74696000 C:\Windows\system32\d3d8thk.dll
0x75200000 - 0x7520E000 C:\Windows\system32\DEVRTL.dll
0x75210000 - 0x75231000 C:\Windows\system32\ntmarta.dll
0x75240000 - 0x75276000 C:\Windows\SysWOW64\nvinit.dll
0x75280000 - 0x752D1000 C:\Windows\system32\WINSPOOL.DRV
0x752E0000 - 0x752E9000 C:\Windows\system32\VERSION.dll
0x753B0000 - 0x753BC000 C:\Windows\syswow64\CRYPTBASE.dll
0x753C0000 - 0x75420000 C:\Windows\syswow64\SspiCli.dll
0x75420000 - 0x75465000 C:\Windows\syswow64\WLDAP32.dll
0x75470000 - 0x754C7000 C:\Windows\syswow64\SHLWAPI.dll
0x754D0000 - 0x7555F000 C:\Windows\syswow64\OLEAUT32.dll
0x75560000 - 0x75566000 C:\Windows\syswow64\NSI.dll
0x755A0000 - 0x75799000 C:\Windows\syswow64\iertutil.dll
0x757A0000 - 0x757D5000 C:\Windows\syswow64\WS2_32.dll
0x757E0000 - 0x757F9000 C:\Windows\SysWOW64\sechost.dll
0x75800000 - 0x758F4000 C:\Windows\syswow64\WININET.dll
0x75900000 - 0x759CC000 C:\Windows\syswow64\MSCTF.dll
0x759E0000 - 0x75AFC000 C:\Windows\syswow64\CRYPT32.dll
0x75B00000 - 0x75B9D000 C:\Windows\syswow64\USP10.dll
0x75BA0000 - 0x75CFC000 C:\Windows\syswow64\ole32.dll
0x75D00000 - 0x75DAC000 C:\Windows\syswow64\msvcrt.dll
0x75DB0000 - 0x75EB0000 C:\Windows\syswow64\USER32.dll
0x75EB0000 - 0x75EC2000 C:\Windows\syswow64\DEVOBJ.dll
0x75ED0000 - 0x75FC0000 C:\Windows\syswow64\RPCRT4.dll
0x75FC0000 - 0x76060000 C:\Windows\syswow64\ADVAPI32.dll
0x76060000 - 0x76063000 C:\Windows\syswow64\Normaliz.dll
0x76070000 - 0x760D0000 C:\Windows\syswow64\IMM32.dll
0x760D0000 - 0x7626D000 C:\Windows\syswow64\SETUPAPI.dll
0x76270000 - 0x7627A000 C:\Windows\syswow64\LPK.dll
0x762B0000 - 0x76EF9000 C:\Windows\syswow64\SHELL32.dll
0x76F00000 - 0x76F83000 C:\Windows\syswow64\CLBCatQ.DLL
0x76F90000 - 0x77020000 C:\Windows\syswow64\GDI32.dll
0x77020000 - 0x77120000 C:\Windows\syswow64\kernel32.dll
0x77120000 - 0x7719B000 C:\Windows\syswow64\comdlg32.dll
0x771A0000 - 0x77224000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_ebf82fc36c758ad5\COMCTL32.dll
0x77230000 - 0x77276000 C:\Windows\syswow64\KERNELBASE.dll
0x77280000 - 0x773B5000 C:\Windows\syswow64\urlmon.dll
0x773C0000 - 0x773E7000 C:\Windows\syswow64\CFGMGR32.dll
0x77820000 - 0x7782C000 C:\Windows\syswow64\MSASN1.dll
0x77850000 - 0x779D0000 C:\Windows\SysWOW64\ntdll.dll


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

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

6F481EA0: 8B 06 89 47 14 8B 56 04 8B 42 08 8D 4E 04 6A 00 ...G..V..B..N.j.


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

* = addr ** *
0018FBC0: 00 00 00 00 90 06 87 05 B8 00 87 05 BF A2 48 6F ..............Ho
0018FBD0: 27 43 4C 95 88 00 77 05 B8 00 87 05 00 00 00 00 'CL...w.........
0018FBE0: 00 00 00 00 B8 00 87 05 90 06 87 05 FF FF FF FF ................
0018FBF0: BC FC 18 00 FF 0B 83 6F 47 00 00 00 FD FE 46 6F .......oG.....Fo
0018FC00: 00 00 00 00 C0 00 F5 0A 01 00 00 00 00 00 00 00 ................
0018FC10: 55 20 D4 01 B8 00 87 05 00 00 00 00 00 00 00 00 U ..............
0018FC20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0018FC30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0018FC40: FF FF FF FF 53 0A 47 6F 01 00 00 00 00 00 00 00 ....S.Go........
0018FC50: E9 30 3A 6F 00 00 00 00 00 00 00 00 FE 3A 3A 6F .0:eek:.........::eek:
0018FC60: 00 00 00 00 01 00 00 00 00 00 00 00 14 01 2E 05 ................
0018FC70: 64 46 3A 6F 00 00 00 00 01 00 00 00 A8 00 45 05 dF:eek:..........E.
0018FC80: 15 67 00 6F 6A 7A 00 6F A8 00 45 05 3D 25 63 6F .g.ojz.o..E.=%co
0018FC90: 67 44 4C 95 98 00 2E 05 88 00 2E 05 8E 1C D4 01 gDL.............
0018FCA0: 04 00 00 00 A8 00 45 05 E7 FE D1 FA 8E 1C D4 01 ......E.........
0018FCB0: 88 00 2E 05 04 00 00 00 01 00 00 00 78 FF 18 00 ............x...
0018FCC0: 38 11 84 6F 00 00 00 00 03 EE 62 6F 00 00 00 00 8..o......bo....
0018FCD0: 98 00 2E 05 F8 B4 A9 6F B1 03 63 6F C6 4B 03 77 .......o..co.K.w
0018FCE0: 00 00 00 6F E2 1D 03 77 3D 5D 57 74 00 00 00 00 ...o...w=]Wt....
0018FCF0: 00 00 00 00 45 6E 67 69 6E 65 20 31 35 34 30 00 ....Engine 1540.
0018FD00: 00 72 65 00 C6 4B 03 77 20 FD 18 00 28 0B 24 77 .re..K.w ...(.$w
0018FD10: 18 FD 18 00 00 00 00 6F 00 00 00 00 00 00 00 00 .......o........
0018FD20: 79 F9 86 77 4D 01 24 77 88 41 00 00 00 00 00 00 y..wM.$w.A......
0018FD30: E2 1D 03 77 1F 44 4C 95 51 04 63 6F 01 00 00 00 ...w.DL.Q.co....
0018FD40: C4 98 00 6F 44 3A 5C 57 61 72 63 72 61 66 74 20 ...oD:\Warcraft
0018FD50: 49 49 49 5C 4C 6F 67 73 00 65 78 65 00 11 24 77 III\Logs.exe..$w
0018FD60: 80 FD 18 00 DC 11 24 77 00 00 00 6F 00 00 00 00 ......$w...o....
0018FD70: C6 4B 03 77 00 00 00 6F 50 98 00 6F F9 13 40 00 .K.w...oP..o..@.
0018FD80: 28 FE 18 00 B0 5B 57 74 50 98 00 6F 00 00 00 00 (....[WtP..o....
0018FD90: C6 4B 03 77 70 5C 57 74 FE FF FF FF 95 C3 88 77 .K.wp\Wt.......w
0018FDA0: 50 98 00 6F 00 00 58 00 30 48 5D 00 F3 7B 88 77 P..o..X.0H]..{.w
0018FDB0: C8 FD 18 00 36 00 26 00 0F 00 00 00 FF FF FF FF ....6.&.........
0018FDC0: F3 7B 88 77 00 00 00 00 58 47 5D 00 01 00 00 00 .{.w....XG].....
0018FDD0: 28 48 5D 00 EC FD 18 00 A3 DE 87 77 00 00 00 6F (H]........w...o
0018FDE0: 20 FE 18 00 3D 5D 57 74 28 48 5D 00 00 FE 18 00 ...=]Wt(H].....
0018FDF0: 28 E5 87 77 00 00 58 00 00 00 00 00 30 48 5D 00 (..w..X.....0H].
0018FE00: 10 FE 18 00 FF E4 87 77 30 48 5D 00 C6 4B 03 77 .......w0H]..K.w
0018FE10: 28 FE 18 00 86 1D 24 77 20 FE 18 00 00 00 40 1C (.....$w .....@.
0018FE20: 00 00 00 00 E6 77 4F 95 44 FE 18 00 68 5D 57 74 .....wO.D...h]Wt
0018FE30: 00 00 00 6F 70 6B 45 00 00 00 00 00 F9 13 40 00 ...opkE.......@.
0018FE40: 00 00 00 6F E2 1D 03 00 B7 45 4C 95 19 14 40 00 ...o.....EL...@.
0018FE50: 00 00 00 6F 10 0E 47 00 DB 4F 58 00 88 FF 18 00 ...o..G..OX.....
0018FE60: 00 00 00 00 10 00 48 00 00 00 00 00 00 40 09 00 ......H......@..
0018FE70: 00 02 4A 00 00 00 00 00 77 4E 90 AD 5C 78 0D 4C ..J.....wN..\x.L
0018FE80: D7 3B F3 F2 E8 25 D3 C9 DE EE FC 6A 80 00 00 00 .;...%.....j....
0018FE90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0018FEA0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0018FEB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0018FEC0: 00 00 00 00 00 00 00 00 00 4A 00 00 E0 FE 18 00 .........J......
0018FED0: AD 90 4E 77 4C 0D 78 5C F2 F3 3B D7 C9 D3 25 E8 ..NwL.x\..;...%.
0018FEE0: 6A FC EE DE AD 90 4E 77 4C 0D 78 5C F2 F3 3B D7 j.....NwL.x\..;.
0018FEF0: C9 D3 25 E8 6A FC EE DE 64 77 48 95 29 34 40 00 ..%.j...dwH.)4@.
0018FF00: 00 00 40 00 00 00 00 00 DB 4F 58 00 0A 00 00 00 [email protected].....
0018FF10: 88 76 48 95 00 00 00 00 00 00 00 00 00 E0 FD 7E .vH............~
0018FF20: 44 00 00 00 20 65 5C 00 40 54 5C 00 70 58 5C 00 D... e\.@T\.pX\.
0018FF30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0018FF40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0018FF50: 00 00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF ................
0018FF60: FF FF FF FF 05 00 00 C0 DB 4F 58 00 00 00 00 00 .........OX.....
0018FF70: 10 FF 18 00 80 F7 18 00 C4 FF 18 00 D1 37 40 00 .............7@.
0018FF80: 38 48 15 95 01 00 00 00 94 FF 18 00 77 36 03 77 8H..........w6.w
0018FF90: 00 E0 FD 7E D4 FF 18 00 72 9D 88 77 00 E0 FD 7E ...~....r..w...~
0018FFA0: 7B 4F 42 76 00 00 00 00 00 00 00 00 00 E0 FD 7E {OBv...........~
0018FFB0: 05 00 00 C0 75 97 05 77 75 97 05 77 A0 FF 18 00 ....u..wu..w....
0018FFC0: 8C F7 18 00 FF FF FF FF 1D 04 8C 77 7F 73 DD 01 ...........w.s..


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

Kazeon

Hosted Project: EC
Level 33
Joined
Oct 12, 2011
Messages
3,449
This is getting crazier. Now this line is causing critical error as well:
set CharImg[i] = CreateImageEx(path, 312.5, LOBBY_X+343, LOBBY_Y-275, 25, true)
it never happens before. I haven't touched my code since I posted this thread. I tested my map again just now, and this is what happen now.

Warcraft 3 at impossible mode.

EDIT:
Wait, I think that line isn't the only problem. But still this is strange.
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,180
Possibly recent updates have caused compatibility problems.

The crash must be caused by some invalid garbage being left inside the process memory between sessions. This is harmless until the process is closed in which case it then crashes with a fatal error as it tries to manipulate invalid memory.

The cause could be anything from invalid object data, to triggers to even corrupted assets.
 

Kazeon

Hosted Project: EC
Level 33
Joined
Oct 12, 2011
Messages
3,449
Now, can anybody tell me what's the difference between this:

JASS:
        loop
            exitwhen i > MapCount
            set j = 0
            loop
                exitwhen j > 3
                if IsInstalled then
                    set path = InstallLocation+ "\\Preview" + I2S(i) + I2S(j)+".tga"
                else
                    set path = "alpha.blp"
                endif
                set MapImg[i].image[j] = CreateImageEx(path, 625, LOBBY_X-874, LOBBY_Y-359, 25, true)
                call SetImageColor(MapImg[i].image[j], 255, 255, 255, 0)
                call ShowImage(MapImg[i].image[j], i == 0 and j == 0)
                set j = j + 1
            endloop
            set i = i + 1
        endloop

and this:

JASS:
        set i = 0
        loop
            exitwhen i > CharCount
            
            if IsInstalled then
                set path = InstallLocation + "\\Char" + I2S(i)+".tga"
            else
                set path = "CharBolt.blp"
            endif
            set CharImg[i] = CreateImageEx(path, 312, LOBBY_X+343, LOBBY_Y-275, 25, true)
            call SetImageColor(CharImg[i], 255, 255, 255, 0)
            call ShowImage(CharImg[i], i == 0)
            set i = i + 1
        endloop
Why the second one's always causing critical error? This problem's appeared where as I didn't touch the trigger since I posted this thread, and it didn't happen before.

No, matter what I do, change the pic (directory), change the image size, change the variable name, etc. it still critical error. Any explanation?

EDIT:

Now I tried this:
JASS:
        set i = 0
        loop
            exitwhen i > CharCount
            
                    set path = InstallLocation+ "\\Preview" + I2S(i) + "0.tga"
                //set path = InstallLocation + "\\Char" + I2S(i)+".tga"
            /*if IsInstalled then
            else
                set path = "CharBolt.blp"
            endif*/
            set CharImg[i] = CreateImageEx(path, 625, LOBBY_X-874, LOBBY_Y-359, 25, true)
            //set CharImg[i] = CreateImageEx(path, 625, LOBBY_X+343, LOBBY_Y-275, 25, true)
            call SetImageColor(CharImg[i], 255, 255, 255, 0)
            call ShowImage(CharImg[i], i == 0)
            set i = i + 1
        endloop
(Using the exactly same pic as the first iteration, using same size, coordinates, color, etc. Just using different variable and variable j is always 0. But strangely, it still critical error.

The crash must be caused by some invalid garbage being left inside the process memory between sessions. This is harmless until the process is closed in which case it then crashes with a fatal error as it tries to manipulate invalid memory.
That sounds horrible. How can I fix it? So is it possible that the problem only occurs in my PC? Or the map will broke other PCs as well? :(

EDIT:
This is silly, I just changed the file and now it works correctly. It's impossible if the file if corrupted, bcz that file is used in other lines as well but they worked correctly, no error, how come it's only crashed on that spot?

EDIT:
Correction, the error is on the file name. I change "Char0" to "CharBolt" and it worked correctly.

EDIT again:
I did some experiments regarding to this error. Now I found that it fatals if I use operator like +
JASS:
                set path = InstallLocation + "\\Char" + CharName[i] + ".blp"
But when I removed the operator
JASS:
                set path = InstallLocation + "\\CharBolt.blp"
The error is gone. Somebody knows what's going on here?
 
Last edited:

Kazeon

Hosted Project: EC
Level 33
Joined
Oct 12, 2011
Messages
3,449
I initialized the variables like this:
JASS:
        set CharID[0] = 'h001'
        set CharName[0] = "Bolt"
        set CharTendency[0] = "Balance"
        set CharAnimation[0] = 6
        set CharIcon[0] = "ReplaceableTextures\\CommandButtons\\BTNShieldHand.blp"
        set CharDatas[0] = CharData.create()
        set CharDatas[0].power = 5
        set CharDatas[0].capacity = 5
        set CharDatas[0].dexterity = 5
        set CharDatas[0].durability = 5
        set CharDatas[0].recovery = 5
        set CharDatas[0].skill = 5
        
        set CharID[1] = 'h00J'
        set CharName[1] = "Twister"
        set CharTendency[1] = "Agile"
        set CharAnimation[1] = 0
        set CharIcon[1] = "ReplaceableTextures\\CommandButtons\\BTNShieldHand.blp"
        set CharDatas[1] = CharData.create()
        set CharDatas[1].power = 5
        set CharDatas[1].capacity = 5
        set CharDatas[1].dexterity = 5
        set CharDatas[1].durability = 5
        set CharDatas[1].recovery = 5
        set CharDatas[1].skill = 5
        
        set CharID[2] = 'h00K'
        set CharName[2] = "Neo"
        set CharTendency[2] = "Focus"
        set CharAnimation[2] = 7
        set CharIcon[2] = "ReplaceableTextures\\CommandButtons\\BTNShieldHand.blp"
        set CharDatas[2] = CharData.create()
        set CharDatas[2].power = 5
        set CharDatas[2].capacity = 5
        set CharDatas[2].dexterity = 5
        set CharDatas[2].durability = 5
        set CharDatas[2].recovery = 5
        set CharDatas[2].skill = 5
        
        set CharID[3] = 'h00L'
        set CharName[3] = "Sonic"
        set CharTendency[3] = "Fast"
        set CharAnimation[3] = 6
        set CharIcon[3] = "ReplaceableTextures\\CommandButtons\\BTNShieldHand.blp"
        set CharDatas[3] = CharData.create()
        set CharDatas[3].power = 5
        set CharDatas[3].capacity = 5
        set CharDatas[3].dexterity = 5
        set CharDatas[3].durability = 5
        set CharDatas[3].recovery = 5
        set CharDatas[3].skill = 5
        
        set CharID[4] = 'h00H'
        set CharName[4] = "Luna"
        set CharTendency[4] = "Effective"
        set CharAnimation[4] = 8
        set CharIcon[4] = "ReplaceableTextures\\CommandButtons\\BTNShieldHand.blp"
        set CharDatas[4] = CharData.create()
        set CharDatas[4].power = 5
        set CharDatas[4].capacity = 5
        set CharDatas[4].dexterity = 5
        set CharDatas[4].durability = 5
        set CharDatas[4].recovery = 5
        set CharDatas[4].skill = 5
        
        set CharID[5] = 'h00I'
        set CharName[5] = "Oxide"
        set CharTendency[5] = "Durable"
        set CharAnimation[5] = 0
        set CharIcon[5] = "ReplaceableTextures\\CommandButtons\\BTNShieldHand.blp"
        set CharDatas[5] = CharData.create()
        set CharDatas[5].power = 5
        set CharDatas[5].capacity = 5
        set CharDatas[5].dexterity = 5
        set CharDatas[5].durability = 5
        set CharDatas[5].recovery = 5
        set CharDatas[5].skill = 5
        
        set CharID[6] = 'h00M'
        set CharName[6] = "Theo"
        set CharTendency[6] = "Athletic"
        set CharAnimation[6] = 4
        set CharIcon[6] = "ReplaceableTextures\\CommandButtons\\BTNShieldHand.blp"
        set CharDatas[6] = CharData.create()
        set CharDatas[6].power = 5
        set CharDatas[6].capacity = 5
        set CharDatas[6].dexterity = 5
        set CharDatas[6].durability = 5
        set CharDatas[6].recovery = 5
        set CharDatas[6].skill = 5
        
        set CharCount = 6
I couldn't see anything's wrong there..

EDIT:
How crazy.
set path = CharPreview[0] works
set path = CharPreview[i] doesn't work

EDIT:
Silly me. The error is because I forgot to move other images like CharTwister, etc. to the install folder :xxd:

Okay, this problem has solved. But still, dunno about the main problem (on close one).
 
Last edited:

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,180
The second error (now fixed) is clearly related to invalid files. Trying to create a splat of an invalid image must be resulting in a fatal error.

As for the first error, it does not matter that much since few people will care if WC3 fatals on closure. It could be caused by invalid files being cached but one cannot really tell from the dumps provided.

Are all assets inside the map archive or distributed separately? It could be that one of the separately distributed assets causes the crash when it clears the cache during closure.
 

Kazeon

Hosted Project: EC
Level 33
Joined
Oct 12, 2011
Messages
3,449
Are all assets inside the map archive or distributed separately? It could be that one of the separately distributed assets causes the crash when it clears the cache during closure.
Perhaps this problem has gone as well. Maybe it has the same issue, I forgot to move some images to the target folder. I can't be sure yet though, but it's been several replays without critical error. :)
 
Status
Not open for further replies.
Top