actboy168 / YDWE

A Tool to Help the Creation of Warcraft III Map
GNU General Public License v3.0
463 stars 139 forks source link

yd_leak_monitor导致魔兽崩溃 #41

Open sumneko opened 9 years ago

sumneko commented 9 years ago

用YDWE的环境双开魔兽,2个魔兽均在疑似在生成报告时崩溃

Warcraft III (build 6387)

Exe: D:\魔兽争霸III\war3.exe Time: Feb 11, 2015 7:55:37.154 PM User: sunyijiu

Computer: RTS-SUNYIJIU

This application has encountered a critical error:

FATAL ERROR!

Program: D:\魔兽争霸III\war3.exe Exception: 0xC0000005 (ACCESS_VIOLATION) at 0023:6917E1E7

The instruction at '0x6917E1E7' referenced memory at '0x98CB9124'. The memory could not be 'read'.

War3Build: 1.24.4.6387 Played Maps\allstart\new_All_Star_Battle_2.9_editor.w3x Player 0 |cffffcc00[姝e湪娴嬭瘯涓璢|rWorldEdit锛堥箍鐩渾棣欙級 Race NightElf StartLoc 0 Player 1 鐜╁ 2 Race NightElf StartLoc 1 Player 2 鐜╁ 3 Race NightElf StartLoc 2 Player 3 鐜╁ 4 Race NightElf StartLoc 3 Player 4 鐜╁ 5 Race NightElf StartLoc 4 Player 5 |cffffcc00[姝e湪娴嬭瘯涓璢|rWorldEdit锛堝ぉ浣匡級 Race NightElf StartLoc 5 Player 6 鐜╁ 7 Race NightElf StartLoc 6 Player 7 鐜╁ 8 Race NightElf StartLoc 7 Player 8 鐜╁ 9 Race NightElf StartLoc 8 Player 9 鐜╁ 10 Race NightElf StartLoc 9 Player 10 |cff009900涓囩墿澶嶈嫃|r Race Undead StartLoc -1

Player 11 |cff0075ff鏋佸啲閰峰瘨|r Race Human StartLoc -1


x86 Registers

EAX=0FFF0090 EBX=1D40C6E0 ECX=E2332425 EDX=E7ACDEE4 ESI=0018F450 EDI=00000000 EBP=0018F3E0 ESP=0018F3E0 EIP=6917E1E7 FLG=00210206 CS =0023 DS =002B ES =002B SS =002B FS =0053 GS =002B


Stack Trace (Manual)

Address Frame Logical addr Module

6917E1EA 0018F3E0 0001:0000D1EA D:\魔兽争霸III\YDWE1.27.5测试版\bin\ydbase.dll 6FB51847 0018F4AC 0001:00000847 D:\魔兽争霸III\YDWE1.27.5测试版\plugin\warcraft3\yd_leak_monitor.dll 6FB51B1D 0018F740 0001:00000B1D D:\魔兽争霸III\YDWE1.27.5测试版\plugin\warcraft3\yd_leak_monitor.dll 025CDCC8 0018F7FC 0001:0045CCC8 D:\魔兽争霸III\Game.dll


Stack Trace (Using DBGHELP.DLL)

6917E1EA ydb base::warcraft3::jass::from_stringid+26 (0x00000000,0x19F598A3,0x0018F710,0x00000000)


Loaded Modules

0x00400000 - 0x0047D000 D:\魔兽争霸III\war3 0x02160000 - 0x02D34000 D:\魔兽争霸III\Game 0x10000000 - 0x1010A000 C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvSCPAPI.dll 0x15000000 - 0x15061000 D:\魔兽争霸III\Storm 0x195B0000 - 0x19678000 C:\Windows\system32\OPENGL32.dll 0x1DC60000 - 0x1DD65000 C:\Windows\system32\d3d8.dll 0x21100000 - 0x2115F000 D:\魔兽争霸III\mss32 0x22600000 - 0x22616000 D:\魔兽争霸III\redist\miles\Mssfast 0x22700000 - 0x22717000 D:\魔兽争霸III\redist\miles\Mssdolby 0x22C00000 - 0x22C18000 D:\魔兽争霸III\redist\miles\Msseax2 0x24600000 - 0x24611000 D:\魔兽争霸III\redist\miles\Reverb3 0x26F00000 - 0x26F2A000 D:\魔兽争霸III\redist\miles\Mp3dec 0x500F0000 - 0x5017A000 C:\Users\sunyijiu\AppData\Roaming\TaobaoProtect\TaobaoProtectSE.dll 0x540B0000 - 0x540D2000 C:\Windows\system32\GLU32.dll 0x59B90000 - 0x5A9FF000 C:\Windows\system32\nvd3dum.dll 0x60000000 - 0x6005D000 D:\魔兽争霸III\ijl15 0x67000000 - 0x67283000 C:\Windows\system32\nvapi.dll 0x69170000 - 0x691B2000 D:\魔兽争霸III\YDWE1.27.5测试版\bin\ydb 0x691C0000 - 0x6920A000 D:\魔兽争霸III\YDWE1.27.5测试版\bin\Slk 0x6D930000 - 0x6D9B4000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18201_none_ec80f00e8593ece5\COMCTL32.dll 0x6E390000 - 0x6E396000 C:\Windows\system32\d3d8thk.dll 0x6E600000 - 0x6E61A000 D:\魔兽争霸III\YDWE1.27.5测试版\bin\d3d8pr 0x6E620000 - 0x6E659000 C:\Windows\System32\MMDevApi.dll 0x6E750000 - 0x6E786000 C:\Windows\system32\AUDIOSES.DLL 0x6ED30000 - 0x6ED43000 D:\魔兽争霸III\YDWE1.27.5测试版\plugin\warcraft3\yd_mutil_warcra 0x6EE80000 - 0x6EE86000 D:\魔兽争霸III\YDWE1.27.5测试版\plugin\warcraft3\ydvirtual 0x6F4E0000 - 0x6F515000 D:\魔兽争霸III\YDWE1.27.5测试版\bin\luac 0x6F840000 - 0x6F857000 D:\魔兽争霸III\YDWE1.27.5测试版\plugin\warcraft3\yd_lua_eng 0x6FB50000 - 0x6FB60000 D:\魔兽争霸III\YDWE1.27.5测试版\plugin\warcraft3\yd_leak_moni 0x6FB60000 - 0x6FB6B000 D:\魔兽争霸III\YDWE1.27.5测试版\plugin\warcraft3\yd_jass_de 0x6FB70000 - 0x6FB8D000 D:\魔兽争霸III\YDWE1.27.5测试版\bin\boost_filesystem-vc100-mt-1 0x701D0000 - 0x701D7000 C:\Windows\system32\WSOCK32.dll 0x70CB0000 - 0x70D30000 C:\Windows\system32\uxtheme.dll 0x722A0000 - 0x722A9000 D:\魔兽争霸III\YDWE1.27.5测试版\plugin\warcraft3\ydjass 0x72300000 - 0x72308000 D:\魔兽争霸III\YDWE1.27.5测试版\bin\boost_system-vc100-mt-1 0x72AE0000 - 0x72BCB000 C:\Windows\system32\dbghelp.dll 0x72F00000 - 0x72FF5000 C:\Windows\System32\PROPSYS.dll 0x730F0000 - 0x7318B000 C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6229_none_d089f796442de10e\MSVCR80.dll 0x733B0000 - 0x733B6000 C:\Windows\system32\SensApi.dll 0x733C0000 - 0x733DC000 C:\Windows\system32\cryptnet.dll 0x733E0000 - 0x733F6000 C:\Windows\system32\GPAPI.dll 0x73450000 - 0x7348D000 C:\Windows\SysWOW64\bcryptprimitives.dll 0x734A0000 - 0x734A5000 C:\Windows\System32\wshtcpip.dll 0x734B0000 - 0x7356F000 C:\Windows\system32\MSVCR100.dll 0x73570000 - 0x735A8000 C:\Windows\system32\ncrypt.dll 0x735B0000 - 0x735EB000 C:\Windows\system32\rsaenh.dll 0x735F0000 - 0x73659000 C:\Windows\system32\MSVCP100.dll 0x73800000 - 0x73817000 C:\Windows\system32\bcrypt.dll 0x73820000 - 0x73837000 C:\Windows\system32\CRYPTSP.dll 0x73840000 - 0x7387C000 C:\Windows\system32\mswsock.dll 0x73A00000 - 0x73A08000 C:\Windows\system32\Secur32.dll 0x73DB0000 - 0x73DC0000 D:\魔兽争霸III\YDWE1.27.5测试版\plugin\warcraft3\yd_loa 0x74600000 - 0x74607000 C:\Windows\system32\avrt.dll 0x74E00000 - 0x74E35000 C:\Windows\SysWOW64\nvinit.dll 0x74EA0000 - 0x74EA9000 C:\Windows\system32\VERSION.dll 0x74F70000 - 0x74F7C000 C:\Windows\syswow64\CRYPTBASE.dll 0x74F80000 - 0x74FE0000 C:\Windows\syswow64\SspiCli.dll 0x74FE0000 - 0x75015000 C:\Windows\syswow64\WS2_32.dll 0x75020000 - 0x75024000 C:\Windows\syswow64\api-ms-win-downlevel-shlwapi-l1-1-0.dll 0x750C0000 - 0x750C6000 C:\Windows\syswow64\NSI.dll 0x750D0000 - 0x750D5000 C:\Windows\syswow64\api-ms-win-downlevel-advapi32-l1-1-0.dll 0x75140000 - 0x75146000 C:\Windows\syswow64\DCIMAN32.dll 0x75150000 - 0x75154000 C:\Windows\syswow64\api-ms-win-downlevel-user32-l1-1-0.dll 0x75190000 - 0x7519C000 C:\Windows\syswow64\MSASN1.dll 0x751A0000 - 0x751A4000 C:\Windows\syswow64\api-ms-win-downlevel-version-l1-1-0.dll 0x751B0000 - 0x75233000 C:\Windows\syswow64\CLBCatQ.DLL 0x75240000 - 0x7524B000 C:\Windows\syswow64\profapi.dll 0x753A0000 - 0x7542F000 C:\Windows\syswow64\OLEAUT32.dll 0x75430000 - 0x75442000 C:\Windows\syswow64\DEVOBJ.dll 0x75450000 - 0x75475000 C:\Windows\syswow64\powrprof.dll 0x755C0000 - 0x755C3000 C:\Windows\syswow64\normaliz.DLL 0x755D0000 - 0x75670000 C:\Windows\syswow64\ADVAPI32.dll 0x75670000 - 0x75683000 C:\Windows\syswow64\dwmapi.dll 0x75690000 - 0x75695000 C:\Windows\syswow64\PSAPI.DLL 0x756A0000 - 0x75790000 C:\Windows\syswow64\RPCRT4.dll 0x75790000 - 0x757C2000 C:\Windows\syswow64\WINMM.dll 0x757D0000 - 0x75815000 C:\Windows\syswow64\WLDAP32.dll 0x75820000 - 0x758EC000 C:\Windows\syswow64\MSCTF.dll 0x758F0000 - 0x75A4C000 C:\Windows\syswow64\ole32.dll 0x75A50000 - 0x75ACB000 C:\Windows\syswow64\COMDLG32.dll 0x75AD0000 - 0x75BF1000 C:\Windows\syswow64\CRYPT32.dll 0x75C00000 - 0x7684A000 C:\Windows\syswow64\SHELL32.dll 0x76850000 - 0x76867000 C:\Windows\syswow64\USERENV.dll 0x76870000 - 0x7689F000 C:\Windows\syswow64\WINTRUST.dll 0x768A0000 - 0x768F7000 C:\Windows\syswow64\SHLWAPI.dll 0x76900000 - 0x76927000 C:\Windows\syswow64\CFGMGR32.dll 0x76930000 - 0x76A30000 C:\Windows\syswow64\USER32.dll 0x76A30000 - 0x76ACD000 C:\Windows\syswow64\USP10.dll 0x76AD0000 - 0x76B60000 C:\Windows\syswow64\GDI32.dll 0x76B60000 - 0x76C47000 C:\Windows\syswow64\DDRAW.dll 0x76C50000 - 0x76C69000 C:\Windows\SysWOW64\sechost.dll 0x76C70000 - 0x76CD0000 C:\Windows\syswow64\IMM32.dll 0x76CD0000 - 0x76CD3000 C:\Windows\syswow64\api-ms-win-downlevel-normaliz-l1-1-0.dll 0x76CE0000 - 0x76D52000 C:\Windows\syswow64\DSOUND.DLL 0x76D70000 - 0x76F0D000 C:\Windows\syswow64\SETUPAPI.dll 0x76F10000 - 0x77142000 C:\Windows\syswow64\iertutil.dll 0x77150000 - 0x77197000 C:\Windows\syswow64\KERNELBASE.dll 0x771A0000 - 0x77375000 C:\Windows\syswow64\WININET.dll 0x77380000 - 0x7742C000 C:\Windows\syswow64\msvcrt.dll 0x77430000 - 0x77540000 C:\Windows\syswow64\kernel32.dll 0x77A50000 - 0x77A5A000 C:\Windows\syswow64\LPK.dll 0x77A80000 - 0x77C00000 C:\Windows\SysWOW64\ntdll.dll


Memory Dump

Code: 16 bytes starting at (EIP = 6917E1EA)

6917E1EA: 8B 40 14 5D C3 55 8B EC E8 66 FD FF FF 85 C0 74 .@.].U...f.....t

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


sumneko commented 9 years ago

补充,2个魔兽均在之前小退过一次,因为第一次测试选错了英雄,然后退回到局域网重新创建的地图

actboy168 commented 9 years ago

有复现的步骤吗

sumneko commented 9 years ago

测试环境:YDWE1.27.5/YDWE1.28.3(测试结果相同) 测试地图:自带的泄露检测演示图(为了局域网改成了2个玩家) 测试结果: 1.直接点击YDWE的测试地图按钮,按ESC可以正常输出报告 之后点击菜单中的重新开始游戏,按ESC正常 点击菜单中的退出任务(不退出魔兽),重新加载地图,按ESC崩溃 2.用YDWE启动魔兽 在单人模式中加载地图,按ESC崩溃 在局域网模式中加载地图,按ESC正常

actboy168 commented 9 years ago

初步测试结果如下 1、问题不是必现,,具有随机性。 2、崩溃是由于读取的handle的pos时引起的(应该是读到了一个错误的pos)

暂时忽略

luciouskami commented 8 years ago

同样的问题,单人测试,ydwe菜单启动魔兽,第一次游戏局域网模式下按esc崩溃,之后5次游戏均正常,单人模式下按esc崩溃。

luciouskami commented 7 years ago

这个问题好像解决了吧。