HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

PolledWait Crashing Game?

01-29-2008, 09:10 AM#1
Spectralist
Collapse JASS:
function Trig_Ice_Arrows_Effect_Conditions takes nothing returns boolean
    if ( not ( GetItemTypeId(UnitItemInSlotBJ(GetAttacker(), 1)) == 'I001' ) ) then
        return false
    endif
    return true
endfunction

function Trig_Ice_Arrows_Effect_Actions takes nothing returns nothing
    local unit slowward
    local location temp1 = GetUnitLoc(GetAttacker())
    local location temp2 = GetUnitLoc(GetAttackedUnitBJ())
    local real wait1 = DistanceBetweenPoints(temp1, temp2)
    call PolledWait( ( wait1 / 1200.00 ) )
    call CreateNUnitsAtLoc( 1, 'u001', GetOwningPlayer(GetAttacker()), temp2, bj_UNIT_FACING )
    set slowward = GetLastCreatedUnit()
    call SetUnitAbilityLevelSwapped( 'A008', slowward, GetItemCharges(UnitItemInSlotBJ(GetAttacker(), 1)) )
    
    call RemoveLocation(temp1)
    call RemoveLocation(temp2)
    
    call PolledWait( 4.00 )
    call KillUnit( slowward )
    call PolledWait( 0.5 )
    call RemoveUnit( slowward )
endfunction

//===========================================================================
function InitTrig_Ice_Arrows_Effect takes nothing returns nothing
    set gg_trg_Ice_Arrows_Effect = CreateTrigger(  )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_Ice_Arrows_Effect, EVENT_PLAYER_UNIT_ATTACKED )
    call TriggerAddCondition( gg_trg_Ice_Arrows_Effect, Condition( function Trig_Ice_Arrows_Effect_Conditions ) )
    call TriggerAddAction( gg_trg_Ice_Arrows_Effect, function Trig_Ice_Arrows_Effect_Actions )
endfunction

After a few dozen calls of this spell the game crashes.(with either, PRIV_INSTRUCTION or 'the memory could not be written'. I'm not sure if that's useful information or not)

Commenting out
Collapse JASS:
    //call PolledWait( 4.00 )
    call KillUnit( slowward )
    //call PolledWait( 0.5 )
    call RemoveUnit( slowward )
Seems to fix the crash. I can make do without the waits here. But i need to know why they are crashing it as i'm going to need similar code elsewhere.
Any advice is appreciated.
01-29-2008, 10:57 AM#2
cohadar
all waits sux balls, but PooledWait is a suckball world champion.

Learn to use timers.
01-29-2008, 03:08 PM#3
DioD
it may thread crush cos 3 w8s inside and last one w8 less then triggersleep limit allow.
01-29-2008, 03:53 PM#4
Captain Griffen
Removing a unit that you don't know exists is bad. If it dies and then decays/something happens to it before you remove it, it could screw up.
01-29-2008, 04:09 PM#5
PipeDream
Go to your Warcraft III\Errors folder and post a couple of the most recent Crash.txt files.
01-29-2008, 05:28 PM#6
Spectralist
Quote:
Originally Posted by Captain Griffen
Removing a unit that you don't know exists is bad. If it dies and then decays/something happens to it before you remove it, it could screw up.
It's caused crashes even while nothing effected by the ability dies. Although that's definitely something to keep in mind, it seems to crash much more often when i make the decay times real low and kill a bunch of units effected by this ability. So it's probable that that was contributing to the crashes, but theres at least one more crash inducing problem

Quote:
Originally Posted by PipeDream
Go to your Warcraft III\Errors folder and post a couple of the most recent Crash.txt files.

Hidden information:
This application has encountered a critical error:

FATAL ERROR!

Program: C:\Program Files\Warcraft III\War3.exe
Exception: 0xC0000096 (PRIV_INSTRUCTION) at 001B:0028055A




War3Build: 1.21.0
Played Maps\Test\WorldEditTestMap.w3x
Player 0 <Unused> Race Undead StartLoc -1
Player 1 <Unused> Race NightElf StartLoc -1
Player 2 <Unused> Race Human StartLoc -1
Player 3 <Unused> Race Human StartLoc -1
Player 4 <Unused> Race Human StartLoc -1
Player 5 <Unused> Race Human StartLoc -1
Player 6 Spectralist Race Human StartLoc 0
Player 7 Race Human StartLoc 1
Player 8 Race Human StartLoc 2
Player 9 Race Human StartLoc 3
Player 10 Race Human StartLoc 4
Player 11 Race Human StartLoc 5
------------------------------------------------------------------------------

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

EAX=0BA0B5C4 EBX=0AD690EC ECX=0012F044 EDX=0012F02C ESI=00000000
EDI=00000000 EBP=0012F1FC ESP=0012F1E0 EIP=0028055A FLG=00010246
CS =001B DS =0023 ES =0023 SS =0023 FS =003B GS =0000


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

Address Frame Logical addr Module

0028055A 0012F1FC 0000:00000000 <unknown>
00441E8F 0012F224 0001:00040E8F C:\Program Files\Warcraft III\War3.exe
6F666F49 0012F230 0001:00665F49 C:\Program Files\Warcraft III\Game.dll
6F67405A 0012F250 0001:0067305A C:\Program Files\Warcraft III\Game.dll
6F673F9B 0012F264 0001:00672F9B C:\Program Files\Warcraft III\Game.dll
6F6795F6 0012F278 0001:006785F6 C:\Program Files\Warcraft III\Game.dll
6F084FB0 0012F2AC 0001:00083FB0 C:\Program Files\Warcraft III\Game.dll
6F081704 0012F2D0 0001:00080704 C:\Program Files\Warcraft III\Game.dll
6F0F5BC8 0012F2DC 0001:000F4BC8 C:\Program Files\Warcraft III\Game.dll
004418AD 0012F318 0001:000408AD C:\Program Files\Warcraft III\War3.exe
00441E44 0012F330 0001:00040E44 C:\Program Files\Warcraft III\War3.exe
00441E71 0012F344 0001:00040E71 C:\Program Files\Warcraft III\War3.exe
6F2863D7 0012F35C 0001:002853D7 C:\Program Files\Warcraft III\Game.dll
6F2920BA 0012F3A4 0001:002910BA C:\Program Files\Warcraft III\Game.dll
6F292293 0012F3E4 0001:00291293 C:\Program Files\Warcraft III\Game.dll
004448F1 0012F40C 0001:000438F1 C:\Program Files\Warcraft III\War3.exe
0044467A 0012F468 0001:0004367A C:\Program Files\Warcraft III\War3.exe
00444501 0012F57C 0001:00043501 C:\Program Files\Warcraft III\War3.exe
00401219 0012F628 0001:00000219 C:\Program Files\Warcraft III\War3.exe
00401D68 0012F6C4 0001:00000D68 C:\Program Files\Warcraft III\War3.exe
0012FFB0 0012FF34 0000:00000000 <unknown>
004DF148 0012FFC0 0004:0007C148 C:\Program Files\Warcraft III\War3.exe
7C816D4F 0012FFF0 0001:00015D4F C:\WINDOWS\system32\kernel32.dll

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

0028055A <unknown module> <unknown symbol>+0 (0x065F021C,0x6F080F99,0x0012F244,0x0BF15594)
00441E8F War3.exe CC+15 (0x00000000,0x0012F250,0x6F67405A,0x00000001)
6F666F49 Game.dll <unknown symbol>+0 (0x00000001,0x0012F243,0x00000000,0x00000D20)
6F67405A Game.dll <unknown symbol>+0 (0x00000000,0x07039384,0x0BF15594,0x0012F278)
6F673F9B Game.dll <unknown symbol>+0 (0x00000000,0x02FE00A4,0x02FE00A8,0x0012F2AC)
6F6795F6 Game.dll <unknown symbol>+0 (0x07039384,0x02FE00EC,0x02FE0090,0x02FE00A4)
6F084FB0 Game.dll <unknown symbol>+0 (0x04BA4F74,0x04BA02A4,0x04B950F4,0x0012F3C4)
6F081704 Game.dll <unknown symbol>+0 (0x6F2862AE,0x0012F318,0x004418AD,0x0012F374)
6F0F5BC8 Game.dll <unknown symbol>+0 (0x0012F374,0x00000002,0x043200BC,0x00000000)
004418AD War3.exe Ii+1821 (0x40090092,0x0012F374,0x0012F374,0x0044D398)
00441E44 War3.exe LV+36 (0x40090092,0x0012F374,0x043200B8,0x0012F35C)
00441E71 War3.exe CZ+17 (0x0012F374,0x043200B8,0x043200B0,0x00000005)
6F2863D7 Game.dll <unknown symbol>+0 (0x0012F374,0x0012F3C4,0x043200B0,0x02BC0148)
6F2920BA Game.dll <unknown symbol>+0 (0x00000019,0x02BC0148,0x00447B7B,0x02A900C8)
6F292293 Game.dll <unknown symbol>+0 (0x0012F3FC,0x00000102,0x02A900B8,0x00000000)
004448F1 War3.exe <unknown symbol>+0 (0x7C801D77,0x6F000000,0x7C80AC28,0x69676E45)
0044467A War3.exe <unknown symbol>+0 (0x00000000,0x6F006007,0x505C3A43,0x72676F72)
00444501 War3.exe <unknown symbol>+0 (0x6F000000,0x00403000,0x001422F1,0x00000000)
00401219 War3.exe Ordinal12+4618 (0x00400000,0x00000000,0x001422F1,0x0000000A)
00401D68 War3.exe II+2248 (0x004630C0,0x00000000,0x00000000,0x7FFD7000)
0012FFB0 <unknown module> <unknown symbol>+0 (0x00400000,0x00000000,0x001422F1,0x0000000A)
004DF148 War3.exe <unknown symbol>+0 (0x00000000,0x00000000,0x7FFD7000,0x8054A6ED)
7C816D4F kernel32.dll RegisterWaitForInputIdle+73 (0x004DF07A,0x00000000,0x78746341,0x00000020)


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

0x00400000 - 0x0057D000 War3.exe
0x01390000 - 0x014EA000 d3d8d.dll
0x0B700000 - 0x0B70F000 btkeyind.dll
0x0FFD0000 - 0x0FFF8000 rsaenh.dll
0x10000000 - 0x10016000 CmdLineExt02.dll
0x15000000 - 0x15067000 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
0x5B860000 - 0x5B8B4000 netapi32.dll
0x5D090000 - 0x5D127000 COMCTL32.dll
0x5ED00000 - 0x5EDCC000 OPENGL32.dll
0x60000000 - 0x6005D000 ijl15.dll
0x629C0000 - 0x629C9000 LPK.DLL
0x68B20000 - 0x68B40000 GLU32.dll
0x69500000 - 0x69B84000 nvoglnt.dll
0x6D990000 - 0x6D996000 d3d8thk.dll
0x6F000000 - 0x6F924000 Game.dll
0x71A50000 - 0x71A8F000 mswsock.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
0x74720000 - 0x7476B000 MSCTF.dll
0x74D90000 - 0x74DFB000 USP10.dll
0x755C0000 - 0x755EE000 msctfime.ime
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
0x76F60000 - 0x76F8C000 WLDAP32.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
0x7C800000 - 0x7C8F4000 kernel32.dll
0x7C900000 - 0x7C9B0000 ntdll.dll
0x7C9C0000 - 0x7D1D4000 SHELL32.dll


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

Code: 16 bytes starting at (EIP = 0028055A)

0028055A: FA 01 01 02 0A 02 11 02 15 02 19 02 1D 02 21 02 ..............!.


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

* = addr ** *
0012F1E0: DF 19 44 00 94 55 F1 0B 84 93 03 07 1C 02 5F 06 ..D..U........_.
0012F1F0: 00 00 00 00 C4 B5 A0 0B 8C 23 B8 04 24 F2 12 00 .........#..$...
0012F200: 8F 1E 44 00 1C 02 5F 06 99 0F 08 6F 44 F2 12 00 ..D..._....oD...
0012F210: 94 55 F1 0B FF 0E 08 6F 00 00 00 00 94 55 F1 0B .U.....o.....U..
0012F220: 84 93 03 07 30 F2 12 00 49 6F 66 6F 00 00 00 00 ....0...Iofo....
0012F230: 50 F2 12 00 5A 40 67 6F 01 00 00 00 43 F2 12 00 [email protected]...
0012F240: 00 00 00 00 20 0D 00 00 ED 3A 02 00 00 00 00 00 .... ....:......
0012F250: 64 F2 12 00 9B 3F 67 6F 00 00 00 00 84 93 03 07 d....?go........
0012F260: 94 55 F1 0B 78 F2 12 00 F6 95 67 6F 00 00 00 00 .U..x.....go....
0012F270: A4 00 FE 02 A8 00 FE 02 AC F2 12 00 B0 4F 08 6F .............O.o
0012F280: 84 93 03 07 EC 00 FE 02 90 00 FE 02 A4 00 FE 02 ................
0012F290: B0 07 EF 07 A4 00 FE 02 CB 01 00 00 96 03 00 00 ................
0012F2A0: 88 5F 03 07 93 B6 2E 40 CB 01 00 00 D0 F2 12 00 ._.....@........
0012F2B0: 04 17 08 6F 74 4F BA 04 A4 02 BA 04 F4 50 B9 04 ...otO.......P..
0012F2C0: C4 F3 12 00 88 F3 12 00 00 00 00 00 93 B6 2E 40 ...............@
0012F2D0: DC F2 12 00 C8 5B 0F 6F AE 62 28 6F 18 F3 12 00 .....[.o.b(o....
0012F2E0: AD 18 44 00 74 F3 12 00 02 00 00 00 BC 00 32 04 ..D.t.........2.
0012F2F0: 00 00 00 00 84 01 BA 04 22 22 43 00 00 00 00 00 ........""C.....
0012F300: CC 04 22 07 42 00 32 04 A4 02 BA 04 AC 02 BA 04 ..".B.2.........
0012F310: 84 02 B8 04 00 00 00 00 30 F3 12 00 44 1E 44 00 ........0...D.D.
0012F320: 92 00 09 40 74 F3 12 00 74 F3 12 00 98 D3 44 00 [email protected].
0012F330: 44 F3 12 00 71 1E 44 00 92 00 09 40 74 F3 12 00 D...q.D....@t...
0012F340: B8 00 32 04 5C F3 12 00 D7 63 28 6F 74 F3 12 00 ..2.\....c(ot...
0012F350: B8 00 32 04 B0 00 32 04 05 00 00 00 A4 F3 12 00 ..2...2.........
0012F360: BA 20 29 6F 74 F3 12 00 C4 F3 12 00 B0 00 32 04 . )ot.........2.
0012F370: 48 01 BC 02 7C 03 72 6F 00 00 00 00 92 00 09 40 H...|.ro.......@
0012F380: 00 00 00 00 00 00 00 00 0A D7 A3 3B 78 9D 50 00 ...........;x.P.
0012F390: 0F 00 00 00 0F 00 00 00 00 00 00 00 00 00 00 00 ................
0012F3A0: 02 00 00 00 E4 F3 12 00 93 22 29 6F 19 00 00 00 .........")o....
0012F3B0: 48 01 BC 02 7B 7B 44 00 C8 00 A9 02 B8 00 A9 02 H...{{D.........
0012F3C0: 00 00 00 00 48 01 BC 02 E8 00 BC 02 C0 00 00 00 ....H...........
0012F3D0: 0B 67 BC 00 00 00 00 00 01 00 00 00 05 00 00 00 .g..............
0012F3E0: 50 01 A9 02 0C F4 12 00 F1 48 44 00 FC F3 12 00 P........HD.....
0012F3F0: 02 01 00 00 B8 00 A9 02 00 00 00 00 90 C2 75 3C ..............u<
0012F400: 17 61 47 02 0F 00 00 00 00 00 00 00 68 F4 12 00 .aG.........h...
0012F410: 7A 46 44 00 77 1D 80 7C 00 00 00 6F 28 AC 80 7C zFD.w..|...o(..|
0012F420: 45 6E 67 69 6E 65 20 61 63 63 00 00 10 B1 44 00 Engine acc....D.
0012F430: 72 6F 67 72 94 20 00 00 58 F4 12 00 07 60 00 6F rogr. ..X....`.o
0012F440: 02 00 00 00 B4 F6 12 00 77 1D 80 7C 02 00 00 00 ........w..|....
0012F450: 0F 00 10 00 7C E5 90 7C 38 9C 80 7C 94 20 00 00 ....|..|8..|. ..
0012F460: 17 61 47 02 00 00 00 00 7C F5 12 00 01 45 44 00 .aG.....|....ED.
0012F470: 00 00 00 00 07 60 00 6F 43 3A 5C 50 72 6F 67 72 .....`.oC:\Progr
0012F480: 61 6D 20 46 69 6C 65 73 5C 57 61 72 63 72 61 66 am Files\Warcraf
0012F490: 74 20 49 49 49 5C 4C 6F 67 73 00 65 78 65 00 7F t III\Logs.exe..
0012F4A0: 40 34 24 00 58 E4 80 7C 20 31 7E 6F F8 E5 80 7C @4$.X..| 1~o...|
0012F4B0: 50 34 24 00 84 F5 12 00 00 00 00 6F 00 00 00 00 P4$........o....
0012F4C0: D8 F4 12 00 D8 F4 12 00 00 00 00 00 44 00 00 00 ............D...
0012F4D0: 40 34 24 00 A0 5F 00 6F 00 00 47 61 6D 65 4D 61 @4$.._.o..GameMa
0012F4E0: 69 6E 00 7C FF FF FF FF 6D 05 91 7C E6 1B 80 7C in.|....m..|...|
0012F4F0: 00 00 14 00 00 00 00 00 F6 1B 80 7C 77 1D 80 7C ...........|w..|
0012F500: 00 00 40 1C 28 AC 80 7C 3E 04 40 04 40 1A 17 00 ..@.(..|>.@.@...
0012F510: 10 00 12 00 00 FC FD 7F E6 10 00 00 90 F4 12 00 ................
0012F520: 40 1A 17 00 B4 F6 12 00 18 EE 90 7C F0 9A 91 7C @..........|...|
0012F530: FF FF FF FF EB 9A 91 7C A0 9B 91 7C 00 00 00 6F .......|...|...o
0012F540: 70 F5 12 00 00 00 00 00 84 F5 12 00 01 00 00 00 p...............
0012F550: 78 F5 12 00 66 AC 80 7C 78 F5 12 00 78 AC 80 7C x...f..|x...x..|
0012F560: 00 00 00 6F 00 00 00 00 77 1D 80 7C 28 AC 80 7C ...o....w..|(..|
0012F570: 08 00 09 00 A4 34 45 00 28 F6 12 00 28 F6 12 00 .....4E.(...(...
0012F580: 19 12 40 00 00 00 00 6F 00 30 40 00 F1 22 14 00 [email protected]@.."..
0012F590: 00 00 00 00 00 02 4A 00 00 00 00 00 77 4E 90 AD ......J.....wN..
0012F5A0: 5C 78 0D 4C D7 3B F3 F2 E8 25 D3 C9 DE EE FC 6A \x.L.;...%.....j
0012F5B0: 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0012F5C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0012F5D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................


Hidden information:

This application has encountered a critical error:

FATAL ERROR!

Program: C:\Program Files\Warcraft III\War3.exe
Exception: 0xC0000005 (ACCESS_VIOLATION) at 001B:001C0718

The instruction at '0x001C0718' referenced memory at '0x593A5180'.
The memory could not be 'written'.


War3Build: 1.21.0
Played Maps\Test\WorldEditTestMap.w3x
Player 0 <Unused> Race NightElf StartLoc -1
Player 1 <Unused> Race Undead StartLoc -1
Player 2 <Unused> Race NightElf StartLoc -1
Player 3 <Unused> Race Human StartLoc -1
Player 4 <Unused> Race Orc StartLoc -1
Player 5 <Unused> Race Undead StartLoc -1
Player 6 Spectralist Race Human StartLoc 0
Player 7 Race Human StartLoc 1
Player 8 Race Human StartLoc 2
Player 9 Race Human StartLoc 3
Player 10 Race Human StartLoc 4
Player 11 Race Human StartLoc 5
------------------------------------------------------------------------------

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

EAX=593A5180 EBX=0ADE91FC ECX=0012F044 EDX=0012F02C ESI=00000000
EDI=004419DF EBP=0012F1FC ESP=0012F1CC EIP=001C0718 FLG=00010282
CS =001B DS =0023 ES =0023 SS =0023 FS =003B GS =0000


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

Address Frame Logical addr Module

001C0718 0012F1FC 0000:00000000 <unknown>
00441E8F 0012F224 0001:00040E8F C:\Program Files\Warcraft III\War3.exe
6F666F49 0012F230 0001:00665F49 C:\Program Files\Warcraft III\Game.dll
6F67405A 0012F250 0001:0067305A C:\Program Files\Warcraft III\Game.dll
6F673F9B 0012F264 0001:00672F9B C:\Program Files\Warcraft III\Game.dll
6F6795F6 0012F278 0001:006785F6 C:\Program Files\Warcraft III\Game.dll
6F084FB0 0012F2AC 0001:00083FB0 C:\Program Files\Warcraft III\Game.dll
6F081704 0012F2D0 0001:00080704 C:\Program Files\Warcraft III\Game.dll
6F0F5BC8 0012F2DC 0001:000F4BC8 C:\Program Files\Warcraft III\Game.dll
004418AD 0012F318 0001:000408AD C:\Program Files\Warcraft III\War3.exe
00441E44 0012F330 0001:00040E44 C:\Program Files\Warcraft III\War3.exe
00441E71 0012F344 0001:00040E71 C:\Program Files\Warcraft III\War3.exe
6F2863D7 0012F35C 0001:002853D7 C:\Program Files\Warcraft III\Game.dll
6F2920BA 0012F3A4 0001:002910BA C:\Program Files\Warcraft III\Game.dll
6F292293 0012F3E4 0001:00291293 C:\Program Files\Warcraft III\Game.dll
004448F1 0012F40C 0001:000438F1 C:\Program Files\Warcraft III\War3.exe
0044467A 0012F468 0001:0004367A C:\Program Files\Warcraft III\War3.exe
00444501 0012F57C 0001:00043501 C:\Program Files\Warcraft III\War3.exe
00401219 0012F628 0001:00000219 C:\Program Files\Warcraft III\War3.exe
00401D68 0012F6C4 0001:00000D68 C:\Program Files\Warcraft III\War3.exe
0012FFB0 0012FF34 0000:00000000 <unknown>
004DF148 0012FFC0 0004:0007C148 C:\Program Files\Warcraft III\War3.exe
7C816D4F 0012FFF0 0001:00015D4F C:\WINDOWS\system32\kernel32.dll

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

001C0718 <unknown module> <unknown symbol>+0 (0x065F0F54,0x6F080F99,0x0012F244,0x0AD89470)
00441E8F War3.exe CC+15 (0x00000000,0x0012F250,0x6F67405A,0x00000001)
6F666F49 Game.dll <unknown symbol>+0 (0x00000001,0x0012F243,0x00000000,0x00000F1E)
6F67405A Game.dll <unknown symbol>+0 (0x00000000,0x07033CB0,0x0AD89470,0x0012F278)
6F673F9B Game.dll <unknown symbol>+0 (0x00000000,0x02FE00A4,0x02FE00A8,0x0012F2AC)
6F6795F6 Game.dll <unknown symbol>+0 (0x07033CB0,0x02FE00EC,0x02FE0090,0x02FE00A4)
6F084FB0 Game.dll <unknown symbol>+0 (0x04BA53D4,0x04BA02A4,0x04B94124,0x0012F3C4)
6F081704 Game.dll <unknown symbol>+0 (0x6F2862AE,0x0012F318,0x004418AD,0x0012F374)
6F0F5BC8 Game.dll <unknown symbol>+0 (0x0012F374,0x00000002,0x043200BC,0x00000000)
004418AD War3.exe Ii+1821 (0x40090092,0x0012F374,0x0012F374,0x0044D398)
00441E44 War3.exe LV+36 (0x40090092,0x0012F374,0x043200B8,0x0012F35C)
00441E71 War3.exe CZ+17 (0x0012F374,0x043200B8,0x043200B0,0x00000005)
6F2863D7 Game.dll <unknown symbol>+0 (0x0012F374,0x0012F3C4,0x043200B0,0x02BC0148)
6F2920BA Game.dll <unknown symbol>+0 (0x00000019,0x02BC0148,0x00447B7B,0x02A900C8)
6F292293 Game.dll <unknown symbol>+0 (0x0012F3FC,0x00000102,0x02A900B8,0x00000000)
004448F1 War3.exe <unknown symbol>+0 (0x7C801D77,0x6F000000,0x7C80AC28,0x69676E45)
0044467A War3.exe <unknown symbol>+0 (0x00000000,0x6F006007,0x505C3A43,0x72676F72)
00444501 War3.exe <unknown symbol>+0 (0x6F000000,0x00403000,0x001422F1,0x00000000)
00401219 War3.exe Ordinal12+4618 (0x00400000,0x00000000,0x001422F1,0x0000000A)
00401D68 War3.exe II+2248 (0x004630C0,0x00000000,0x00000000,0x7FFDB000)
0012FFB0 <unknown module> <unknown symbol>+0 (0x00400000,0x00000000,0x001422F1,0x0000000A)
004DF148 War3.exe <unknown symbol>+0 (0x00000000,0x00000000,0x7FFDB000,0x8054A6ED)
7C816D4F kernel32.dll RegisterWaitForInputIdle+73 (0x004DF07A,0x00000000,0x78746341,0x00000020)


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

0x00400000 - 0x0057D000 War3.exe
0x01390000 - 0x014EA000 d3d8d.dll
0x0B850000 - 0x0B85F000 btkeyind.dll
0x0FFD0000 - 0x0FFF8000 rsaenh.dll
0x10000000 - 0x10016000 CmdLineExt02.dll
0x15000000 - 0x15067000 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
0x5B860000 - 0x5B8B4000 netapi32.dll
0x5D090000 - 0x5D127000 COMCTL32.dll
0x5ED00000 - 0x5EDCC000 OPENGL32.dll
0x60000000 - 0x6005D000 ijl15.dll
0x629C0000 - 0x629C9000 LPK.DLL
0x68B20000 - 0x68B40000 GLU32.dll
0x69500000 - 0x69B84000 nvoglnt.dll
0x6D990000 - 0x6D996000 d3d8thk.dll
0x6F000000 - 0x6F924000 Game.dll
0x71A50000 - 0x71A8F000 mswsock.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
0x74720000 - 0x7476B000 MSCTF.dll
0x74D90000 - 0x74DFB000 USP10.dll
0x755C0000 - 0x755EE000 msctfime.ime
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
0x76F60000 - 0x76F8C000 WLDAP32.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
0x7C800000 - 0x7C8F4000 kernel32.dll
0x7C900000 - 0x7C9B0000 ntdll.dll
0x7C9C0000 - 0x7D1D4000 SHELL32.dll


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

Code: 16 bytes starting at (EIP = 001C0718)

001C0718: 00 00 00 00 5C 00 50 00 72 00 6F 00 67 00 72 00 ....\.P.r.o.g.r.


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

* = addr ** *
0012F1C0: 78 BA 12 00 E0 75 D5 77 A4 BA 12 00 00 00 00 00 x....u.w........
0012F1D0: FC F1 12 00 E8 F1 12 00 FC 91 DE 0A 2C F0 12 00 ............,...
0012F1E0: 44 F0 12 00 70 94 D8 0A B0 3C 03 07 54 0F 5F 06 D...p....<..T._.
0012F1F0: 00 00 00 00 34 A1 A7 0B 7C 20 B8 04 24 F2 12 00 ....4...| ..$...
0012F200: 8F 1E 44 00 54 0F 5F 06 99 0F 08 6F 44 F2 12 00 ..D.T._....oD...
0012F210: 70 94 D8 0A FF 0E 08 6F 00 00 00 00 70 94 D8 0A p......o....p...
0012F220: B0 3C 03 07 30 F2 12 00 49 6F 66 6F 00 00 00 00 .<..0...Iofo....
0012F230: 50 F2 12 00 5A 40 67 6F 01 00 00 00 43 F2 12 00 [email protected]...
0012F240: 00 00 00 00 1E 0F 00 00 CD 3C 00 00 00 00 00 00 .........<......
0012F250: 64 F2 12 00 9B 3F 67 6F 00 00 00 00 B0 3C 03 07 d....?go.....<..
0012F260: 70 94 D8 0A 78 F2 12 00 F6 95 67 6F 00 00 00 00 p...x.....go....
0012F270: A4 00 FE 02 A8 00 FE 02 AC F2 12 00 B0 4F 08 6F .............O.o
0012F280: B0 3C 03 07 EC 00 FE 02 90 00 FE 02 A4 00 FE 02 .<..............
0012F290: 28 05 EF 07 A4 00 FE 02 7F 00 00 00 FE 00 00 00 (...............
0012F2A0: 80 03 03 07 1D C9 1E 42 7F 00 00 00 D0 F2 12 00 .......B........
0012F2B0: 04 17 08 6F D4 53 BA 04 A4 02 BA 04 24 41 B9 04 ...o.S......$A..
0012F2C0: C4 F3 12 00 88 F3 12 00 00 00 00 00 1D C9 1E 42 ...............B
0012F2D0: DC F2 12 00 C8 5B 0F 6F AE 62 28 6F 18 F3 12 00 .....[.o.b(o....
0012F2E0: AD 18 44 00 74 F3 12 00 02 00 00 00 BC 00 32 04 ..D.t.........2.
0012F2F0: 00 00 00 00 84 01 BA 04 44 1E 44 00 00 00 00 00 ........D.D.....
0012F300: 30 F3 12 00 42 00 12 00 A4 02 BA 04 AC 02 BA 04 0...B...........
0012F310: 84 02 B8 04 00 00 00 00 30 F3 12 00 44 1E 44 00 ........0...D.D.
0012F320: 92 00 09 40 74 F3 12 00 74 F3 12 00 98 D3 44 00 [email protected].
0012F330: 44 F3 12 00 71 1E 44 00 92 00 09 40 74 F3 12 00 D...q.D....@t...
0012F340: B8 00 32 04 5C F3 12 00 D7 63 28 6F 74 F3 12 00 ..2.\....c(ot...
0012F350: B8 00 32 04 B0 00 32 04 05 00 00 00 A4 F3 12 00 ..2...2.........
0012F360: BA 20 29 6F 74 F3 12 00 C4 F3 12 00 B0 00 32 04 . )ot.........2.
0012F370: 48 01 BC 02 7C 03 72 6F 00 00 00 00 92 00 09 40 H...|.ro.......@
0012F380: 00 00 00 00 00 00 00 00 0A D7 A3 3B 78 9D 50 00 ...........;x.P.
0012F390: 20 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 ... ...........
0012F3A0: 02 00 00 00 E4 F3 12 00 93 22 29 6F 19 00 00 00 .........")o....
0012F3B0: 48 01 BC 02 7B 7B 44 00 C8 00 A9 02 B8 00 A9 02 H...{{D.........
0012F3C0: 00 00 00 00 48 01 BC 02 E8 00 BC 02 C0 00 00 00 ....H...........
0012F3D0: 0B 67 BC 00 00 00 00 00 01 00 00 00 05 00 00 00 .g..............
0012F3E0: 50 01 A9 02 0C F4 12 00 F1 48 44 00 FC F3 12 00 P........HD.....
0012F3F0: 02 01 00 00 B8 00 A9 02 00 00 00 00 6F 12 03 3D ............o..=
0012F400: 8E 62 3A 02 20 00 00 00 00 00 00 00 68 F4 12 00 .b:. .......h...
0012F410: 7A 46 44 00 77 1D 80 7C 00 00 00 6F 28 AC 80 7C zFD.w..|...o(..|
0012F420: 45 6E 67 69 6E 65 20 66 64 34 00 00 10 B1 44 00 Engine fd4....D.
0012F430: 72 6F 67 72 94 20 00 00 58 F4 12 00 07 60 00 6F rogr. ..X....`.o
0012F440: 02 00 00 00 B4 F6 12 00 77 1D 80 7C 02 00 00 00 ........w..|....
0012F450: 0F 00 10 00 7C E5 90 7C 38 9C 80 7C 94 20 00 00 ....|..|8..|. ..
0012F460: 7E 62 3A 02 00 00 00 00 7C F5 12 00 01 45 44 00 ~b:.....|....ED.
0012F470: 00 00 00 00 07 60 00 6F 43 3A 5C 50 72 6F 67 72 .....`.oC:\Progr
0012F480: 61 6D 20 46 69 6C 65 73 5C 57 61 72 63 72 61 66 am Files\Warcraf
0012F490: 74 20 49 49 49 5C 4C 6F 67 73 00 65 78 65 00 7F t III\Logs.exe..
0012F4A0: 40 34 24 00 58 E4 80 7C 20 31 7E 6F F8 E5 80 7C @4$.X..| 1~o...|
0012F4B0: 50 34 24 00 84 F5 12 00 00 00 00 6F 00 00 00 00 P4$........o....
0012F4C0: D8 F4 12 00 D8 F4 12 00 00 00 00 00 44 00 00 00 ............D...
0012F4D0: 40 34 24 00 A0 5F 00 6F 00 00 47 61 6D 65 4D 61 @4$.._.o..GameMa
0012F4E0: 69 6E 00 7C FF FF FF FF 6D 05 91 7C E6 1B 80 7C in.|....m..|...|
0012F4F0: 00 00 14 00 00 00 00 00 F6 1B 80 7C 77 1D 80 7C ...........|w..|
0012F500: 00 00 40 1C 28 AC 80 7C 3E 04 40 04 40 1A 17 00 ..@.(..|>.@.@...
0012F510: 10 00 12 00 00 FC FD 7F 20 06 00 00 90 F4 12 00 ........ .......
0012F520: 40 1A 17 00 B4 F6 12 00 18 EE 90 7C F0 9A 91 7C @..........|...|
0012F530: FF FF FF FF EB 9A 91 7C A0 9B 91 7C 00 00 00 6F .......|...|...o
0012F540: 70 F5 12 00 00 00 00 00 84 F5 12 00 01 00 00 00 p...............
0012F550: 78 F5 12 00 66 AC 80 7C 78 F5 12 00 78 AC 80 7C x...f..|x...x..|
0012F560: 00 00 00 6F 00 00 00 00 77 1D 80 7C 28 AC 80 7C ...o....w..|(..|
0012F570: 08 00 09 00 A4 34 45 00 28 F6 12 00 28 F6 12 00 .....4E.(...(...
0012F580: 19 12 40 00 00 00 00 6F 00 30 40 00 F1 22 14 00 [email protected]@.."..
0012F590: 00 00 00 00 00 02 4A 00 00 00 00 00 77 4E 90 AD ......J.....wN..
0012F5A0: 5C 78 0D 4C D7 3B F3 F2 E8 25 D3 C9 DE EE FC 6A \x.L.;...%.....j
0012F5B0: 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0012F5C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

01-29-2008, 05:38 PM#7
Captain Griffen
It probably is the problem. Do this (a bit dirty, but should do the trick):

Collapse JASS:
    call PolledWait( 4.00 )
if GetUnitTypeId( slowward ) != 0 then
    call KillUnit( slowward )
    call PolledWait( 0.5 )
    if GetUnitTypeId( slowward ) != 0 then
        call RemoveUnit( slowward )
    endif
endif
01-29-2008, 10:09 PM#8
Toadcop
well anyway it's something "native" cause
Code:
The instruction at '0x001C0718' referenced memory at '0x593A5180'.
The memory could not be 'written'.
01-30-2008, 01:53 AM#9
PipeDream
oddly, not directly a JASS crash. presumably the bug griffen pointed out is smashing some blizzard structures.