• 🏆 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!

Game crashes when loading a saved game

Status
Not open for further replies.

SpasMaster

Hosted Project: SC
Level 23
Joined
Jan 29, 2010
Messages
1,969
Hello, Hive!

With the release of the latest version of my map (2.0.0), people have started reporting that the game crashes when trying to load a saved game. This wasn't the case back in the previous version (1.9.9). I have absoloutely no idea what could be the reason for this. I've looked around and the only lead I have for now is this list by Bribe. Point 13 seems to describe loading problem:
Trying to create a quest object at map initialization will cause a crash during load sequence.

Can someone tell me what a "quest object" is?
Regardless, I've deleted all the changes to quests I did in the new version, but the problem is still there. Does anyone know any other reasons that could be causing this? Thanks in advance!

Attaching crash log:

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

Exe: E:\Warcraft 3\Warcraft III\war3.exe
Time: Apr 18, 2015 2:17:41.887 PM
User: User
Computer: USER-PC
------------------------------------------------------------------------------

This application has encountered a critical error:

FATAL ERROR!

Program: E:\Warcraft 3\Warcraft III\war3.exe
Exception: 0xC0000005 (ACCESS_VIOLATION) at 0023:6F40A861

The instruction at '0x6F40A861' referenced memory at '0x00000028'.
The memory could not be 'read'.


War3Build: 1.26.0.6401
Played Maps\Scenario\Sunken City v2.0.0.w3x
Player 0 SpasMaster Race Orc StartLoc 0
Player 1 IIazaH4er Race Orc StartLoc 1
Player 2 BitchImMoonMoon Race Orc StartLoc 2
Player 3 The Horde Race Orc StartLoc 3
Player 4 <Unused> Race Undead StartLoc -1
Player 5 <Unused> Race Undead StartLoc -1
Player 6 <Unused> Race Orc StartLoc -1
Player 7 <Unused> Race Orc StartLoc -1
Player 8 <Unused> Race Human StartLoc -1
Player 9 Alliance Expedition Race Human StartLoc 4
Player 10 <Unused> Race NightElf StartLoc -1
Player 11 Temple Habitants Race Undead StartLoc 4
------------------------------------------------------------------------------

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

EAX=000000E4 EBX=04430088 ECX=00000000 EDX=00000007 ESI=04430088
EDI=00000000 EBP=1EF4515C ESP=0018ECF4 EIP=6F40A861 FLG=00210246
CS =0023 DS =002B ES =002B SS =002B FS =0053 GS =002B


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

Address Frame Logical addr Module

6F40A861 1EF4515C 0001:00409861 E:\Warcraft 3\Warcraft III\Game.dll

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

6F40A861 Game.dll GameMain+4198417 (0x1EF4515C,0x00000007,0x2B600088,0x042800A8)


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

0x00400000 - 0x0047D000 E:\Warcraft 3\Warcraft III\war3.exe
0x03980000 - 0x03A8A000 C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvSCPAPI.dll
0x068D0000 - 0x06942000 C:\Windows\system32\DSOUND.DLL
0x10000000 - 0x1001E000 D:\Garena Plus\Room\War3Hook.dll
0x15000000 - 0x15061000 E:\Warcraft 3\Warcraft III\Storm.dll
0x21100000 - 0x2115F000 E:\Warcraft 3\Warcraft III\mss32.dll
0x22600000 - 0x22616000 E:\Warcraft 3\Warcraft III\redist\miles\Mssfast.m3d
0x22700000 - 0x22717000 E:\Warcraft 3\Warcraft III\redist\miles\Mssdolby.m3d
0x22C00000 - 0x22C18000 E:\Warcraft 3\Warcraft III\redist\miles\Msseax2.m3d
0x24600000 - 0x24611000 E:\Warcraft 3\Warcraft III\redist\miles\Reverb3.flt
0x26F00000 - 0x26F2A000 E:\Warcraft 3\Warcraft III\redist\miles\Mp3dec.asi
0x60000000 - 0x6005D000 E:\Warcraft 3\Warcraft III\ijl15.dll
0x655B0000 - 0x65634000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18201_none_ec80f00e8593ece5\COMCTL32.dll
0x66000000 - 0x66105000 C:\Windows\system32\d3d8.dll
0x665A0000 - 0x66668000 C:\Windows\system32\OPENGL32.dll
0x6C3A0000 - 0x6C3C2000 C:\Windows\system32\GLU32.dll
0x6C3D0000 - 0x6C3DE000 D:\Garena Plus\Room\WC3J.dll
0x6CA30000 - 0x6CCB3000 C:\Windows\system32\nvapi.dll
0x6CCC0000 - 0x6CDA7000 C:\Windows\system32\DDRAW.dll
0x6E020000 - 0x6EE8F000 C:\Windows\system32\nvd3dum.dll
0x6F000000 - 0x6FBB5000 E:\Warcraft 3\Warcraft III\Game.dll
0x6FCE0000 - 0x6FCE6000 C:\Windows\system32\SensApi.dll
0x6FCF0000 - 0x6FD0C000 C:\Windows\system32\cryptnet.dll
0x6FD10000 - 0x6FD26000 C:\Windows\system32\GPAPI.dll
0x6FD30000 - 0x6FD68000 C:\Windows\system32\ncrypt.dll
0x6FE30000 - 0x6FE6D000 C:\Windows\SysWOW64\bcryptprimitives.dll
0x6FE70000 - 0x6FE87000 C:\Windows\system32\bcrypt.dll
0x6FF80000 - 0x6FFA1000 C:\Windows\system32\ntmarta.dll
0x71A20000 - 0x71B15000 C:\Windows\System32\PROPSYS.dll
0x72F40000 - 0x72F46000 C:\Windows\system32\d3d8thk.dll
0x73710000 - 0x73717000 C:\Windows\system32\avrt.dll
0x73A80000 - 0x73B6B000 C:\Windows\system32\dbghelp.dll
0x73C50000 - 0x73C55000 C:\Windows\System32\wshtcpip.dll
0x73E30000 - 0x73E62000 C:\Windows\system32\WINMM.dll
0x73E70000 - 0x73EAC000 C:\Windows\system32\mswsock.dll
0x73EC0000 - 0x73ED3000 C:\Windows\system32\dwmapi.dll
0x73F00000 - 0x73F25000 C:\Windows\system32\powrprof.dll
0x73F30000 - 0x73FB0000 C:\Windows\system32\uxtheme.dll
0x74090000 - 0x740CB000 C:\Windows\system32\rsaenh.dll
0x740D0000 - 0x740E7000 C:\Windows\system32\CRYPTSP.dll
0x74230000 - 0x74239000 C:\Windows\system32\VERSION.dll
0x74260000 - 0x74266000 C:\Windows\system32\DCIMAN32.dll
0x74600000 - 0x74636000 C:\Windows\system32\AUDIOSES.DLL
0x746F0000 - 0x74729000 C:\Windows\System32\MMDevApi.dll
0x74730000 - 0x747CB000 C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a\MSVCR80.dll
0x75270000 - 0x75277000 C:\Windows\system32\WSOCK32.dll
0x755C0000 - 0x755CC000 C:\Windows\syswow64\CRYPTBASE.dll
0x755D0000 - 0x75630000 C:\Windows\syswow64\SspiCli.dll
0x75690000 - 0x758C2000 C:\Windows\syswow64\iertutil.dll
0x758D0000 - 0x7651B000 C:\Windows\syswow64\SHELL32.dll
0x76520000 - 0x76524000 C:\Windows\syswow64\api-ms-win-downlevel-user32-l1-1-0.dll
0x76530000 - 0x765AB000 C:\Windows\syswow64\comdlg32.dll
0x765E0000 - 0x76607000 C:\Windows\syswow64\CFGMGR32.dll
0x76610000 - 0x766B0000 C:\Windows\syswow64\ADVAPI32.dll
0x766B0000 - 0x766B5000 C:\Windows\syswow64\PSAPI.DLL
0x766C0000 - 0x767D0000 C:\Windows\syswow64\kernel32.dll
0x767D0000 - 0x767DC000 C:\Windows\syswow64\MSASN1.dll
0x767E0000 - 0x76815000 C:\Windows\syswow64\WS2_32.dll
0x76820000 - 0x768A3000 C:\Windows\syswow64\CLBCatQ.DLL
0x768B0000 - 0x76A85000 C:\Windows\syswow64\WININET.dll
0x76A90000 - 0x76A9A000 C:\Windows\syswow64\LPK.dll
0x76AA0000 - 0x76AA3000 C:\Windows\syswow64\api-ms-win-downlevel-normaliz-l1-1-0.dll
0x76AB0000 - 0x76B5C000 C:\Windows\syswow64\msvcrt.dll
0x76BF0000 - 0x76BFB000 C:\Windows\syswow64\profapi.dll
0x76C00000 - 0x76C04000 C:\Windows\syswow64\api-ms-win-downlevel-version-l1-1-0.dll
0x76C10000 - 0x76C22000 C:\Windows\syswow64\DEVOBJ.dll
0x76C30000 - 0x76CC0000 C:\Windows\syswow64\GDI32.dll
0x76CC0000 - 0x76D5D000 C:\Windows\syswow64\USP10.dll
0x76D60000 - 0x76DA7000 C:\Windows\syswow64\KERNELBASE.dll
0x76DB0000 - 0x76F0C000 C:\Windows\syswow64\ole32.dll
0x76F10000 - 0x76FDC000 C:\Windows\syswow64\MSCTF.dll
0x76FE0000 - 0x77037000 C:\Windows\syswow64\SHLWAPI.dll
0x77190000 - 0x771A7000 C:\Windows\syswow64\USERENV.dll
0x771B0000 - 0x771B3000 C:\Windows\syswow64\normaliz.DLL
0x771C0000 - 0x77205000 C:\Windows\syswow64\WLDAP32.dll
0x77210000 - 0x7729F000 C:\Windows\syswow64\OLEAUT32.dll
0x772A0000 - 0x772A6000 C:\Windows\syswow64\NSI.dll
0x772B0000 - 0x773D1000 C:\Windows\syswow64\CRYPT32.dll
0x773F0000 - 0x77450000 C:\Windows\syswow64\IMM32.dll
0x77450000 - 0x77469000 C:\Windows\SysWOW64\sechost.dll
0x77470000 - 0x7760D000 C:\Windows\syswow64\SETUPAPI.dll
0x77610000 - 0x77700000 C:\Windows\syswow64\RPCRT4.dll
0x77730000 - 0x77735000 C:\Windows\syswow64\api-ms-win-downlevel-advapi32-l1-1-0.dll
0x77740000 - 0x77840000 C:\Windows\syswow64\USER32.dll
0x77C10000 - 0x77C14000 C:\Windows\syswow64\api-ms-win-downlevel-shlwapi-l1-1-0.dll
0x77C40000 - 0x77DC0000 C:\Windows\SysWOW64\ntdll.dll


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

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

6F40A861: 8B 79 28 8B 49 24 89 4C 24 10 8B 0D 70 E4 AA 6F .y(.I$.L$...p..o


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

* = addr ** *
0018ECF0: B0 8E 40 6F 00 00 00 00 5C 51 F4 1E 00 00 00 00 ..@o....\Q......
0018ED00: 88 00 43 04 EC 7F 48 0C 10 00 00 00 6D 67 66 2B ..C...H.....mgf+
0018ED10: A9 AA 40 6F 5C 51 F4 1E 07 00 00 00 88 00 60 2B ..@o\Q........`+
0018ED20: A8 00 28 04 88 00 5D 2B 01 00 00 00 00 00 00 00 ..(...]+........
0018ED30: 88 00 43 04 00 00 00 00 06 00 00 00 5C 51 F4 1E ..C.........\Q..
0018ED40: 01 00 00 00 EA 29 3A 6F A8 00 28 04 88 00 2A 04 .....):eek:..(...*.
0018ED50: 88 00 5D 2B 01 00 00 00 00 00 00 00 01 00 00 00 ..]+............
0018ED60: 44 03 3B 6F 4C 5E B9 07 E8 1B 87 09 B0 00 A2 0F D.;oL^..........
0018ED70: 99 F0 61 11 00 00 00 00 00 00 00 01 AB 17 00 00 ..a.............
0018ED80: 01 00 00 00 88 00 2A 04 00 00 00 00 E8 1B 87 09 ......*.........
0018ED90: 20 00 00 00 11 00 00 00 28 03 D2 0C 00 00 00 00 .......(.......
0018EDA0: 01 00 00 00 01 00 00 00 C8 90 E2 07 01 00 00 00 ................
0018EDB0: 14 D2 AC 6F EF 06 13 06 E0 06 13 06 18 4E B4 09 ...o.........N..
0018EDC0: 0F 00 00 00 10 49 03 15 00 00 00 00 1F 49 03 15 .....I.......I..
0018EDD0: 43 4F 4C 4F 4E 5F 47 41 4D 45 5F 54 59 50 45 00 COLON_GAME_TYPE.
0018EDE0: 44 EE 18 00 58 CB E2 07 8C D2 AC 6F 83 F9 79 03 D...X......o..y.
0018EDF0: 68 F9 79 03 01 00 00 00 1B 00 00 00 10 49 03 15 h.y..........I..
0018EE00: 00 00 00 00 1F 49 03 15 4C 4F 41 44 49 4E 47 4D .....I..LOADINGM
0018EE10: 45 4C 45 45 50 4C 41 59 45 52 43 4F 4E 54 41 49 ELEEPLAYERCONTAI
0018EE20: 4E 45 52 00 FF FF FF 7F E4 01 71 06 E8 25 73 06 NER.......q..%s.
0018EE30: E4 98 31 6F A0 7D 1E 06 68 BD 79 03 FF FF FF 7F ..1o.}..h.y.....
0018EE40: 00 00 00 00 60 50 B4 09 60 50 B4 09 7C EE 18 00 ....`P..`P..|...
0018EE50: AA 11 61 6F 00 00 00 00 60 50 B4 09 91 B9 5F 6F ..ao....`P...._o
0018EE60: 20 01 E4 07 C0 D1 08 06 8F C3 5C 6F 7C EE 18 00 .........\o|...
0018EE70: F4 FD 54 3C 00 00 00 00 9E C3 5C 6F 46 6F 6E 74 ..T<......\oFont
0018EE80: 73 5C 46 52 49 5A 51 54 5F 5F 2E 54 54 46 00 00 s\FRIZQT__.TTF..
0018EE90: 64 01 EC 02 03 00 00 00 C3 F5 68 3D 7B 14 2E 3D d.........h={..=
0018EEA0: 01 00 00 00 F8 01 B3 09 50 06 FB 05 50 06 FB 05 ........P...P...
0018EEB0: 39 C0 5C 6F 1C 00 00 00 01 00 00 00 70 11 12 06 9.\o........p...
0018EEC0: 70 02 51 0E 00 00 B8 09 F0 00 00 00 24 EF 18 00 p.Q.........$...
0018EED0: F8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0018EEE0: 00 00 00 00 48 5D 02 15 F0 00 00 00 E2 5D 02 15 ....H].......]..
0018EEF0: 78 18 CE 09 01 00 00 00 00 00 00 00 00 00 A0 3D x..............=
0018EF00: 00 00 00 00 00 00 A5 3E 00 00 A0 3D 00 00 C1 3E .......>...=...>
0018EF10: 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 H...............
0018EF20: 00 00 00 00 48 5D 02 15 40 00 00 00 90 1C 87 09 ....H]..@.......
0018EF30: 00 00 00 00 F5 5A 02 15 54 EF 18 00 39 0A 00 00 .....Z..T...9...
0018EF40: 00 00 87 09 1C 00 00 00 A0 EF 18 00 28 00 00 00 ............(...
0018EF50: F0 F7 79 03 AB 7E 4A 43 04 00 00 00 F0 F7 79 03 ..y..~JC......y.
0018EF60: 97 3C 03 15 B0 05 3F 09 3D 1B 4C 6F B0 05 3F 09 .<....?.=.Lo..?.
0018EF70: 00 00 00 00 14 00 00 00 64 01 EC 02 1C 04 B3 09 ........d.......
0018EF80: E9 66 60 6F 01 00 00 00 64 01 EC 02 1C 04 B3 09 .f`o....d.......
0018EF90: 1C 04 B3 09 64 01 EC 02 DC 67 60 6F 00 00 00 00 ....d....g`o....
0018EFA0: F0 F7 79 03 00 00 00 00 00 12 12 06 0B C0 5C 6F ..y...........\o
0018EFB0: 03 00 00 00 64 01 EC 02 03 00 00 00 8F C2 75 3E ....d.........u>
0018EFC0: 7B 14 2E 3D 01 00 00 00 F8 01 B3 09 38 0C 11 06 {..=........8...
0018EFD0: 38 0C 11 06 39 C0 5C 6F 1C 00 00 00 01 00 00 00 8...9.\o........
0018EFE0: 10 12 12 06 68 03 B3 09 68 03 B3 09 63 A9 5F 6F ....h...h...c._o
0018EFF0: 00 00 00 00 00 00 87 09 D6 9C B4 7B F7 5F 02 15 ...........{._..
0018F000: 90 6B 05 15 D8 F8 79 03 12 00 00 00 12 00 00 00 .k....y.........
0018F010: 98 1A 87 09 A8 00 9A 09 3F 4F 03 15 98 1A 87 09 ........?O......
0018F020: D8 F8 79 03 12 00 00 00 D8 F8 79 03 10 05 9C 09 ..y.......y.....
0018F030: EE 22 B0 6F C9 A8 5F 6F D8 F8 79 03 68 5C 87 6F .".o.._o..y.h\.o
0018F040: 39 0A 00 00 00 00 00 00 F8 01 B3 09 D8 F8 79 03 9.............y.
0018F050: 28 0B 11 06 39 C0 5C 6F 01 00 00 00 70 F0 18 00 (...9.\o....p...
0018F060: D8 F8 79 03 F8 01 B3 09 F8 01 B3 09 63 A9 5F 6F ..y.........c._o
0018F070: 00 00 00 00 00 00 80 7F E3 A5 9B BD EC 0E B4 09 ................
0018F080: 00 00 80 7F 0A 58 60 6F 1E 17 61 6F AC F0 18 00 .....X`o..ao....
0018F090: 38 0E B4 09 12 59 60 6F A0 F0 18 00 38 0E B4 09 8....Y`o....8...
0018F0A0: 00 00 00 00 00 00 80 7F 00 00 00 00 00 00 00 00 ................
0018F0B0: 38 0E B4 09 D2 1E 61 6F 94 5C B9 07 22 D3 5C 6F 8.....ao.\..".\o
0018F0C0: F8 01 B3 09 A4 D3 5C 6F 00 00 00 00 C0 D1 08 06 ......\o........
0018F0D0: C0 D1 08 06 60 50 B4 09 C9 D4 5C 6F 2A BE 5C 6F ....`P....\o*.\o
0018F0E0: D8 BE 5C 6F 2D C3 5C 6F 9E C3 5C 6F 60 50 B4 09 ..\o-.\o..\o`P..
0018F0F0: 11 F5 5F 6F A4 14 2D 09 60 50 B4 09 92 F5 5F 6F .._o..-.`P...._o


------------------------------------------------------------------------------
 
Last edited:

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,183
Have you done some heavy debugging?

Basically this is what I tend to do:

1. create a backup for your map. And move it somewhere completely different to make sure you don't mess them up.

2. open the backup and remove every single trigger. Afterwards, try to run the map.

3. If it still crash, delete all units, then test. Delete all abilities, then test and so on. Purge the object editor completely.

4. remove all terrain objects from the map and test

5. remove all imports from the map

6. open the map with the mpq editor. Sometimes stuff doesn't get removed completely from the map while being invisible in the import manager. In one of my campaign chapters this was my problem. War3XXXXXX.txt was corrupting my map.

edit: souce for .6 http://www.hiveworkshop.com/forums/world-editor-help-zone-98/map-crash-crash-253903/
 

SpasMaster

Hosted Project: SC
Level 23
Joined
Jan 29, 2010
Messages
1,969
Deleting the triggers made it load properly, but I still don't know which one makes it crash when loading. Since I have hundreds of triggers, is there a faster way of finding the problematic one instead of deleting them one by one? Not to mention that the map takes few minutes to load, so this would take days.
 
Status
Not open for further replies.
Top