SelectUnit crashing WoW menu

Shout-Out

User Tag List

Results 1 to 13 of 13
  1. #1
    nitrogrlie's Avatar Member
    Reputation
    11
    Join Date
    Oct 2009
    Posts
    81
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SelectUnit crashing WoW

    So during myEnumVisibleObject callback function I have
    Code:
    DWORD myEnumVisibleObject(DWORD LowGuid, DWORD HighGuid, unsigned int filter=0) {
    	CGObject_C * obj = gpBot->GetCurMgr()->GetObjectByGUID(WGUID(LowGuid, HighGuid));
    
    	if( obj ) {
    		switch( obj->GetType() ) {
    		case OT_UNIT: 
    			{
    				CGUnit_C * unit = obj->GetUnit();
    				unit->SelectUnit();
    				Sleep(1000);
    				unit->printObj(file);
    			}
    			break;
    I did this to watch my player iterate though all the units and Select each one. The funny thing is, that occasionally this crashes the WoW with a NULL pointer dereference or even the videocard drivers. It does work perfectly if I do it in a controlled manner instead of interating over everything. At first I though I was selecting units that are not selectable (as in dead units not tapped by me), but then I added a "if !unit->IsDead()" qualifier and still no dice. Is there other reasons units are not selectable that I am missing? Or is it possible that that object disappears between when i get a pointer to it and when I try to select it?

    For reference:
    Code:
    void CGUnit_C::SelectUnit() {
    	execute_function<void, 0x004C4940>(GetGuid());
    }

    SelectUnit crashing WoW
  2. #2
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Next time post a crash log, or preferably, a crash log along with the associated minidump. (If the crash is sporadic and not always the same error code and stack etc then post 3 or 4)

    Not gonna bother looking at your problem if you can't provide the basic information needed for proper debugging.

  3. #3
    nitrogrlie's Avatar Member
    Reputation
    11
    Join Date
    Oct 2009
    Posts
    81
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Will do, although I was just asking if anyone has any ideas as to why a unit might not be selectable if it's alive?

    I'll post a couple crash logs when I get home later today, but from what I remember, it wasn't very long for the current (my) thread. It seems like it was hiccuping in the Sleep or right after.

  4. #4
    ostapus's Avatar Active Member
    Reputation
    60
    Join Date
    Nov 2008
    Posts
    180
    Thanks G/R
    3/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    besides that what is in execute_function

  5. #5
    ostapus's Avatar Active Member
    Reputation
    60
    Join Date
    Nov 2008
    Posts
    180
    Thanks G/R
    3/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just not, if GetObjectByGUID is 00477B50 (3.2.2.10505) - then it takes 2 parameters
    WGUID, unitType and you pass 1 (stack mess up)

  6. #6
    nitrogrlie's Avatar Member
    Reputation
    11
    Join Date
    Oct 2009
    Posts
    81
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ostapus View Post
    just not, if GetObjectByGUID is 00477B50 (3.2.2.10505) - then it takes 2 parameters
    WGUID, unitType and you pass 1 (stack mess up)
    It uses 3, according to IDA, but it takes 5 if you see how other functions call it. Example:
    Code:
    push    4B5h
    push    offset a_Client_cpp ; ".\\Client.cpp"
    push    10h             ; int
    push    edx             ; int
    push    eax             ; int
    call    sub_477B50
    add     esp, 14h
    test    eax, eax
    jz      short loc_4013F6
    My
    Code:
    CGObject_C * obj = gpBot->GetCurMgr()->GetObjectByGUID( WGUID(LowGuid, HighGuid) );
    does
    Code:
    CGObject_C * CGCurMgr_C::GetObjectByGUID( WGUID wGuid ) {
    	char szT[64];
    	return execute_function<CGObject_C *, 0x00477B50, WGUID, int, char *, int>( wGuid, -1, szT, 0x1A );
    }
    where execute_function is a whole bunch of overloaded template functions. Example:
    Code:
    template <class R, DWORD ADDR, class A1>
    R execute_function(A1 a1) {
    	return reinterpret_cast<R (*)(A1)>(ADDR)(a1);
    }
    
    template <class R, DWORD ADDR, class A1, class A2>
    R execute_function(A1 a1, A2 a2) {
    	return reinterpret_cast<R (*)(A1, A2)>(ADDR)(a1, a2);
    }
    
    template <class R, DWORD ADDR, class A1, class A2, class A3>
    R execute_function(A1 a1, A2 a2, A3 a3) {
    	return reinterpret_cast<R (*)(A1, A2, A3)>(ADDR)(a1, a2, a3);
    }
    
    template <class R, DWORD ADDR, class A1, class A2, class A3, class A4>
    R execute_function(A1 a1, A2 a2, A3 a3, A4 a4) {
    	return reinterpret_cast<R (*)(A1, A2, A3, A4)>(ADDR)(a1, a2, a3, a4);
    }
    
    template <class R, DWORD ADDR, class A1, class A2, class A3, class A4, class A5>
    R execute_function(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5) {
    	return reinterpret_cast<R (*)(A1, A2, A3, A4, A5)>(ADDR)(a1, a2, a3, a4, a5);
    }
    Since these default to __cdecl I am under the assumption they will cleanup the stack and I don't explicitly have to.

  7. #7
    nitrogrlie's Avatar Member
    Reputation
    11
    Join Date
    Oct 2009
    Posts
    81
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post
    Next time post a crash log, or preferably, a crash log along with the associated minidump. (If the crash is sporadic and not always the same error code and stack etc then post 3 or 4)

    Not gonna bother looking at your problem if you can't provide the basic information needed for proper debugging.
    Crashes vary... sometimes its two threads crashing at the same time, sometime it's my own, sometimes it's one associated with the display frame. The crash logs don't seem to be very helpful. Here is parts of one:

    Code:
    ----------------------------------------
        x86 Registers
    ----------------------------------------
    
    EAX=13344DB0  EBX=13FA6E9C  ECX=001FE17C  EDX=00000000  ESI=00000000
    EDI=13FA6E60  EBP=001FE144  ESP=001FE134  EIP=00814552  FLG=00010246
    CS =0023      DS =002B      ES =002B      SS =002B      FS =0053      GS =002B
    
    
    ----------------------------------------
        Stack Trace (Manual)
    ----------------------------------------
    
    Address  Frame    Logical addr  Module
    
    Showing 27/27 threads...
    
    --- Thread ID: 4756 [Current Thread] ---
    00814552 001FE144 0001:00413552 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    008151BB 001FE168 0001:004141BB C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    008152FC 001FE3B8 0001:004142FC C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00816B1F 001FE418 0001:00415B1F C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00816FF4 001FE438 0001:00415FF4 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0081719D 001FE6F0 0001:0041619D C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080B821 001FE714 0001:0040A821 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080B193 001FE770 0001:0040A193 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080C009 001FE798 0001:0040B009 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080C12F 001FE7D0 0001:0040B12F C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00804464 001FE810 0001:00403464 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00805014 001FE830 0001:00404014 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    007CF34F 001FE860 0001:003CE34F C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    007CF545 001FEA90 0001:003CE545 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    007CA4B6 001FECD8 0001:003C94B6 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    007CA9B9 001FF324 0001:003C99B9 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0057D63B 001FF4E8 0001:0017C63B C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    004C86E2 001FF594 0001:000C76E2 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080BB7C 001FF5B0 0001:0040AB7C C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080DFEA 001FF63C 0001:0040CFEA C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080BE47 001FF658 0001:0040AE47 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00804381 001FF674 0001:00403381 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    007CFC95 001FF6A4 0001:003CEC95 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080BB7C 001FF6C0 0001:0040AB7C C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080BE38 001FF6E0 0001:0040AE38 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080607D 001FF6F8 0001:0040507D C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    008060B1 001FF718 0001:004050B1 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080631B 001FF740 0001:0040531B C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080637E 001FF754 0001:0040537E C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080CFFD 001FF784 0001:0040BFFD C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00802F1B 001FF7D0 0001:00401F1B C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    008060A5 001FF7E8 0001:004050A5 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080631B 001FF810 0001:0040531B C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080637E 001FF824 0001:0040537E C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080CFFD 001FF854 0001:0040BFFD C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00802F1B 001FF8A0 0001:00401F1B C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00802FC4 001FF8B4 0001:00401FC4 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00805F95 001FF920 0001:00404F95 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    008060AB 001FF93C 0001:004050AB C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00806352 001FF96C 0001:00405352 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080637E 001FF980 0001:0040537E C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080CFFD 001FF9B0 0001:0040BFFD C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00802F1B 001FF9FC 0001:00401F1B C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00803B69 001FFA14 0001:00402B69 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    008049C8 001FFA94 0001:004039C8 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    008049FF 001FFAA8 0001:004039FF C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0044357E 001FFAF0 0001:0004257E C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080BB7C 001FFB0C 0001:0040AB7C C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080DFEA 001FFB98 0001:0040CFEA C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080BE47 001FFBB4 0001:0040AE47 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    008043B6 001FFBC8 0001:004033B6 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080B193 001FFC24 0001:0040A193 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080C009 001FFC4C 0001:0040B009 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0080440F 001FFC78 0001:0040340F C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    007D061B 001FFCDC 0001:003CF61B C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    007D0780 001FFCF8 0001:003CF780 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    004361CA 001FFD18 0001:000351CA C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0043A513 001FFD28 0001:00039513 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0043AE92 001FFD48 0001:00039E92 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0043B2F8 001FFD58 0001:0003A2F8 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0044E2CC 001FFE24 0001:0004D2CC C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00427069 001FFE54 0001:00026069 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00424259 001FFE80 0001:00023259 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    004256EA 001FFED4 0001:000246EA C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00425731 001FFEEC 0001:00024731 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00406D9D 001FFF88 0001:00005D9D C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    75AD3677 001FFF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 001FFFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 001FFFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 920 ---
    76BE3520 002DFF14 0001:00012520 C:\Windows\syswow64\KERNELBASE.dll
    00707CE5 002DFF34 0001:00306CE5 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0071EB2A 002DFF48 0001:0031DB2A C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0084646F 002DFF80 0001:0044546F C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00846514 002DFF94 0001:00445514 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    77CE9D72 002DFFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 002DFFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 428 ---
    75AD1184 048EFF18 0001:00001184 C:\Windows\syswow64\kernel32.dll
    75AD1138 048EFF2C 0001:00001138 C:\Windows\syswow64\kernel32.dll
    6742F148 048EFF80 0001:0004E148 C:\Windows\system32\atiumdag.dll
    675EABA0 048EFF88 0001:00209BA0 C:\Windows\system32\atiumdag.dll
    75AD3677 048EFF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 048EFFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 048EFFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 4772 ---
    75AD3677 0719FF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 0719FFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 0719FFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 1128 ---
    75AD3677 0730FF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 0730FFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 0730FFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 4844 ---
    76BE3520 0783FB40 0001:00012520 C:\Windows\syswow64\KERNELBASE.dll
    0082088D 0783FB4C 0001:0041F88D C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0045F1A5 0783FF6C 0001:0005E1A5 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    006E7BD7 0783FF88 0001:002E6BD7 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    75AD3677 0783FF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 0783FFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 0783FFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 4976 ---
    75AD3677 07F0FF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 07F0FFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 07F0FFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 2796 ---
    75AD1184 0807FF30 0001:00001184 C:\Windows\syswow64\kernel32.dll
    75AD1138 0807FF44 0001:00001138 C:\Windows\syswow64\kernel32.dll
    006EA130 0807FF54 0001:002E9130 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    007D2772 0807FF6C 0001:003D1772 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    006E7BD7 0807FF88 0001:002E6BD7 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    75AD3677 0807FF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 0807FFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 0807FFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 4424 ---
    75AD3677 0B04FF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 0B04FFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 0B04FFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 4520 ---
    76BE3520 0B7DFF68 0001:00012520 C:\Windows\syswow64\KERNELBASE.dll
    0087D2DD 0B7DFF74 0001:0047C2DD C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0087DB0C 0B7DFF88 0001:0047CB0C C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    75AD3677 0B7DFF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 0B7DFFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 0B7DFFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 3516 ---
    76BE3520 0B94FF68 0001:00012520 C:\Windows\syswow64\KERNELBASE.dll
    0087D2DD 0B94FF74 0001:0047C2DD C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0087DB0C 0B94FF88 0001:0047CB0C C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    75AD3677 0B94FF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 0B94FFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 0B94FFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 372 ---
    75AD1184 0C2BFF34 0001:00001184 C:\Windows\syswow64\kernel32.dll
    75AD1138 0C2BFF48 0001:00001138 C:\Windows\syswow64\kernel32.dll
    006EA130 0C2BFF58 0001:002E9130 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00491FA9 0C2BFF88 0001:00090FA9 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    75AD3677 0C2BFF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 0C2BFFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 0C2BFFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 4300 ---
    75AD1184 0C42FF24 0001:00001184 C:\Windows\syswow64\kernel32.dll
    75AD1138 0C42FF38 0001:00001138 C:\Windows\syswow64\kernel32.dll
    006EA130 0C42FF48 0001:002E9130 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00420B85 0C42FF60 0001:0001FB85 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00420CF1 0C42FF6C 0001:0001FCF1 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    006E7BD7 0C42FF88 0001:002E6BD7 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    75AD3677 0C42FF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 0C42FFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 0C42FFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 3032 ---
    75AD162D 0C59FCEC 0001:0000162D C:\Windows\syswow64\kernel32.dll
    75AD1921 0C59FD08 0001:00001921 C:\Windows\syswow64\kernel32.dll
    004213EB 0C59FF60 0001:000203EB C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00420B2E 0C59FF6C 0001:0001FB2E C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    006E7BD7 0C59FF88 0001:002E6BD7 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    75AD3677 0C59FF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 0C59FFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 0C59FFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 1132 ---
    75AD162D 0C70FE98 0001:0000162D C:\Windows\syswow64\kernel32.dll
    759003DA 0C70FEEC 0001:000103DA C:\Windows\syswow64\USER32.dll
    7590066E 0C70FF08 0001:0001066E C:\Windows\syswow64\USER32.dll
    0071DA46 0C70FF34 0001:0031CA46 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0071EB2A 0C70FF48 0001:0031DB2A C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0084646F 0C70FF80 0001:0044546F C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00846514 0C70FF94 0001:00445514 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    77CE9D72 0C70FFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 0C70FFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 4880 ---
    7370678C 0EB1FBA8 0001:0000578C C:\Windows\system32\mswsock.dll
    76F74A20 0EB1FC28 0001:00003A20 C:\Windows\syswow64\WS2_32.dll
    75C1B64E 0EB1FF80 0001:0003A64E C:\Windows\syswow64\WININET.dll
    75C0A48B 0EB1FF88 0001:0002948B C:\Windows\syswow64\WININET.dll
    75AD3677 0EB1FF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 0EB1FFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 0EB1FFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 2124 ---
    75AD1184 0F00FF24 0001:00001184 C:\Windows\syswow64\kernel32.dll
    5F4033B7 0F00FF88 0001:000023B7 C:\Windows\system32\rasman.dll
    75AD3677 0F00FF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 0F00FFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 0F00FFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 3088 ---
    75AD3677 0F86FF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 0F86FFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 0F86FFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 560 ---
    75AD1184 0FC3FF14 0001:00001184 C:\Windows\syswow64\kernel32.dll
    75AD1138 0FC3FF28 0001:00001138 C:\Windows\syswow64\kernel32.dll
    75C07AF9 0FC3FF6C 0001:00026AF9 C:\Windows\syswow64\WININET.dll
    75C08753 0FC3FF84 0001:00027753 C:\Windows\syswow64\WININET.dll
    75C094DE 0FC3FF94 0001:000284DE C:\Windows\syswow64\WININET.dll
    77CE9D72 0FC3FFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 0FC3FFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 4328 ---
    75AD3677 0FABFF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 0FABFFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 0FABFFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 4824 ---
    75AD1184 109DFF34 0001:00001184 C:\Windows\syswow64\kernel32.dll
    75AD1138 109DFF48 0001:00001138 C:\Windows\syswow64\kernel32.dll
    008BDFC5 109DFF64 0001:004BCFC5 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0087D47A 109DFF74 0001:0047C47A C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0087DAD0 109DFF88 0001:0047CAD0 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    75AD3677 109DFF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 109DFFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 109DFFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 3992 ---
    75AD162D 12E1FE98 0001:0000162D C:\Windows\syswow64\kernel32.dll
    759003DA 12E1FEEC 0001:000103DA C:\Windows\syswow64\USER32.dll
    7590066E 12E1FF08 0001:0001066E C:\Windows\syswow64\USER32.dll
    0071DA46 12E1FF34 0001:0031CA46 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0071EB2A 12E1FF48 0001:0031DB2A C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0084646F 12E1FF80 0001:0044546F C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00846514 12E1FF94 0001:00445514 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    77CE9D72 12E1FFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 12E1FFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 3604 ---
    75AD1184 19B2FF34 0001:00001184 C:\Windows\syswow64\kernel32.dll
    75AD1138 19B2FF48 0001:00001138 C:\Windows\syswow64\kernel32.dll
    008BDFC5 19B2FF64 0001:004BCFC5 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0087D47A 19B2FF74 0001:0047C47A C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0087DAD0 19B2FF88 0001:0047CAD0 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    75AD3677 19B2FF94 0001:00003677 C:\Windows\syswow64\kernel32.dll
    77CE9D72 19B2FFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 19B2FFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 1684 ---
    75AD162D 19C9FE98 0001:0000162D C:\Windows\syswow64\kernel32.dll
    759003DA 19C9FEEC 0001:000103DA C:\Windows\syswow64\USER32.dll
    7590066E 19C9FF08 0001:0001066E C:\Windows\syswow64\USER32.dll
    0071DA46 19C9FF34 0001:0031CA46 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0071EB2A 19C9FF48 0001:0031DB2A C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0084646F 19C9FF80 0001:0044546F C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00846514 19C9FF94 0001:00445514 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    77CE9D72 19C9FFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 19C9FFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 4712 ---
    75AD162D 1B4EFE98 0001:0000162D C:\Windows\syswow64\kernel32.dll
    759003DA 1B4EFEEC 0001:000103DA C:\Windows\syswow64\USER32.dll
    7590066E 1B4EFF08 0001:0001066E C:\Windows\syswow64\USER32.dll
    0071DA46 1B4EFF34 0001:0031CA46 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0071EB2A 1B4EFF48 0001:0031DB2A C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0084646F 1B4EFF80 0001:0044546F C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00846514 1B4EFF94 0001:00445514 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    77CE9D72 1B4EFFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 1B4EFFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 4276 ---
    77D21DD8 04ECD5C0 0001:00061DD8 C:\Windows\SysWOW64\ntdll.dll
    77D21D61 04ECDE74 0001:00061D61 C:\Windows\SysWOW64\ntdll.dll
    75AF9AE5 04ECDEE0 0001:00029AE5 C:\Windows\syswow64\kernel32.dll
    75AF9BAA 04ECDEF4 0001:00029BAA C:\Windows\syswow64\kernel32.dll
    75AF98D8 04ECDF04 0001:000298D8 C:\Windows\syswow64\kernel32.dll
    75AF9855 04ECDF90 0001:00029855 C:\Windows\syswow64\kernel32.dll
    77D20727 04ECFFD4 0001:00060727 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 04ECFFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    --- Thread ID: 4848 ---
    75AD162D 0503FE98 0001:0000162D C:\Windows\syswow64\kernel32.dll
    759003DA 0503FEEC 0001:000103DA C:\Windows\syswow64\USER32.dll
    7590066E 0503FF08 0001:0001066E C:\Windows\syswow64\USER32.dll
    0071DA46 0503FF34 0001:0031CA46 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0071EB2A 0503FF48 0001:0031DB2A C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    0084646F 0503FF80 0001:0044546F C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    00846514 0503FF94 0001:00445514 C:\Users\Public\Public Games\World of Warcraft\WoW.exe
    77CE9D72 0503FFD4 0001:00029D72 C:\Windows\SysWOW64\ntdll.dll
    77CE9D45 0503FFEC 0001:00029D45 C:\Windows\SysWOW64\ntdll.dll
    
    ----------------------------------------
        Stack Trace (Using DBGHELP.DLL)
    ----------------------------------------
    
    Showing 27/27 threads...
    
    --- Thread ID: 4756 [Current Thread] ---
    00814552 WoW.exe      <unknown symbol>+0 (0x001FE6A8,0x13344DB0,0x001FE46C,0x001FE6A8)
    
    --- Thread ID: 920 ---
    76BE3520 KERNELBASE.dll Sleep+15 (0x00000064,0x00000000,0x036725E0,0x039C7630)
    00707CE5 WoW.exe      <unknown symbol>+0 (0x00000000,0x00000000,0x036725E0,0x002DFF80)
    0071EB2A WoW.exe      <unknown symbol>+0 (0x039C7630,0x5FA2E31A,0x00000000,0x036725E0)
    0084646F WoW.exe      <unknown symbol>+0 (0x00000000,0x75AD3677,0x036725E0,0x002DFFD4)
    00846514 WoW.exe      <unknown symbol>+0 (0x036725E0,0x7EBB9F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x00846495,0x036725E0,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x00846495,0x036725E0,0x00000000,0x00000001)
    
    --- Thread ID: 428 ---
    75AD1184 kernel32.dll WaitForSingleObjectEx+67 (0x00002210,0xFFFFFFFF,0x00000000,0x048EFF80)
    75AD1138 kernel32.dll WaitForSingleObject+18 (0x00002210,0xFFFFFFFF,0x00000000,0x00000000)
    6742F148 atiumdag.dll gfxInitInteropServices+70568 (0x048EFF94,0x75AD3677,0x042809F0,0x048EFFD4)
    675EABA0 atiumdag.dll gfxInitInteropServices+1887744 (0x042809F0,0x048EFFD4,0x77CE9D72,0x042809F0)
    75AD3677 kernel32.dll BaseThreadInitThunk+18 (0x042809F0,0x7A189F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x675EAB2A,0x042809F0,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x675EAB2A,0x042809F0,0x00000000,0x00000001)
    
    --- Thread ID: 4772 ---
    75AD3677 kernel32.dll BaseThreadInitThunk+18 (0x01B4C5D0,0x798F9F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x77D12C91,0x01B4C5D0,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x77D12C91,0x01B4C5D0,0x00000000,0x00000000)
    
    --- Thread ID: 1128 ---
    75AD3677 kernel32.dll BaseThreadInitThunk+18 (0x01B4D3F0,0x79A69F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x77D11C7F,0x01B4D3F0,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x77D11C7F,0x01B4D3F0,0x00000000,0xFF452008)
    
    --- Thread ID: 4844 ---
    76BE3520 KERNELBASE.dll Sleep+15 (0x00000001,0x0783FF6C,0x0045F1A5,0x00000001)
    0082088D WoW.exe      <unknown symbol>+0 (0x00000001,0x0045EFD0,0x03E303A8,0x000012EC)
    0045F1A5 WoW.exe      <unknown symbol>+0 (0x03E303A8,0x00000000,0x00000000,0x036D5BA8)
    006E7BD7 WoW.exe      <unknown symbol>+0 (0x0000225C,0x0783FFD4,0x77CE9D72,0x036D5BA8)
    75AD3677 kernel32.dll BaseThreadInitThunk+18 (0x036D5BA8,0x79159F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x006E7B80,0x036D5BA8,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x006E7B80,0x036D5BA8,0x00000000,0x08AD0000)
    
    --- Thread ID: 4976 ---
    75AD3677 kernel32.dll BaseThreadInitThunk+18 (0x01B4D628,0x79669F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x77D12C91,0x01B4D628,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x77D12C91,0x01B4D628,0x00000000,0x00000000)
    
    --- Thread ID: 2796 ---
    75AD1184 kernel32.dll WaitForSingleObjectEx+67 (0x00002144,0xFFFFFFFF,0x00000000,0x0807FF54)
    75AD1138 kernel32.dll WaitForSingleObject+18 (0x00002144,0xFFFFFFFF,0x0807FF6C,0x007D2772)
    006EA130 WoW.exe      <unknown symbol>+0 (0xFFFFFFFF,0x0133BF00,0x00000AEC,0x007D2710)
    007D2772 WoW.exe      <unknown symbol>+0 (0x0133BF00,0x00000000,0x00000000,0x036D5D40)
    006E7BD7 WoW.exe      <unknown symbol>+0 (0x00002260,0x0807FFD4,0x77CE9D72,0x036D5D40)
    75AD3677 kernel32.dll BaseThreadInitThunk+18 (0x036D5D40,0x76919F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x006E7B80,0x036D5D40,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x006E7B80,0x036D5D40,0x00000000,0x09860000)
    
    --- Thread ID: 4424 ---
    75AD3677 kernel32.dll BaseThreadInitThunk+18 (0x00000000,0x75929F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x7365A3F5,0x00000000,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x7365A3F5,0x00000000,0x00000000,0x00000000)
    
    --- Thread ID: 4520 ---
    76BE3520 KERNELBASE.dll Sleep+15 (0x0000000A,0x0B7DFF88,0x0087DB0C,0x0000000A)
    0087D2DD WoW.exe      <unknown symbol>+0 (0x0000000A,0x00000000,0x000011A8,0x0B7DFF94)
    0087DB0C WoW.exe      <unknown symbol>+0 (0x0A037888,0x0B7DFFD4,0x77CE9D72,0x0A037888)
    75AD3677 kernel32.dll BaseThreadInitThunk+18 (0x0A037888,0x75EB9F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x0087DA90,0x0A037888,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x0087DA90,0x0A037888,0x00000000,0x00000000)
    
    --- Thread ID: 3516 ---
    76BE3520 KERNELBASE.dll Sleep+15 (0x0000000A,0x0B94FF88,0x0087DB0C,0x0000000A)
    0087D2DD WoW.exe      <unknown symbol>+0 (0x0000000A,0x00000000,0x00000DBC,0x0B94FF94)
    0087DB0C WoW.exe      <unknown symbol>+0 (0x0A02F208,0x0B94FFD4,0x77CE9D72,0x0A02F208)
    75AD3677 kernel32.dll BaseThreadInitThunk+18 (0x0A02F208,0x75029F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x0087DA90,0x0A02F208,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x0087DA90,0x0A02F208,0x00000000,0x43534552)
    
    --- Thread ID: 372 ---
    75AD1184 kernel32.dll WaitForSingleObjectEx+67 (0x00002138,0xFFFFFFFF,0x00000000,0x0C2BFF58)
    75AD1138 kernel32.dll WaitForSingleObject+18 (0x00002138,0xFFFFFFFF,0x0C2BFF88,0x00491FA9)
    006EA130 WoW.exe      <unknown symbol>+0 (0xFFFFFFFF,0x00000174,0x00491DD0,0x00000000)
    00491FA9 WoW.exe      <unknown symbol>+0 (0x00002340,0x0C2BFFD4,0x77CE9D72,0x0AD49B18)
    75AD3677 kernel32.dll BaseThreadInitThunk+18 (0x0AD49B18,0x72BD9F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x006E7B80,0x0AD49B18,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x006E7B80,0x0AD49B18,0x00000000,0x00000000)
    
    --- Thread ID: 4300 ---
    75AD1184 kernel32.dll WaitForSingleObjectEx+67 (0x00002348,0x000003E8,0x00000000,0x0C42FF48)
    75AD1138 kernel32.dll WaitForSingleObject+18 (0x00002348,0x000003E8,0x0C42FF60,0x00420B85)
    006EA130 WoW.exe      <unknown symbol>+0 (0x000003E8,0x000010CC,0x00420CE0,0x0AEBA108)
    00420B85 WoW.exe      <unknown symbol>+0 (0x00000000,0x0C42FF88,0x006E7BD7,0x0AEBA108)
    00420CF1 WoW.exe      <unknown symbol>+0 (0x0AEBA108,0x00000000,0x00000000,0x0AD49B18)
    006E7BD7 WoW.exe      <unknown symbol>+0 (0x000023E8,0x0C42FFD4,0x77CE9D72,0x0AD49B18)
    75AD3677 kernel32.dll BaseThreadInitThunk+18 (0x0AD49B18,0x72D49F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x006E7B80,0x0AD49B18,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x006E7B80,0x0AD49B18,0x00000000,0x00000000)
    
    --- Thread ID: 3032 ---
    75AD162D kernel32.dll WaitForMultipleObjectsEx+142 (0x00000003,0x7EFDE000,0x00000000,0x000001F4)
    75AD1921 kernel32.dll WaitForMultipleObjects+24 (0x00000003,0x0C59FE2C,0x00000000,0x000001F4)
    004213EB WoW.exe      <unknown symbol>+0 (0x00420B20,0x0C59FF88,0x006E7BD7,0x0AEBA0F8)
    00420B2E WoW.exe      <unknown symbol>+0 (0x0AEBA0F8,0x00000000,0x00000000,0x0AD49B48)
    006E7BD7 WoW.exe      <unknown symbol>+0 (0x000023EC,0x0C59FFD4,0x77CE9D72,0x0AD49B48)
    75AD3677 kernel32.dll BaseThreadInitThunk+18 (0x0AD49B48,0x72CF9F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x006E7B80,0x0AD49B48,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x006E7B80,0x0AD49B48,0x00000000,0x00000000)
    
    --- Thread ID: 1132 ---
    75AD162D kernel32.dll WaitForMultipleObjectsEx+142 (0x00000003,0x7EFDE000,0x00000000,0xFFFFFFFF)
    759003DA USER32.dll   MsgWaitForMultipleObjectsEx+250 (0x000023FC,0x0C70FF2C,0xFFFFFFFF,0x00000000)
    7590066E USER32.dll   MsgWaitForMultipleObjects+31 (0x00000002,0x0C70FF2C,0x00000000,0xFFFFFFFF)
    0071DA46 WoW.exe      <unknown symbol>+0 (0x012AE250,0x00000000,0x0D1681E8,0x0C70FF80)
    0071EB2A WoW.exe      <unknown symbol>+0 (0x0A91EDE0,0x53FFE31A,0x00000000,0x0D1681E8)
    0084646F WoW.exe      <unknown symbol>+0 (0x00000000,0x75AD3677,0x0D1681E8,0x0C70FFD4)
    00846514 WoW.exe      <unknown symbol>+0 (0x0D1681E8,0x72E69F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x00846495,0x0D1681E8,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x00846495,0x0D1681E8,0x00000000,0x00000000)
    
    --- Thread ID: 4880 ---
    7370678C mswsock.dll  <unknown symbol>+0 (0x00000001,0x0EB1FE58,0x0EB1FC50,0x0EB1FD54)
    76F74A20 WS2_32.dll   select+159 (0x00000001,0x0EB1FE58,0x0EB1FC50,0x0EB1FD54)
    75C1B64E WININET.dll  InternetCanonicalizeUrlW+637 (0x0EB1FF94,0x75AD3677,0x01B5D730,0x0EB1FFD4)
    75C0A48B WININET.dll  InternetSetStatusCallbackA+597 (0x01B5D730,0x0EB1FFD4,0x77CE9D72,0x01B5D730)
    75AD3677 kernel32.dll BaseThreadInitThunk+18 (0x01B5D730,0x70279F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x75C0A47E,0x01B5D730,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x75C0A47E,0x01B5D730,0x00000000,0x00000000)
    
    --- Thread ID: 2124 ---
    75AD1184 kernel32.dll WaitForSingleObjectEx+67 (0x00002540,0xFFFFFFFF,0x00000001,0x00000000)
    5F4033B7 rasman.dll   RasAddNotification+1088 (0x00000000,0x0F00FFD4,0x77CE9D72,0x00000000)
    75AD3677 kernel32.dll BaseThreadInitThunk+18 (0x00000000,0x71969F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x5F4032FB,0x00000000,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x5F4032FB,0x00000000,0x00000000,0x16FF2C60)
    
    --- Thread ID: 3088 ---
    75AD3677 kernel32.dll BaseThreadInitThunk+18 (0x01B71290,0x71109F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x77D12C91,0x01B71290,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x77D12C91,0x01B71290,0x00000000,0x00000000)
    
    --- Thread ID: 560 ---
    75AD1184 kernel32.dll WaitForSingleObjectEx+67 (0x000025C0,0x001B7740,0x00000000,0x0FC3FF6C)
    75AD1138 kernel32.dll WaitForSingleObject+18 (0x000025C0,0x001B7740,0x00000000,0x01BA70E0)
    75C07AF9 WININET.dll  FindNextUrlCacheEntryExA+247 (0x00000000,0x00000000,0x01BA70E0,0x00000001)
    75C08753 WININET.dll  InternetOpenA+2359 (0x75AD3677,0x01BA70E0,0x0FC3FFD4,0x77CE9D72)
    75C094DE WININET.dll  InternetOpenA+5826 (0x01BA70E0,0x71559F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x75C094D3,0x01BA70E0,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x75C094D3,0x01BA70E0,0x00000000,0x741F5064)
    
    --- Thread ID: 4328 ---
    75AD3677 kernel32.dll BaseThreadInitThunk+18 (0x01BC2CA8,0x713D9F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x73706F14,0x01BC2CA8,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x73706F14,0x01BC2CA8,0x00000000,0xE39E36D9)
    
    --- Thread ID: 4824 ---
    75AD1184 kernel32.dll WaitForSingleObjectEx+67 (0x000026D0,0xFFFFFFFF,0x00000000,0x109DFF64)
    75AD1138 kernel32.dll WaitForSingleObject+18 (0x000026D0,0xFFFFFFFF,0x00000000,0x0D4AEE8C)
    008BDFC5 WoW.exe      <unknown symbol>+0 (0x0D01D060,0xFFFFFFFF,0x109DFF88,0x0087DAD0)
    0087D47A WoW.exe      <unknown symbol>+0 (0x0D01D060,0x00000000,0x000012D8,0x109DFF94)
    0087DAD0 WoW.exe      <unknown symbol>+0 (0x0D4AEE8C,0x109DFFD4,0x77CE9D72,0x0D4AEE8C)
    75AD3677 kernel32.dll BaseThreadInitThunk+18 (0x0D4AEE8C,0x6E0B9F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x0087DA90,0x0D4AEE8C,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x0087DA90,0x0D4AEE8C,0x00000000,0x00000000)
    
    --- Thread ID: 3992 ---
    75AD162D kernel32.dll WaitForMultipleObjectsEx+142 (0x00000003,0x7EFDE000,0x00000000,0xFFFFFFFF)
    759003DA USER32.dll   MsgWaitForMultipleObjectsEx+250 (0x000026E8,0x12E1FF2C,0xFFFFFFFF,0x00000000)
    7590066E USER32.dll   MsgWaitForMultipleObjects+31 (0x00000002,0x12E1FF2C,0x00000000,0xFFFFFFFF)
    0071DA46 WoW.exe      <unknown symbol>+0 (0x012AE298,0x00000000,0x0D49CED8,0x12E1FF80)
    0071EB2A WoW.exe      <unknown symbol>+0 (0x0A923928,0x4D6EE31A,0x00000000,0x0D49CED8)
    0084646F WoW.exe      <unknown symbol>+0 (0x00000000,0x75AD3677,0x0D49CED8,0x12E1FFD4)
    00846514 WoW.exe      <unknown symbol>+0 (0x0D49CED8,0x6C779F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x00846495,0x0D49CED8,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x00846495,0x0D49CED8,0x00000000,0x15340000)
    
    --- Thread ID: 3604 ---
    75AD1184 kernel32.dll WaitForSingleObjectEx+67 (0x00002664,0xFFFFFFFF,0x00000000,0x19B2FF64)
    75AD1138 kernel32.dll WaitForSingleObject+18 (0x00002664,0xFFFFFFFF,0x00000000,0x14040ED4)
    008BDFC5 WoW.exe      <unknown symbol>+0 (0x147D9618,0xFFFFFFFF,0x19B2FF88,0x0087DAD0)
    0087D47A WoW.exe      <unknown symbol>+0 (0x147D9618,0x00000000,0x00000E14,0x19B2FF94)
    0087DAD0 WoW.exe      <unknown symbol>+0 (0x14040ED4,0x19B2FFD4,0x77CE9D72,0x14040ED4)
    75AD3677 kernel32.dll BaseThreadInitThunk+18 (0x14040ED4,0x67249F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x0087DA90,0x14040ED4,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x0087DA90,0x14040ED4,0x00000000,0x00000000)
    
    --- Thread ID: 1684 ---
    75AD162D kernel32.dll WaitForMultipleObjectsEx+142 (0x00000003,0x7EFDE000,0x00000000,0xFFFFFFFF)
    759003DA USER32.dll   MsgWaitForMultipleObjectsEx+250 (0x0000276C,0x19C9FF2C,0xFFFFFFFF,0x00000000)
    7590066E USER32.dll   MsgWaitForMultipleObjects+31 (0x00000002,0x19C9FF2C,0x00000000,0xFFFFFFFF)
    0071DA46 WoW.exe      <unknown symbol>+0 (0x012AE2F8,0x00000000,0x1456FFF8,0x19C9FF80)
    0071EB2A WoW.exe      <unknown symbol>+0 (0x14D76188,0x4646E31A,0x00000000,0x1456FFF8)
    0084646F WoW.exe      <unknown symbol>+0 (0x00000000,0x75AD3677,0x1456FFF8,0x19C9FFD4)
    00846514 WoW.exe      <unknown symbol>+0 (0x1456FFF8,0x675F9F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x00846495,0x1456FFF8,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x00846495,0x1456FFF8,0x00000000,0x14170000)
    
    --- Thread ID: 4712 ---
    75AD162D kernel32.dll WaitForMultipleObjectsEx+142 (0x00000003,0x7EFDE000,0x00000000,0xFFFFFFFF)
    759003DA USER32.dll   MsgWaitForMultipleObjectsEx+250 (0x000027C4,0x1B4EFF2C,0xFFFFFFFF,0x00000000)
    7590066E USER32.dll   MsgWaitForMultipleObjects+31 (0x00000002,0x1B4EFF2C,0x00000000,0xFFFFFFFF)
    0071DA46 WoW.exe      <unknown symbol>+0 (0x012AE358,0x00000000,0x14571588,0x1B4EFF80)
    0071EB2A WoW.exe      <unknown symbol>+0 (0x14D7D980,0x44C1E31A,0x00000000,0x14571588)
    0084646F WoW.exe      <unknown symbol>+0 (0x00000000,0x75AD3677,0x14571588,0x1B4EFFD4)
    00846514 WoW.exe      <unknown symbol>+0 (0x14571588,0x65D89F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x00846495,0x14571588,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x00846495,0x14571588,0x00000000,0xC41E5555)
    
    --- Thread ID: 4276 ---
    77D21DD8 ntdll.dll    RtlQueryHeapInformation+419 (0x04ECDA28,0x04ECD5E0,0x000025A4,0x04A30000)
    77D21D61 ntdll.dll    RtlQueryHeapInformation+300 (0x000013DC,0x000025F0,0x00000000,0x04ECDEC4)
    75AF9AE5 kernel32.dll CheckForReadOnlyResource+333 (0x04ECDFC0,0x00000001,0x00000001,0x04ECDF04)
    75AF9BAA kernel32.dll CheckForReadOnlyResource+530 (0x04ECDFC0,0x00000001,0x04ECDF90,0x75AF9855)
    75AF98D8 kernel32.dll UnhandledExceptionFilter+355 (0x04ECDFC0,0x00000001,0x5B6082DC,0x00000000)
    75AF9855 kernel32.dll UnhandledExceptionFilter+224 (0x00000000,0x77D20604,0x00000000,0x04ECFFD4)
    77D20727 ntdll.dll    RtlKnownExceptionFilter+183 (0x60F1AE20,0x00000000,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x60F1AE20,0x00000000,0x00000000,0x00000000)
    
    --- Thread ID: 4848 ---
    75AD162D kernel32.dll WaitForMultipleObjectsEx+142 (0x00000003,0x7EFDE000,0x00000000,0xFFFFFFFF)
    759003DA USER32.dll   MsgWaitForMultipleObjectsEx+250 (0x00002740,0x0503FF2C,0xFFFFFFFF,0x00000000)
    7590066E USER32.dll   MsgWaitForMultipleObjects+31 (0x00000002,0x0503FF2C,0x00000000,0xFFFFFFFF)
    0071DA46 WoW.exe      <unknown symbol>+0 (0x012AE3B8,0x00000000,0x145717B0,0x0503FF80)
    0071EB2A WoW.exe      <unknown symbol>+0 (0x14D8BCB8,0x5A8CE31A,0x00000000,0x145717B0)
    0084646F WoW.exe      <unknown symbol>+0 (0x00000000,0x75AD3677,0x145717B0,0x0503FFD4)
    00846514 WoW.exe      <unknown symbol>+0 (0x145717B0,0x7B959F67,0x00000000,0x00000000)
    77CE9D72 ntdll.dll    RtlInitializeExceptionChain+99 (0x00846495,0x145717B0,0x00000000,0x00000000)
    77CE9D45 ntdll.dll    RtlInitializeExceptionChain+54 (0x00846495,0x145717B0,0x00000000,0x003C18C8)
    skipped some stuff for anonymity reasons....

    Code:
    ----------------------------------------
        Memory Dump
    ----------------------------------------
    
    Code: 16 bytes starting at (EIP = 00814552)
    
    00814552: 89 04 96 F6  40 09 03 74  1A F6 47 09  04 74 14 50  [email protected]
    
    
    Stack: 1024 bytes starting at (ESP = 001FE134)
    
    * = addr               **                                         *           
    001FE130: 00 00 00 00  A8 E6 1F 00  7C E1 1F 00  00 00 00 00  ........|.......
    001FE140: 7C E1 1F 00  68 E1 1F 00  BB 51 81 00  A8 E6 1F 00  |...h....Q......
    001FE150: B0 4D 34 13  6C E4 1F 00  A8 E6 1F 00  7C E1 1F 00  .M4.l.......|...
    001FE160: 60 6E FA 13  B0 4D 34 13  B8 E3 1F 00  FC 52 81 00  `n...M4......R..
    001FE170: 6C E4 1F 00  6C E4 1F 00  A8 E6 1F 00  60 6E FA 13  l...l.......`n..
    001FE180: D0 41 0C 14  6C E4 1F 00  A8 E6 1F 00  10 83 49 0D  .A..l.........I.
    001FE190: 00 00 00 00  00 00 00 00  FF FF FF FF  FF FF FF FF  ................
    001FE1A0: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 06  ................
    001FE1B0: 10 00 00 00  00 14 00 00  A4 E1 1F 00  A4 E1 1F 00  ................
    001FE1C0: 78 FF 1F 00  B0 DB 40 00  D2 0A 2C 5F  FE FF FF FF  x.....@...,_....
    001FE1D0: 94 26 41 00  97 47 6E 00  40 09 5D 14  40 09 5D 14  .&A..Gn.@.].@.].
    001FE1E0: FF FF FF FF  0C E2 1F 00  B1 AF 80 00  40 09 5D 14  ............@.].
    001FE1F0: 08 F9 9F 00  14 01 00 00  00 00 00 00  00 00 00 00  ................
    001FE200: 90 83 49 0D  A0 86 E0 13  FF FF FF FF  30 E2 1F 00  ..I.........0...
    001FE210: 71 2D 81 00  D0 9B FD 03  40 09 5D 14  00 0A 00 00  q-......@.].....
    001FE220: 00 00 00 00  4C E3 1F 00  00 00 01 00  02 00 03 00  ....L...........
    001FE230: 7C E2 1F 00  8C 1F 81 00  10 83 49 0D  40 09 5D 14  |.........I.@.].
    001FE240: 00 0A 00 00  00 00 00 00  29 7A 81 00  47 00 62 12  ........)z..G.b.
    001FE250: 86 61 67 53  7C E2 1F 00  40 00 00 00  1D 00 00 00  .agS|...@.......
    001FE260: 4C E3 1F 00  00 00 00 00  00 00 00 00  40 09 5D 14  L...........@.].
    001FE270: 00 00 00 00  40 00 00 00  A0 86 E0 13  18 E3 1F 00  ....@...........
    001FE280: FA 20 81 00  10 83 49 0D  41 00 00 00  9C E2 1F 00  . ....I.A.......
    001FE290: 14 E3 1F 00  A0 86 E0 13  10 83 49 0D  00 00 00 00  ..........I.....
    001FE2A0: 00 00 00 00  00 00 00 00  00 00 00 00  01 00 00 00  ................
    001FE2B0: 01 00 00 00  00 00 00 00  00 00 00 00  01 00 00 00  ................
    001FE2C0: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
    001FE2D0: 00 00 00 00  4C E3 1F 00  A0 86 E0 13  25 21 81 00  ....L.......%!..
    001FE2E0: A0 86 E0 13  4C E3 1F 00  10 83 49 0D  0C E3 1F 00  ....L.....I.....
    001FE2F0: DA 1B 81 00  10 83 49 0D  A0 86 E0 13  4C E3 1F 00  ......I.....L...
    001FE300: 10 83 49 0D  4C E3 1F 00  A0 86 E0 13  30 E3 1F 00  ..I.L.......0...
    001FE310: 7E 21 81 00  10 83 49 0D  28 D6 A0 0D  A0 86 E0 13  ~!....I.(.......
    001FE320: 90 21 81 00  A0 86 E0 13  F0 9C 79 14  A8 E6 1F 00  .!........y.....
    001FE330: 5C E3 1F 00  5F 22 81 00  10 83 49 0D  A0 86 E0 13  \..._"....I.....
    001FE340: 4C E3 1F 00  F0 9C 79 14  10 83 49 0D  F0 9C 79 14  L.....y...I...y.
    001FE350: 88 72 94 08  04 00 00 00  00 00 00 00  7D 41 81 00  .r..........}A..
    001FE360: 28 00 00 00  6C E4 1F 00  A8 E6 1F 00  A8 E6 1F 00  (...l...........
    001FE370: 10 83 49 0D  D0 8C 39 13  F0 9C 79 14  BC 00 00 00  ..I...9...y.....
    001FE380: A8 E6 1F 00  A8 E6 1F 00  F8 E3 1F 00  2C 42 81 00  ............,B..
    001FE390: A8 E6 1F 00  D0 8C 39 13  17 00 00 00  BC 00 00 00  ......9.........
    001FE3A0: A8 E6 1F 00  A8 E6 1F 00  08 00 00 00  BC 00 00 00  ................
    001FE3B0: A8 E6 1F 00  A8 E6 1F 00  18 E4 1F 00  1F 6B 81 00  .............k..
    001FE3C0: E4 E3 1F 00  00 00 00 00  BC 00 00 00  6C E4 1F 00  ............l...
    001FE3D0: 01 00 00 00  A8 E6 1F 00  F0 9C 79 14  BC 00 00 00  ..........y.....
    001FE3E0: A8 E6 1F 00  0C 00 00 00  00 E4 1F 00  13 00 00 00  ................
    001FE3F0: 6E 6C 81 00  FF FF FF FF  08 E4 1F 00  06 00 00 00  nl..............
    001FE400: C0 E6 1F 00  14 00 00 00  14 E4 1F 00  FF FF FF FF  ................
    001FE410: FF FF FF FF  F0 9C 79 14  38 E4 1F 00  F4 6F 81 00  ......y.8....o..
    001FE420: A8 E6 1F 00  00 00 00 00  A8 E6 1F 00  D2 70 81 00  .............p..
    001FE430: 38 01 00 00  10 83 49 0D  F0 E6 1F 00  9D 71 81 00  8.....I......q..
    001FE440: A8 E6 1F 00  A8 E6 1F 00  10 83 49 0D  A8 E6 1F 00  ..........I.....
    001FE450: FC E7 1F 00  B0 2A A4 13  10 83 49 0D  7C E8 1F 00  .....*....I.|...
    001FE460: 00 00 00 00  10 83 49 0D  A0 01 00 00  E0 40 A4 13  ......I......@..
    001FE470: A0 86 E0 13  00 00 00 00  A8 E6 1F 00  10 83 49 0D  ..............I.
    001FE480: 00 00 00 00  5A 00 00 00  FF FF FF FF  FF FF FF FF  ....Z...........
    001FE490: 15 00 00 00  2C 00 00 00  07 00 00 00  15 00 15 00  ....,...........
    001FE4A0: E0 E4 1F 7D  BE 88 00 00  00 00 00 5D  0F 00 00 80  ...}.......]....
    001FE4B0: 32 00 00 00  02 00 84 00  00 00 00 00  00 00 00 00  2...............
    001FE4C0: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
    001FE4D0: 00 00 00 00  0C E5 1F 00  07 8D 70 00  78 F3 9C 03  ..........p.x...
    001FE4E0: FC F1 1F 00  50 00 00 00  00 B0 0C 15  DC B0 0C 15  ....P...........
    001FE4F0: 78 F3 9C 03  80 32 00 00  08 B1 0C 15  08 B1 0C 15  x....2..........
    001FE500: D0 E6 1F 00  41 76 98 00  00 00 00 00  DC E6 1F 00  ....Av..........
    001FE510: 44 16 73 00  C4 E6 1F 00  00 00 01 00  02 00 03 00  D.s.............
    001FE520: 04 00 05 00  06 00 07 00  08 00 09 00  0A 00 0B 00  ................
    001FE530: 0C 00 0D 00  0E 00 0F 00  10 00 11 00  12 00 13 00  ................
    In this instance two threads crashed:
    1)
    ERROR #132 (0x85100084) Fatal Exception
    Program: C:\...\World of Warcraft\WoW.exe
    Exception: 0xC0000005 (ACCESS_VIOLATION) at 0023:00814552
    The instruction at "0x00814552" referenced memory at "0x00000000".
    The memory could not be "written"

    clearly a NULL pointer exception somewhere

    2)
    The instruction at 0x008108c1 referenced memory at 0x004000cf. The memory could not be written.


    EDIT: By the way, if I do this for all PLAYERS instead of UNITS, it never crashes and works just fine.
    Last edited by nitrogrlie; 11-05-2009 at 04:56 PM.

  8. #8
    EmilyStrange's Avatar Active Member
    Reputation
    34
    Join Date
    Jul 2009
    Posts
    125
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    A couple of questions

    1) Do you verify that the GUID of the unit you are about to select is still in the object list maintained by the object manager before you select it?

    2) Do you ever suspend/resume the main thread when reading the game client memory?

  9. #9
    nitrogrlie's Avatar Member
    Reputation
    11
    Join Date
    Oct 2009
    Posts
    81
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by EmilyStrange View Post
    1) Do you verify that the GUID of the unit you are about to select is still in the object list maintained by the object manager before you select it?

    2) Do you ever suspend/resume the main thread when reading the game client memory?
    1) I select it right after being told that it is a valid object as the code to Select it is inside the EnumVisibleObject callback function. On top of that, I also verify that the GetObjectByGUID function returns a valid object and I only if it's of type "Unit" do I try to select it.

    2) No, I inject a DLL into WoW and create my own thread in WoW. I do not suspend/resume any other threads. I wonder if perhaps you might be right and I'm hitting race conditions with other threads playing with those objects because sometimes it works, and other times it doesn't.
    Last edited by nitrogrlie; 11-05-2009 at 10:14 PM.

  10. #10
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by nitrogrlie View Post
    1) I select it right after being told that it is a valid object as the code to Select it is inside the EnumVisibleObject callback function. On top of that, I also verify that the GetObjectByGUID function returns a valid object and I only if it's of type "Unit" do I try to select it.

    2) No, I inject a DLL into WoW and create my own thread in WoW. I do not suspend/resume any other threads. I wonder if perhaps you might be right and I'm hitting race conditions with other threads playing with those objects because sometimes it works, and other times it doesn't.
    Manipulating objects from an arbitrary thread is BAD BAD BAD.

    Why the **** do you think they use TLS to store the object list? Because it's ONLY MEANT TO BE USED BY ONE THREAD.

    Argh, read the other million threads that have covered this.

    In short: Hook EndScene or Present or something and do everything you need to from in there.

  11. #11
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    2) No, I inject a DLL into WoW and create my own thread in WoW. I do not suspend/resume any other threads. I wonder if perhaps you might be right and I'm hitting race conditions with other threads playing with those objects because sometimes it works, and other times it doesn't.
    You have to fix your threads TLS pointer so it points to the mainthreads TLS instead of yours.
    Hey, it compiles! Ship it!

  12. #12
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by flo8464 View Post
    You have to fix your threads TLS pointer so it points to the mainthreads TLS instead of yours.
    That's still vulnerable to race conditions. Not sure how the people who use remote threads handle fixing that potential bug, but I'm sure there's something else you have to do.

    Example:
    1. WoW's main thread is unlinking an object from the list.
    2. During that time, you come along and try to act on the object being unlinked.
    3. Now you're in undefined land. Crash? Freeze? Bizarre behaviour? Who knows.

  13. #13
    nitrogrlie's Avatar Member
    Reputation
    11
    Join Date
    Oct 2009
    Posts
    81
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post
    That's still vulnerable to race conditions. Not sure how the people who use remote threads handle fixing that potential bug, but I'm sure there's something else you have to do.

    Example:
    1. WoW's main thread is unlinking an object from the list.
    2. During that time, you come along and try to act on the object being unlinked.
    3. Now you're in undefined land. Crash? Freeze? Bizarre behaviour? Who knows.
    Yeah, that's exactly my problem. I corrected the TLS for my thread and everything was working well and fine until I started putting in Sleep() after playing with an object (aka SelectUnit() ) which actually modifies some parameters of the object (e.g. lasttarget guid). That pronounced the errors and made me realize I need to do something else, more along the lines of what Cypher is suggesting via Direct3d9 Present or EndScene hooking so that I "am" in the main thread and if I'm doing work on an object, no one is.

Similar Threads

  1. Patches crash WoW
    By dev1462 in forum WoW ME Tools & Guides
    Replies: 2
    Last Post: 04-19-2008, 10:19 AM
  2. Map editing crashes WoW on Vista, why!
    By dev1462 in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 04-13-2008, 12:23 PM
  3. [Hunter] Disconect/Crash WoW
    By jonoboo in forum World of Warcraft Exploits
    Replies: 2
    Last Post: 12-28-2007, 04:45 PM
  4. Quests crashing wow
    By Le Froid in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 11-27-2007, 10:46 PM
  5. [Question] MEfix crashing wow still? Help please
    By ravner298 in forum WoW ME Questions and Requests
    Replies: 4
    Last Post: 10-11-2007, 04:58 PM
All times are GMT -5. The time now is 03:15 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search