YDWE icon indicating copy to clipboard operation
YDWE copied to clipboard

yd_leak_monitor导致魔兽崩溃

Open sumneko opened this issue 10 years ago • 6 comments

用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\yd_virtual_ 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\yd_jass_ 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)

  • = addr ** *
    0018F3E0: AC F4 18 00 47 18 B5 6F 00 00 00 00 A3 98 F5 19 ....G..o........ 0018F3F0: 10 F7 18 00 00 00 00 00 BC F6 18 00 00 00 00 00 ................ 0018F400: 9C A8 67 1F 74 76 65 75 80 A8 67 1F 7C F5 18 00 ..g.tveu..g.|... 0018F410: 60 A6 D5 1E 89 20 00 00 01 15 65 73 F8 29 EE 01 .... ....es.).. 0018F420: E0 C5 EE 01 25 34 00 00 34 F4 18 00 B0 00 3A 10 ....%4..4.....:. 0018F430: 00 08 00 00 00 00 00 00 58 29 42 0F 00 20 00 00 ........X)B.. .. 0018F440: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0018F450: 00 5C 2C 1D 70 65 3A 20 75 65 76 74 00 00 45 00 .\,.pe: uevt..E. 0018F460: 00 00 00 00 0F 00 00 00 00 00 00 00 00 00 00 00 ................ 0018F470: FF FF FF FF 00 5C 2C 1D 7C 20 48 65 72 6F 5B 35 .....\,.| Hero[5 0018F480: 5D 00 66 00 00 00 00 00 0F 00 00 00 00 00 00 00 ].f............. 0018F490: 94 F5 18 00 AF 98 F5 19 34 F7 18 00 34 F7 18 00 ........4...4... 0018F4A0: 60 8B B5 6F 00 00 00 00 00 1B B5 6F 40 F7 18 00..o.......o@... 0018F4B0: 1D 1B B5 6F 13 9C F5 19 A4 F7 18 00 A2 D8 AB 02 ...o............ 0018F4C0: FF FF FF FF 40 99 B5 6F 1C 7C F5 19 00 00 00 00 [email protected].|...... 0018F4D0: 00 00 00 00 48 99 B5 6F 88 9A 9E 02 FC 98 B5 6F ....H..o.......o 0018F4E0: F8 16 3A 1D 00 00 00 00 00 00 00 00 E4 F4 18 00 ..:............. 0018F4F0: E8 F4 18 00 00 00 00 00 00 00 00 00 F4 F4 18 00 ................ 0018F500: F8 F4 18 00 00 00 00 00 00 00 00 00 04 F5 18 00 ................ 0018F510: 08 F5 18 00 80 6F E2 1E D8 85 98 02 FF FF FF FF .....o.......... 0018F520: 00 00 00 00 44 00 D1 03 00 00 00 00 00 7D F5 19 ....D........}.. 0018F530: 00 00 00 00 3C 99 B5 6F B8 F5 18 00 00 00 00 00 ....<..o........ 0018F540: 00 00 00 00 00 00 00 00 01 02 00 00 06 00 00 00 ................ 0018F550: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0018F560: 00 00 00 00 60 22 36 1D 00 00 E5 25 DC F4 18 00 ....`"6....%.... 0018F570: 00 00 00 00 20 00 00 00 00 00 00 00 40 99 B5 6F .... [email protected] 0018F580: 00 00 00 00 00 00 00 00 00 00 00 00 48 99 B5 6F ............H..o 0018F590: E2 5D 02 15 FC 98 B5 6F 98 EC 39 1D 00 00 00 00 .].....o..9..... 0018F5A0: 00 00 00 00 70 30 56 73 70 30 56 73 00 00 00 00 ....p0Vsp0Vs.... 0018F5B0: 00 00 00 00 68 30 56 73 68 30 56 73 00 00 00 00 ....h0Vsh0Vs.... 0018F5C0: 00 00 00 00 6C 30 56 73 6C 30 56 73 A0 6F E2 1E ....l0Vsl0Vs.o.. 0018F5D0: FF FF FF 7F 98 00 3F 10 00 00 00 00 E3 00 5A 02 ......?.......Z. 0018F5E0: 00 00 00 00 01 F6 18 00 68 30 56 73 3C 99 B5 6F ........h0Vs<..o 0018F5F0: 88 00 3F 10 00 00 00 00 00 00 00 00 00 00 00 00 ..?............. 0018F600: 01 02 00 00 06 00 00 00 00 00 00 00 00 00 00 00 ................ 0018F610: 00 00 00 00 00 00 00 00 00 00 00 00 90 6F E2 1E .............o.. 0018F620: FC F7 18 00 94 F5 18 00 00 00 00 00 20 D8 AB 02 ............ ... 0018F630: 3C 01 50 02 73 B5 51 02 40 F6 18 00 29 B6 51 02 <.P.s.Q.@...).Q. 0018F640: 32 32 00 00 08 6E 9B 10 04 00 00 00 40 F3 CB 22 22...n......@.." 0018F650: 97 3C 03 15 70 FB CB 22 40 F3 CB 22 FF FF FF 7F .<..p.."@..".... 0018F660: F8 4A 4A 19 00 00 E2 1E 00 00 00 00 00 00 00 00 .JJ............. 0018F670: 88 0A 2E 18 00 00 00 00 07 00 00 00 90 0A 2E 18 ................ 0018F680: 00 00 2B 1D 3D 26 62 02 34 97 96 0C 00 00 00 00 ..+.=&b.4....... 0018F690: 00 00 00 00 07 00 00 00 88 00 04 17 89 6E 76 02 .............nv. 0018F6A0: 01 00 00 00 88 00 01 17 88 00 04 17 88 00 04 17 ................ 0018F6B0: 88 00 01 17 7C 6F 76 02 00 00 00 00 00 00 3A 1D ....|ov.......:. 0018F6C0: 88 00 E3 14 FF FF FF FF 96 82 4E 02 00 00 00 00 ..........N..... 0018F6D0: 07 00 00 00 00 00 00 00 00 00 6F 00 67 00 73 00 ..........o.g.s. 0018F6E0: 00 00 F5 19 CE 01 10 00 00 00 00 00 07 00 00 00 ................ 0018F6F0: E8 50 99 02 B4 F7 18 00 BC 7B 42 0F 8F E0 51 02 .P.......{B...Q. 0018F700: 28 59 CA 22 4F D1 D0 68 10 00 00 00 28 59 CA 22 (Y."O..h....(Y." 0018F710: 28 97 49 1F F8 D4 C9 22 48 F7 18 00 A4 F7 18 00 (.I...."H....... 0018F720: 35 00 00 00 37 00 00 00 48 F7 18 00 13 9C F5 19 5...7...H....... 0018F730: B4 F4 18 00 A4 F8 18 00 F9 8B B5 6F 0B 00 00 00 ...........o.... 0018F740: FC F7 18 00 C8 DC 5B 02 08 6E 9B 10 B4 DC 5B 02 ......[..n....[. 0018F750: B0 00 5C 10 AC DC 5B 02 28 59 CA 22 88 00 29 12 .....[.(Y."..). 0018F760: 08 00 00 00 48 5D 02 15 1F 00 00 00 E2 5D 02 15 ....H].......].. 0018F770: 78 A7 E8 25 A4 F7 18 00 00 00 E5 25 D6 9C B4 7B x..%.......%...{ 0018F780: F7 5F 02 15 90 6B 05 15 E8 C0 46 12 3D 26 62 02 ._...k....F.=&b. 0018F790: E8 C0 46 12 00 00 00 00 1C 00 00 00 E9 03 00 00 ..F............. 0018F7A0: 08 6E 9B 10 47 3D 5B 02 01 00 00 00 EC 59 BF 02 .n..G=[......Y.. 0018F7B0: FE FF FF FF E9 03 00 00 B0 00 75 10 A0 6D CD 22 ..........u..m." 0018F7C0: E9 EF B1 66 C7 D2 5B 02 9C 2F 45 12 00 00 00 00 ...f..[../E..... 0018F7D0: 00 00 00 00 D8 06 00 00 B0 00 75 10 04 00 00 00 ..........u.....

sumneko avatar Feb 11 '15 12:02 sumneko

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

sumneko avatar Feb 11 '15 12:02 sumneko

有复现的步骤吗

actboy168 avatar Feb 25 '15 01:02 actboy168

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

sumneko avatar Feb 27 '15 02:02 sumneko

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

暂时忽略

actboy168 avatar Mar 01 '15 11:03 actboy168

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

luciouskami avatar Apr 29 '16 12:04 luciouskami

这个问题好像解决了吧。

luciouskami avatar Feb 27 '17 14:02 luciouskami