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

[Crash] map crash crash

Status
Not open for further replies.

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,183
Hello, one of my chapters are currently crashing on loading screen. It goes to 40% then I get critical error. I have tried the following.

1. disable/remove all triggers (both of them)
2. remove all imported files
3. remove all custom objects
4. extract map and then re-import it to the campaign


Code:
==============================================================================
Warcraft III (build 6387)

Exe:      c:\program files (x86)\warcraft iii\war3.exe
Time:     Jun 25, 2014 11:34:02.274 PM
User:     Lukas
Computer: GONDOLIN
------------------------------------------------------------------------------

This application has encountered a critical error:

FATAL ERROR!

Program:	c:\program files (x86)\warcraft iii\war3.exe
Exception:	0xC0000005 (ACCESS_VIOLATION) at 0023:6F4CD004

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


War3Build: 1.24.4.6387
Played TotSC3A.w3x
Player  0 Chaosy            	Race Human	StartLoc  0
Player  1 Lumber Jacks      	Race Human	StartLoc  1
Player  2 Reinforcements    	Race Human	StartLoc  2
Player  3 Undead Scourge    	Race Undead	StartLoc  3
Player  4 <Unused>          	Race Orc	StartLoc -1
Player  5 <Unused>          	Race NightElf	StartLoc -1
Player  6 <Unused>          	Race NightElf	StartLoc -1
Player  7 <Unused>          	Race Human	StartLoc -1
Player  8 <Unused>          	Race NightElf	StartLoc -1
Player  9 <Unused>          	Race NightElf	StartLoc -1
Player 10 <Unused>          	Race NightElf	StartLoc -1
Player 11 <Unused>          	Race NightElf	StartLoc -1
------------------------------------------------------------------------------

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

EAX=0000000D  EBX=00000000  ECX=00000312  EDX=0018F6F0  ESI=149C01FC
EDI=14A00090  EBP=00000010  ESP=0018F6CC  EIP=6F4CD004  FLG=00210246
CS =0023      DS =002B      ES =002B      SS =002B      FS =0053      GS =002B


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

Address  Frame    Logical addr  Module

6F4CD004 00000010 0001:004CC004 c:\program files (x86)\warcraft iii\Game.dll

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

6F4CD004 Game.dll     GameMain+4994964 (0x0000000D,0x3C888888,0x149C01FC,0x00000000)


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

0x00400000 - 0x0047D000  c:\program files (x86)\warcraft iii\war3.exe
0x07D00000 - 0x07DF5000  C:\Windows\System32\PROPSYS.dll
0x10000000 - 0x1010A000  C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvSCPAPI.dll
0x15000000 - 0x15061000  c:\program files (x86)\warcraft iii\Storm.dll
0x21100000 - 0x2115F000  c:\program files (x86)\warcraft iii\mss32.dll
0x22600000 - 0x22616000  c:\program files (x86)\warcraft iii\redist\miles\Mssfast.m3d
0x22700000 - 0x22717000  c:\program files (x86)\warcraft iii\redist\miles\Mssdolby.m3d
0x22C00000 - 0x22C18000  c:\program files (x86)\warcraft iii\redist\miles\Msseax2.m3d
0x24600000 - 0x24611000  c:\program files (x86)\warcraft iii\redist\miles\Reverb3.flt
0x26F00000 - 0x26F2A000  c:\program files (x86)\warcraft iii\redist\miles\Mp3dec.asi
0x53C40000 - 0x53EC3000  C:\Windows\system32\nvapi.dll
0x57AA0000 - 0x57B68000  C:\Windows\system32\OPENGL32.dll
0x57C40000 - 0x57CB2000  C:\Windows\system32\DSOUND.DLL
0x57D70000 - 0x57E75000  C:\Windows\system32\d3d8.dll
0x5B4B0000 - 0x5B4D2000  C:\Windows\system32\GLU32.dll
0x5B750000 - 0x5B837000  C:\Windows\system32\DDRAW.dll
0x5C260000 - 0x5C266000  C:\Windows\system32\DCIMAN32.dll
0x60000000 - 0x6005D000  c:\program files (x86)\warcraft iii\ijl15.dll
0x62950000 - 0x62957000  C:\Windows\system32\avrt.dll
0x63C90000 - 0x64AFF000  C:\Windows\system32\nvd3dum.dll
0x6C090000 - 0x6C0AC000  C:\Windows\system32\cryptnet.dll
0x6F000000 - 0x6FBD4000  c:\program files (x86)\warcraft iii\Game.dll
0x71A70000 - 0x71AAD000  C:\Windows\SysWOW64\bcryptprimitives.dll
0x71AB0000 - 0x71AC7000  C:\Windows\system32\bcrypt.dll
0x71AD0000 - 0x71B08000  C:\Windows\system32\ncrypt.dll
0x72910000 - 0x7294C000  C:\Windows\system32\mswsock.dll
0x72A10000 - 0x72AAB000  C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a\MSVCR80.dll
0x72AD0000 - 0x72AD8000  C:\Windows\system32\Secur32.dll
0x72C60000 - 0x72D4B000  C:\Windows\system32\dbghelp.dll
0x72D50000 - 0x72D8B000  C:\Windows\system32\rsaenh.dll
0x72D90000 - 0x72DA6000  C:\Windows\system32\CRYPTSP.dll
0x72F80000 - 0x72F93000  C:\Windows\system32\dwmapi.dll
0x72FA0000 - 0x72FA7000  C:\Windows\system32\WSOCK32.dll
0x72FC0000 - 0x72FC6000  C:\Windows\system32\d3d8thk.dll
0x73200000 - 0x73236000  C:\Windows\system32\AUDIOSES.DLL
0x73270000 - 0x732A9000  C:\Windows\System32\MMDevApi.dll
0x73990000 - 0x739A6000  C:\Windows\system32\GPAPI.dll
0x74300000 - 0x74380000  C:\Windows\system32\uxtheme.dll
0x74580000 - 0x74604000  C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18201_none_ec80f00e8593ece5\COMCTL32.dll
0x75110000 - 0x75116000  C:\Windows\system32\SensApi.dll
0x75290000 - 0x752B5000  C:\Windows\system32\powrprof.dll
0x752C0000 - 0x752F2000  C:\Windows\system32\WINMM.dll
0x754E0000 - 0x75501000  C:\Windows\system32\ntmarta.dll
0x755A0000 - 0x755A9000  C:\Windows\system32\VERSION.dll
0x75670000 - 0x7567C000  C:\Windows\syswow64\CRYPTBASE.dll
0x75680000 - 0x756E0000  C:\Windows\syswow64\SspiCli.dll
0x756E0000 - 0x756E4000  C:\Windows\syswow64\api-ms-win-downlevel-version-l1-1-0.dll
0x756F0000 - 0x756F6000  C:\Windows\syswow64\NSI.dll
0x75700000 - 0x7570C000  C:\Windows\syswow64\MSASN1.dll
0x75710000 - 0x7571A000  C:\Windows\syswow64\LPK.dll
0x75720000 - 0x75739000  C:\Windows\SysWOW64\sechost.dll
0x75740000 - 0x75797000  C:\Windows\syswow64\SHLWAPI.dll
0x757A0000 - 0x757D5000  C:\Windows\syswow64\WS2_32.dll
0x757E0000 - 0x75863000  C:\Windows\syswow64\CLBCatQ.DLL
0x75880000 - 0x7594C000  C:\Windows\syswow64\MSCTF.dll
0x75950000 - 0x75977000  C:\Windows\syswow64\CFGMGR32.dll
0x75980000 - 0x75A70000  C:\Windows\syswow64\RPCRT4.dll
0x75A70000 - 0x75C2D000  C:\Windows\syswow64\WININET.dll
0x75C30000 - 0x7687A000  C:\Windows\syswow64\SHELL32.dll
0x76880000 - 0x76920000  C:\Windows\syswow64\ADVAPI32.dll
0x76920000 - 0x76965000  C:\Windows\syswow64\WLDAP32.dll
0x76970000 - 0x76975000  C:\Windows\syswow64\PSAPI.DLL
0x76980000 - 0x76985000  C:\Windows\syswow64\api-ms-win-downlevel-advapi32-l1-1-0.dll
0x76990000 - 0x769D7000  C:\Windows\syswow64\KERNELBASE.dll
0x769E0000 - 0x76A70000  C:\Windows\syswow64\GDI32.dll
0x76A70000 - 0x76B1C000  C:\Windows\syswow64\msvcrt.dll
0x76B20000 - 0x76B23000  C:\Windows\syswow64\api-ms-win-downlevel-normaliz-l1-1-0.dll
0x76B30000 - 0x76B34000  C:\Windows\syswow64\api-ms-win-downlevel-shlwapi-l1-1-0.dll
0x76B40000 - 0x76BDD000  C:\Windows\syswow64\USP10.dll
0x76C70000 - 0x76D70000  C:\Windows\syswow64\USER32.dll
0x76D70000 - 0x76F89000  C:\Windows\syswow64\iertutil.dll
0x76FF0000 - 0x7707F000  C:\Windows\syswow64\OLEAUT32.dll
0x77080000 - 0x770AE000  C:\Windows\syswow64\WINTRUST.dll
0x770B0000 - 0x77110000  C:\Windows\syswow64\IMM32.dll
0x77110000 - 0x77122000  C:\Windows\syswow64\DEVOBJ.dll
0x77260000 - 0x77263000  C:\Windows\syswow64\normaliz.DLL
0x77270000 - 0x77390000  C:\Windows\syswow64\CRYPT32.dll
0x77390000 - 0x774EC000  C:\Windows\syswow64\ole32.dll
0x774F0000 - 0x774FB000  C:\Windows\syswow64\profapi.dll
0x77530000 - 0x776CD000  C:\Windows\syswow64\SETUPAPI.dll
0x776D0000 - 0x776E7000  C:\Windows\syswow64\USERENV.dll
0x776F0000 - 0x7776B000  C:\Windows\syswow64\comdlg32.dll
0x77770000 - 0x77880000  C:\Windows\syswow64\kernel32.dll
0x77C50000 - 0x77C54000  C:\Windows\syswow64\api-ms-win-downlevel-user32-l1-1-0.dll
0x77C80000 - 0x77E00000  C:\Windows\SysWOW64\ntdll.dll


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

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

6F4CD004: 8B 4B 20 D9  1C 24 50 8B  D7 E8 1E CC  2E 00 D9 EE  .K ..$P.........


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

* = addr                                         **                       *   
0018F6C0: 00 00 00 00  44 8B AC 3E  97 9C 62 6F  12 03 00 00  ....D..>..bo....
0018F6D0: FC 01 9C 14  00 00 00 00  05 00 00 00  90 00 A0 14  ................
0018F6E0: 58 01 9C 14  FC 01 9C 14  AF D7 60 6F  0D 00 00 00  X.........`o....
0018F6F0: 88 88 88 3C  FC 01 9C 14  00 00 00 00  12 03 00 00  ...<............
0018F700: 7C 8C B0 0D  58 01 9C 14  FF FF FF FF  0A D7 23 3C  |...X.........#<
0018F710: F7 D7 60 6F  58 01 9C 14  00 00 00 00  E6 5E 60 6F  ..`oX........^`o
0018F720: 58 01 9C 14  00 00 80 7F  AA 5F 60 6F  7C 8C B0 0D  X........_`o|...
0018F730: 58 01 9C 14  58 01 9C 14  B2 60 60 6F  44 F7 18 00  X...X....``oD...
0018F740: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
0018F750: 00 00 00 00  8F 67 60 6F  47 ED 5F 6F  C0 00 E5 0D  .....g`oG._o....
0018F760: 00 00 00 00  43 EF 5F 6F  00 00 00 00  00 00 00 00  ....C._o........
0018F770: 05 CD 57 6F  00 00 00 00  76 AE 58 6F  9A 99 99 3E  ..Wo....v.Xo...>
0018F780: F2 14 3B 6F  9A 99 99 3E  ED 3F DD 70  03 00 00 00  ..;o...>.?.p....
0018F790: 58 F8 18 00  84 07 1F 0A  B4 00 1D 0A  08 00 00 00  X...............
0018F7A0: E0 02 9D 0A  00 F8 18 00  B8 6E 83 6F  00 00 00 00  .........n.o....
0018F7B0: 9C 48 5C 6F  F4 00 1E 0A  84 07 1F 0A  BE 80 53 6F  .H\o..........So
0018F7C0: 9D AE 62 6F  58 F8 18 00  AD 3F DD 70  58 F8 18 00  ..boX....?.pX...
0018F7D0: BC 00 1F 09  1B 00 00 00  00 00 00 00  00 00 00 00  ................
0018F7E0: 04 00 00 00  F4 00 1E 0A  74 07 1F 0A  74 07 1F 0A  ........t...t...
0018F7F0: F4 05 1F 0A  00 D6 60 04  00 00 00 00  A8 00 00 00  ......`.........
0018F800: 70 F8 18 00  08 33 85 6F  00 00 00 00  70 AF 62 6F  p....3.o....p.bo
0018F810: 7E 00 09 40  58 F8 18 00  58 F8 18 00  28 24 98 6F  [email protected]...($.o
0018F820: 41 A2 62 6F  7E 00 09 40  58 F8 18 00  B8 00 1F 09  A.bo~..@X.......
0018F830: F7 83 53 6F  58 F8 18 00  00 00 00 00  B0 F8 18 00  ..SoX...........
0018F840: B8 00 1F 09  F6 A4 53 6F  58 F8 18 00  31 30 DD 70  ......SoX...10.p
0018F850: B0 00 1F 09  00 00 00 00  A0 A1 96 6F  00 00 00 00  ...........o....
0018F860: 7E 00 09 40  00 00 00 00  00 00 00 00  01 00 00 00  ~..@............
0018F870: 98 FB 18 00  18 72 84 6F  00 00 00 00  2B 33 55 6F  .....r.o....+3Uo
0018F880: B0 F8 18 00  E8 B4 96 6F  70 EC 53 6F  00 00 00 00  .......op.So....
0018F890: 00 00 00 00  00 00 00 00  00 00 00 00  C1 30 DD 70  .............0.p
0018F8A0: B0 00 1F 09  F0 00 4D 0D  1B 00 00 00  00 00 00 00  ......M.........
0018F8B0: 68 4D 94 6F  B0 03 4B 0D  00 00 00 00  FF FF FF FF  hM.o..K.........
0018F8C0: 04 00 00 00  04 00 00 00  02 00 00 00  1B 00 00 00  ................
0018F8D0: 00 00 00 00  0E E7 2E 64  F8 F8 18 00  04 F9 18 00  .......d........
0018F8E0: C0 F8 55 04  C0 F8 55 04  90 05 00 00  01 00 00 00  ..U...U.........
0018F8F0: 18 F9 18 00  D1 E8 2E 64  C0 F8 55 04  C0 0A E8 05  .......d..U.....
0018F900: 40 E0 05 06  1C F9 18 00  CF 71 0A 64  03 00 00 00  @........q.d....
0018F910: 00 00 00 00  80 5B 5C 04  A0 F9 18 00  A0 F9 18 00  .....[\.........
0018F920: B7 77 1C 64  00 00 00 00  80 E7 05 06  01 00 00 00  .w.d............
0018F930: 80 E7 05 06  5D CE 2D 64  98 0C 54 64  58 FA 18 00  ....].-d..TdX...
0018F940: 00 00 00 00  00 00 00 00  25 1D 00 00  80 E7 05 06  ........%.......
0018F950: 00 08 55 04  00 00 00 00  FF FF FF FF  C0 C1 60 04  ..U...........`.
0018F960: 10 07 67 00  3C 00 00 00  80 5B 5C 04  01 00 00 00  ..g.<....[\.....
0018F970: 00 00 00 00  04 00 00 00  40 F8 61 00  3D 00 00 00  [email protected].=...
0018F980: D2 02 00 00  48 2E 55 04  01 00 00 00  02 00 00 00  ....H.U.........
0018F990: 00 00 00 00  00 00 00 00  90 05 00 00  D2 02 00 00  ................
0018F9A0: 00 FA 18 00  3B AA 1D 64  58 FA 18 00  FF FF 00 00  ....;..dX.......
0018F9B0: 5D 01 CA 77  F7 15 9A 76  01 00 00 00  00 FA 18 00  ]..w...v........
0018F9C0: 01 00 00 00  00 00 00 00  62 16 9A 76  C3 62 D2 70  ........b..v.b.p
0018F9D0: 01 00 00 00  74 FA 18 00  74 FA 18 00  24 00 00 00  ....t...t...$...
0018F9E0: 01 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
0018F9F0: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
0018FA00: 98 44 00 00  DC AA 1D 64  58 FA 18 00  00 08 55 04  .D.....dX.....U.
0018FA10: 03 00 00 00  EA B1 2F 64  00 07 67 00  E0 B7 34 03  ....../d..g...4.
0018FA20: 01 00 00 00  00 00 00 00  00 00 00 00  58 FA 18 00  ............X...
0018FA30: C8 FA 18 00  F0 3A C4 57  AC FA 18 00  50 D3 45 00  .....:.W....P.E.
0018FA40: 00 00 00 00  00 00 00 00  C8 FA 18 00  A4 FA 18 00  ................
0018FA50: 98 22 61 08  00 00 00 00  74 FA 18 00  69 46 C4 57  ."a.....t...iF.W
0018FA60: AC FA 18 00  00 00 00 00  00 00 00 00  08 26 61 08  .............&a.
0018FA70: 88 FA 18 00  93 31 C4 57  E0 FA 18 00  F0 97 B4 07  .....1.W........
0018FA80: F0 97 B4 07  F0 97 B4 07  B8 FA 18 00  AC 45 C4 57  .............E.W
0018FA90: A4 FA 18 00  FC 74 01 00  00 00 00 00  38 97 B4 07  .....t......8...
0018FAA0: 00 00 00 00  50 00 5F 08  A8 89 01 00  50 D3 45 00  ....P._.....P.E.
0018FAB0: 00 00 00 00  00 00 00 00  E4 FA 18 00  0F 62 C4 57  .............b.W
0018FAC0: E0 FA 18 00  DC FA 18 00  00 00 00 00  E0 99 B4 07  ................


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


edit: here's a link to the map. http://www.hiveworkshop.com/forums/pastebin.php?id=ezguzs
 
Last edited:

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,195
It is caused by a null pointer exception ("referenced memory at '0x00000020'" indicates a struct dereference of null (0)). Sadly that is all we can pull from the log without the source code or spending hundreds of hours going through a disassembly line by line.

I also know you use a NVidia graphic card (with 3D vision installed), are using 64 bit Windows Vista/7 with the account Lukas (probably your name?) on a computer with network name GONDOLIN. Does not help solve the crash sadly ...

The crash may be caused by some invalid object data (some field has a value that crashes WC3). Try removing all object data (make a backup to prevent loss!) and see if it still crashes. With no custom object data we can rule our or identify it as a cause and so can start to look into what specific element is causing the problem.
 
This is a long shot since you already stated you removed all custom objects.
Have you edited any of the standard unit's description and used raw data code in said description?
The reason I ask is because I experienced crashed afterwards because the raw data was written wrong.
Fx: <A04G:DataB1> should be <A04G:AOsf,DataB1>.

I know it's a long shot.
 

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,183
@DSG

I extracted it, and nope. Still doesn't work.

@solu9
hm, I will check modified objects and take a look.

edit: I got a few custom objects that I can't delete (because there are original items with changed values) but all of them just had an another model or scale. No negative numbers or odd stuff like that. And nope I don't find anything like that.

edit: here's the map is someone wants to check it out. http://www.hiveworkshop.com/forums/pastebin.php?id=ezguzs
 

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,183
solved it myself. This is what I did in case someone reads this later on and wants to know how to debug.

1. create a new map with the same size and tileset as the original one.
2. extract all files inside the custom map (mpq editors can do this)
3. import and replace the files in the empty map one by one, then test run. Once it crashes you know which file it is that cause the trouble.

in my case it was "war3mapSkin.txt" which had an font that apparently didn't exist.
 
Status
Not open for further replies.
Top