[Wine] HaoFang client (like Garena) crashes in WSAIoctl

donlinn wineforum-user at winehq.org
Fri Nov 19 08:50:21 CST 2010


HaoFang client (China's largest platform for online play)
HomePage: http://www.cga.com.cn
Download(ZIP  Version 5.5.0) : http://pv.cga.com.cn/counter.asp?id=952  

Installation&Start:

> WINEPREFIX=~/.wine-hf winetricks ie6 flash dotnet20 msxml6 vcrun6 riched20 riched30 gdiplus  wenquanyi
> 
> cd .wine/drive_c/Program\ Files/platform\ 5.0/
> 
> WINEPREFIX=~/.wine-hf/ LC_ALL=zh_CN.UTF8   wine GameClient.exe &>/dev/null
> 




> fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER: unimplemented TransmitFile
> 


War3 Error


> ==============================================================================
> Warcraft III (build 6387)
> 
> Exe:      Z:\home\DD\.wine\drive_c\Program Files\War3\War3.exe
> Time:     Nov 19, 2010  9:49:05.908 PM
> User:     DD
> Computer: Zhuer-laptop
> ------------------------------------------------------------------------------
> 
> This application has encountered a critical error:
> 
> FATAL ERROR!
> 
> Program:	Z:\home\DD\.wine\drive_c\Program Files\War3\War3.exe
> Exception:	0xC0000005 (ACCESS_VIOLATION) at 0073:08C25E10
> 
> The instruction at '0x08C25E10' referenced memory at '0x08C25E10'.
> The memory could not be 'read'.
> 
> ------------------------------------------------------------------------------
> 
> ----------------------------------------
>     x86 Registers
> ----------------------------------------
> 
> EAX=08C25E10  EBX=10007FB6  ECX=00000010  EDX=043500C0  ESI=043500C0
> EDI=0033F3AC  EBP=0033F32C  ESP=0033F300  EIP=08C25E10  FLG=00010202
> CS =0073      DS =007B      ES =007B      SS =007B      FS =0033      GS =003B
> 
> 
> ----------------------------------------
>     Stack Trace (Manual)
> ----------------------------------------
> 
> Address  Frame    Logical addr  Module
> 
> 08C25E10 0033F32C 0000:00000000 Z:\home\DD\.wine\drive_c\Program Files\War3\War3.exe
> 10006634 0033F3C0 0001:00005634 Z:\home\DD\.wine\drive_c\Program Files\HFGaming Platform\FNWar3.dll
> 
> ----------------------------------------
>     Stack Trace (Using DBGHELP.DLL)
> ----------------------------------------
> 
> 08C25E10 <unknown module> <unknown symbol>+0 (0x043500C0,0x00000020,0x0033F368,0x0033F370)
> 10006634 FNWar3.dll   <unknown symbol>+0 (0x0000425C,0x043500C0,0x00000020,0x0033F3F0)
> 
> 
> ----------------------------------------
>     Loaded Modules
> ----------------------------------------
> 
> 0x00400000 - 0x0047D000  Z:\home\DD\.wine\drive_c\Program Files\War3\War3.exe
> 0x01030000 - 0x0103C000  Z:\home\DD\.wine\drive_c\Program Files\HFGaming Platform\GameStatDota.dll
> 0x01080000 - 0x0109B000  Z:\home\DD\.wine\drive_c\Program Files\HFGaming Platform\plugin\GameClient\tigerbkey.dll
> 0x016C0000 - 0x01795000  Z:\home\DD\.wine\drive_c\Program Files\HFGaming Platform\GGWAR3.dll
> 0x02900000 - 0x02916000  Z:\home\DD\.wine\drive_c\Program Files\War3\redist\miles\Mssfast.m3d
> 0x02B60000 - 0x02B77000  Z:\home\DD\.wine\drive_c\Program Files\War3\redist\miles\Mssdolby.m3d
> 0x05FC0000 - 0x0609E000  Z:\home\DD\.wine\drive_c\Program Files\HFGaming Platform\GHDx8.dll
> 0x10000000 - 0x10063000  Z:\home\DD\.wine\drive_c\Program Files\HFGaming Platform\FNWar3.dll
> 0x15000000 - 0x15061000  Z:\home\DD\.wine\drive_c\Program Files\War3\Storm.dll
> 0x20010000 - 0x20024000  C:\windows\system32\devenum.dll
> 0x20030000 - 0x200C4000  C:\windows\system32\crypt32.dll
> 0x200D0000 - 0x200FB000  C:\windows\system32\winealsa.drv
> 0x20390000 - 0x203B1000  C:\windows\system32\msacm32.dll
> 0x21100000 - 0x2115F000  Z:\home\DD\.wine\drive_c\Program Files\War3\mss32.dll
> 0x22C00000 - 0x22C18000  Z:\home\DD\.wine\drive_c\Program Files\War3\redist\miles\Msseax2.m3d
> 0x24600000 - 0x24611000  Z:\home\DD\.wine\drive_c\Program Files\War3\redist\miles\Reverb3.flt
> 0x26F00000 - 0x26F2A000  Z:\home\DD\.wine\drive_c\Program Files\War3\redist\miles\Mp3dec.asi
> 0x27730000 - 0x277CE000  C:\windows\system32\opengl32.dll
> 0x33620000 - 0x33640000  C:\windows\system32\netapi32.dll
> 0x40150000 - 0x40184000  C:\windows\system32\dinput.dll
> 0x47350000 - 0x47361000  C:\windows\system32\dinput8.dll
> 0x56CC0000 - 0x56D03000  C:\windows\system32\dsound.dll
> 0x5C3F0000 - 0x5C3F7000  C:\windows\system32\midimap.dll
> 0x5D100000 - 0x5D10C000  C:\windows\system32\msacm32.drv
> 0x5F400000 - 0x5F4F2000  C:\windows\system32\MFC42.DLL
> 0x60000000 - 0x6005D000  Z:\home\DD\.wine\drive_c\Program Files\War3\ijl15.dll
> 0x680A0000 - 0x68188000  C:\windows\system32\comctl32.dll
> 0x681A0000 - 0x682BC000  C:\windows\system32\user32.dll
> 0x682D0000 - 0x68317000  C:\windows\system32\advapi32.dll
> 0x68320000 - 0x68330000  C:\windows\system32\version.dll
> 0x68340000 - 0x68368000  C:\windows\system32\winspool.drv
> 0x68370000 - 0x683C7000  C:\windows\system32\wininet.dll
> 0x683E0000 - 0x68400000  C:\windows\system32\mpr.dll
> 0x68410000 - 0x6841B000  C:\windows\system32\wsock32.dll
> 0x68420000 - 0x6844B000  C:\windows\system32\ws2_32.dll
> 0x68450000 - 0x6846C000  C:\windows\system32\iphlpapi.dll
> 0x68490000 - 0x684A1000  C:\windows\system32\imm32.dll
> 0x684B0000 - 0x684B6000  C:\windows\system32\mswsock.dll
> 0x684D0000 - 0x685B8000  C:\windows\system32\ole32.dll
> 0x685C0000 - 0x6862B000  C:\windows\system32\rpcrt4.dll
> 0x68640000 - 0x68715000  C:\windows\system32\oleaut32.dll
> 0x68720000 - 0x6872E000  C:\windows\system32\imagehlp.dll
> 0x68740000 - 0x68787000  C:\windows\system32\dbghelp.dll
> 0x68790000 - 0x6879D000  C:\windows\system32\psapi.dll
> 0x687D0000 - 0x6886D000  C:\windows\system32\winex11.drv
> 0x68A10000 - 0x68A35000  C:\windows\system32\uxtheme.dll
> 0x6F000000 - 0x6FBD4000  Z:\home\DD\.wine\drive_c\Program Files\War3\Game.dll
> 0x6FD30000 - 0x6FDB3000  C:\windows\system32\winmm.dll
> 0x70BD0000 - 0x70C35000  C:\windows\system32\shlwapi.dll
> 0x72110000 - 0x722EE000  C:\windows\system32\shell32.dll
> 0x73130000 - 0x73137000  C:\windows\system32\avicap32.dll
> 0x73400000 - 0x734BF000  C:\windows\system32\comdlg32.dll
> 0x75C70000 - 0x75CEF000  C:\windows\system32\gdi32.dll
> 0x78000000 - 0x78044000  C:\windows\system32\msvcrt.dll
> 0x78130000 - 0x781CB000  Z:\home\DD\.wine\drive_c\Program Files\War3\MSVCR80.dll
> 0x79150000 - 0x79170000  C:\windows\system32\secur32.dll
> 0x7B810000 - 0x7B980000  C:\windows\system32\KERNEL32.dll
> 0x7BC10000 - 0x7BCBB000  C:\windows\system32\ntdll.dll
> 
> 
> ----------------------------------------
>     Memory Dump
> ----------------------------------------
> 
> Code: 16 bytes starting at (EIP = 08C25E10)
> 
> 08C25E10: <can't read from this address>
> 
> 
> Stack: 1024 bytes starting at (ESP = 0033F300)
> 
> * = addr  **                                                  *               
> 0033F300: 55 2E 4B 68  C0 00 35 04  00 00 00 00  20 00 00 00  U.Kh..5..... ...
> 0033F310: 20 00 00 00  68 F3 33 00  60 F3 33 00  70 F3 33 00   ...h.3.`.3.p.3.
> 0033F320: 6C F3 33 00  CB 5D 00 10  70 42 00 00  C0 F3 33 00  l.3..]..pB....3.
> 0033F330: 34 66 00 10  C0 00 35 04  00 00 00 00  20 00 00 00  4f....5..... ...
> 0033F340: 20 00 00 00  68 F3 33 00  60 F3 33 00  70 F3 33 00   ...h.3.`.3.p.3.
> 0033F350: 6C F3 33 00  A8 00 35 04  88 00 35 04  00 00 00 00  l.3...5...5.....
> 0033F360: 10 00 00 00  00 00 00 00  AC F3 33 00  10 00 00 00  ..........3.....
> 0033F370: 9C F3 33 00  00 00 00 00  B8 F3 33 00  A9 26 00 10  ..3.......3..&..
> 0033F380: A0 C6 04 10  A8 00 35 04  B7 26 00 10  70 42 00 00  ......5..&..pB..
> 0033F390: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
> 0033F3A0: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
> 0033F3B0: 00 00 00 00  00 00 00 00  00 00 00 00  DE 49 C4 9E  .............I..
> 0033F3C0: 10 00 00 00  13 C5 6D 6F  5C 42 00 00  70 42 00 00  ......mo\B..pB..
> 0033F3D0: C0 00 35 04  00 00 00 00  20 00 00 00  20 00 00 00  ..5..... ... ...
> 0033F3E0: F0 F3 33 00  90 00 35 04  00 00 00 00  88 00 35 04  ..3...5.......5.
> 0033F3F0: 88 00 35 04  F9 F3 6D 6F  84 24 68 9E  88 00 88 06  ..5...mo.$h.....
> 0033F400: 88 00 35 04  30 F4 33 00  03 B3 85 6F  01 00 00 00  ..5.0.3....o....
> 0033F410: DE 04 6E 6F  88 00 88 06  64 23 68 9E  00 00 00 00  ..no....d#h.....
> 0033F420: 5C 42 00 00  10 00 00 00  88 00 7B 03  88 00 88 06  \B........{.....
> 0033F430: 88 F4 33 00  47 B3 85 6F  02 00 00 00  04 20 6E 6F  ..3.G..o..... no
> 0033F440: 88 00 35 04  10 00 00 00  88 00 35 04  00 00 00 00  ..5.......5.....
> 0033F450: 10 00 00 00  20 23 68 9E  E1 17 5A 06  00 00 00 00  .... #h...Z.....
> 0033F460: 0B 00 00 00  B0 1C 68 6F  A0 05 7B 03  88 00 88 06  ......ho..{.....
> 0033F470: 88 00 88 06  A0 05 7B 03  00 00 00 00  00 00 00 00  ......{.........
> 0033F480: 00 00 00 00  00 00 00 00  E4 F4 33 00  91 B4 85 6F  ..........3....o
> 0033F490: 00 00 00 00  48 32 6E 6F  E0 17 00 00  B0 1C 68 6F  ....H2no......ho
> 0033F4A0: 00 00 00 00  E0 17 00 00  EB 22 66 6F  00 00 00 00  ........."fo....
> 0033F4B0: 90 00 5A 06  90 00 56 06  0C F7 33 00  15 40 68 6F  ..Z...V...3.. at ho
> 0033F4C0: E0 17 00 00  E1 17 00 00  B0 1C 68 6F  A8 23 68 9E  ..........ho.#h.
> 0033F4D0: AC 73 88 6F  90 00 5A 06  24 F6 33 00  0C F7 33 00  .s.o..Z.$.3...3.
> 0033F4E0: 90 00 56 06  68 F9 33 00  B1 76 85 6F  FF FF FF FF  ..V.h.3..v.o....
> 0033F4F0: C6 DD 65 6F  90 00 5A 06  2C F5 33 00  0B 00 00 00  ..eo..Z.,.3.....
> 0033F500: 5A 5D 51 11  3C F5 33 00  24 F6 33 00  AC 73 88 6F  Z]Q.<.3.$.3..s.o
> 0033F510: E0 17 00 00  00 00 00 00  AC 73 88 6F  01 00 00 00  .........s.o....
> 0033F520: 88 00 70 06  0B 00 00 00  5A 5D 51 11  02 00 17 E0  ..p.....Z]Q.....
> 0033F530: C0 A8 02 34  00 00 00 00  00 00 00 00  6C 75 63 61  ...4........luca
> 0033F540: 73 6C 6B 20  28 4C 76 31  29 20 20 20  20 20 20 20  slk (Lv1)       
> 0033F550: 20 20 20 20  20 20 20 20  20 20 20 00  00 00 00 00             .....
> 0033F560: 00 00 00 00  00 00 00 00  00 00 00 00  01 03 49 07  ..............I.
> 0033F570: 01 01 77 01  F1 79 01 FF  6B 71 99 4D  4B 61 71 73  ..w..y..kq.MKaqs
> 0033F580: 5D 45 4F 55  53 41 5D 45  6F 75 41 21  61 77 37 2F  ]EOUSA]EouA!aw7/
> 0033F590: 37 39 63 2F  C7 77 33 79  01 6D 75 63  17 61 73 6D  79c/.w3y.muc.asm
> 0033F5A0: 6B 01 01 3D  09 29 95 9D  DB 49 0D E3  F7 4F 2B DF  k..=.)...I...O+.
> 0033F5B0: CB 93 57 53  3D 73 43 EF  71 FD 00 00  00 00 00 00  ..WS=sC.q.......
> 0033F5C0: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
> 0033F5D0: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
> 0033F5E0: 00 00 00 00  00 00 00 00  00 00 00 00  0A 00 00 00  ................
> 0033F5F0: 01 00 00 00  5C 22 68 9E  D4 07 65 6F  01 00 00 00  ....\"h...eo....
> 0033F600: AC 73 88 6F  24 F6 33 00  AC 73 88 6F  01 00 00 00  .s.o$.3..s.o....
> 0033F610: 43 59 5C 6F  24 F6 33 00  30 02 AD 04  C0 00 AD 04  CY\o$.3.0.......
> 0033F620: C0 00 F1 04  E7 8C AA E5  A4 B4 40 44  65 00 61 6F  .......... at De.ao
> 0033F630: 02 00 00 00  01 00 00 00  C0 00 AD 04  C0 00 F1 04  ................
> 0033F640: 5C 21 68 9E  AF 49 59 6F  AC 73 88 6F  0C F7 33 00  \!h..IYo.s.o..3.
> 0033F650: 00 F3 33 00  4C 01 2B 04  E4 00 2A 04  C0 00 AD 04  ..3.L.+...*.....
> 0033F660: 64 03 2C 04  00 F3 33 00  6C 75 63 61  73 6C 6B 20  d.,...3.lucaslk 
> 0033F670: 28 4C 76 31  29 20 20 20  20 20 20 20  20 20 20 20  (Lv1)           
> 0033F680: 20 20 20 20  20 20 20 00  00 00 00 00  00 00 00 00         .........
> 0033F690: 6C 00 00 00  18 61 6A 7D  00 02 00 00  48 06 00 00  l....aj}....H...
> 0033F6A0: 76 00 78 00  FE 6B 71 99  3C 28 94 9D  DA 48 0C E2  v.x..kq.<(...H..
> 0033F6B0: 4F 2B DE CB  93 57 53 72  43 EF 71 FD  4D 61 70 73  O+...WSrC.q.Maps
> 0033F6C0: 5C 44 4F 54  41 5C 44 6F  74 41 20 76  36 2E 36 39  \DOTA\DotA v6.69
> 0033F6D0: 63 2E 77 33  78 00 33 00  40 00 00 00  34 FE 22 68  c.w3x.3. at ...4."h
> 0033F6E0: 24 00 02 00  01 00 00 00  4C F8 33 00  40 00 00 00  $.......L.3. at ...
> 0033F6F0: 38 F7 6C 75  63 61 73 6C  6B 00 00 00  90 06 C7 7B  8.lucaslk......{
> 
> 
> ------------------------------------------------------------------------------


HaoFang client Error

> //=====================================================
> Exception code: C0000005 ACCESS_VIOLATION
> Fault address:  68024CBB 7BC708B9:7BC9EFF4 
> 
> Registers:
> EAX:00000031
> EBX:68149FF4
> ECX:9B9D9DA1
> EDX:680C7640
> ESI:09E7E628
> EDI:000001E2
> CS:EIP:0073:68024CBB
> SS:ESP:007B:09E7E4AC  EBP:09E7E534
> DS:007B  ES:007B  FS:0033  GS:003B
> Flags:00010246
> 
> Call stack:
> Address   Frame     Function            SourceFile
> 68024CBB  09E7E534  wine_cp_mbstowcs+BB
> 7B84A37D  09E7E584  MultiByteToWideChar+8D
> 6836DB78  09E7E694  pf_vsnprintf+1F38
> ========================
> Local Variables And Parameters
> 
> Call stack:
> Address   Frame     Function            SourceFile
> 68024CBB  09E7E534  wine_cp_mbstowcs+BB
> 
> 7B84A37D  09E7E584  MultiByteToWideChar+8D
> 
> 6836DB78  09E7E694  pf_vsnprintf+1F38
> 
> ========================
> Global Variables
> 
> //=====================================================
> Process list:
> ------------------------------------------
> PROCESS NAME:  GameClient.exe
>   process ID        = 0x00000008
>   thread count      = 22
>   parent process ID = 0x00000000
>   Priority Base     = 2
>   Priority Class    = 32
> ------------------------------------------
> PROCESS NAME:  services.exe
>   process ID        = 0x0000000E
>   thread count      = 6
>   parent process ID = 0x0000000A
>   Priority Base     = 2
>   Priority Class    = 32
> ------------------------------------------
> PROCESS NAME:  winedevice.exe
>   process ID        = 0x00000011
>   thread count      = 4
>   parent process ID = 0x0000000E
>   Priority Base     = 2
>   Priority Class    = 32
> ------------------------------------------
> PROCESS NAME:  explorer.exe
>   process ID        = 0x00000019
>   thread count      = 1
>   parent process ID = 0x0000000C
>   Priority Base     = 2
>   Priority Class    = 32
> //=====================================================
> Exception code: C0000005 ACCESS_VIOLATION
> Fault address:  68024CBB 7BC708B9:7BC9EFF4 
> 
> Registers:
> EAX:00000031
> EBX:68149FF4
> ECX:9B9D9DA1
> EDX:680C7640
> ESI:09E7E628
> EDI:000001E2
> CS:EIP:0073:68024CBB
> SS:ESP:007B:09E7E4AC  EBP:09E7E534
> DS:007B  ES:007B  FS:0033  GS:003B
> Flags:00010246
> 
> Call stack:
> Address   Frame     Function            SourceFile
> 68024CBB  09E7E534  wine_cp_mbstowcs+BB
> 7B84A37D  09E7E584  MultiByteToWideChar+8D
> 6836DB78  09E7E694  pf_vsnprintf+1F38
> ========================
> Local Variables And Parameters
> 
> Call stack:
> Address   Frame     Function            SourceFile
> 68024CBB  09E7E534  wine_cp_mbstowcs+BB
> 
> 7B84A37D  09E7E584  MultiByteToWideChar+8D
> 
> 6836DB78  09E7E694  pf_vsnprintf+1F38
> 
> ========================
> Global Variables
> 
> //=====================================================
> Process list:
> ------------------------------------------
> PROCESS NAME:  GameClient.exe
>   process ID        = 0x00000008
>   thread count      = 22
>   parent process ID = 0x00000000
>   Priority Base     = 2
>   Priority Class    = 32
> ------------------------------------------
> PROCESS NAME:  services.exe
>   process ID        = 0x0000000E
>   thread count      = 4
>   parent process ID = 0x0000000A
>   Priority Base     = 2
>   Priority Class    = 32
> ------------------------------------------
> PROCESS NAME:  winedevice.exe
>   process ID        = 0x00000011
>   thread count      = 4
>   parent process ID = 0x0000000E
>   Priority Base     = 2
>   Priority Class    = 32
> ------------------------------------------
> PROCESS NAME:  explorer.exe
>   process ID        = 0x00000019
>   thread count      = 1
>   parent process ID = 0x0000000C
>   Priority Base     = 2
>   Priority Class    = 32


but it will be OK like this:

> WINEPREFIX=~/.wine-hf/ LC_ALL=zh_CN.UTF8 WINEDEBUG=+relay  wine GameClient.exe &>/dev/null

Without the +relay, HaoFang's FNWar3.dll will crash when you try to join a game (or when someone else joins your game) in Warcraft3. 
like this :http://appdb.winehq.org/objectManager.php?sClass=version&iId=19336

any suggestions?







More information about the wine-users mailing list