[Bug 37357] BlueStacks AppPlayer 0.9.3.x installer crashes
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Oct 3 08:42:29 CDT 2014
https://bugs.winehq.org/show_bug.cgi?id=37357
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |dotnet, download, Installer
URL| |http://cdn.bluestacks.com/p
| |ublic/beta-1/BlueStacks-Spl
| |itInstaller_native.exe
CC| |focht at gmx.net
Summary|It happened when i tried to |BlueStacks AppPlayer
|install BlueStacks |0.9.3.x installer crashes
Severity|trivial |normal
--- Comment #1 from Anastasius Focht <focht at gmx.net> ---
Hello folks,
I can't reproduce this, works fine here.
Prerequisite (if Wine-Mono is not present): 'winetricks -q dotnet20 dotnet40'
The installer is badly written, it erroneously reports "DotNet version 2 is
required" in case of .NET Framework 2.0 being present and .NET Framework 4.0
missing.
--- snip ---
$ WINEDEBUG=+tid,+seh,+relay wine ./BlueStacks-SplitInstaller_native.exe
>>log.txt 2>&1
...
002a:Call KERNEL32.CreateProcessW(00000000,0033e808
L"MicroInstallerNative.exe",00000000,00000000,00000000,00000410,00000000,00000000,0033dec0,0033deb0)
ret=7e5c168b
...
002e:Call KERNEL32.__wine_kernel_init() ret=7bc5a00d
002a:Ret KERNEL32.CreateProcessW() retval=00000001 ret=7e5c168b
...
002e:Call advapi32.RegOpenKeyExW(80000002,0041cce0 L"SOFTWARE\\Microsoft\\NET
Framework Setup\\NDP\\v2.0.50727",00000000,000f003f,0033f90c) ret=00401081
002e:Ret advapi32.RegOpenKeyExW() retval=00000000 ret=00401081
002e:Call advapi32.RegQueryValueExW(0000003c,0041cd64
L"SP",00000000,00000000,0033f914,0033f910) ret=004010a0
002e:Ret advapi32.RegQueryValueExW() retval=00000000 ret=004010a0
002e:Call advapi32.RegOpenKeyExW(80000002,0041cc60 L"SOFTWARE\\Microsoft\\NET
Framework Setup\\NDP\\v4\\Full",00000000,000f003f,0033f90c) ret=00401111
002e:Ret advapi32.RegOpenKeyExW() retval=00000002 ret=00401111
...
002e:Call user32.MessageBoxW(00000000,0041cfd8 L"DotNet version 2 is required
to install BlueStacks App Player. Please install it and try again.",0041d0c0
L"Installation Failed",00000000) ret=00401673
--- snip ---
Your backtrace:
--- snip ---
Unhandled exception: page fault on read access to 0x0000000c in 32-bit code
(0x00401440).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:00401440 ESP:0033ef28 EBP:0033f948 EFLAGS:00010246( R- -- I Z- -P- )
EAX:00000002 EBX:00428cf0 ECX:0033ef24 EDX:00000000
ESI:00000000 EDI:00427fe8
...
000c: sel=0067 base=00000000 limit=00000000 32-bit r-x
Backtrace:
=>0 0x00401440 in microinstallernative (+0x1440) (0x0033f948)
1 0x00401721 in microinstallernative (+0x1720) (0x0033fd80)
2 0x00401ecd in microinstallernative (+0x1ecc) (0x0033fe60)
--- snip ---
The installer code:
--- snip ---
...
004013C7 PUSH EDX ; pWSAData
004013C8 PUSH 202 ; RequestedVersion = 202 (2.2.)
004013CD MOV DWORD PTR SS:[EBP-A0C],EAX
004013D3 MOV DWORD PTR SS:[EBP-A10],ECX
004013D9 CALL DWORD PTR DS:[<&WS2_32.#115>] ; WSAStartup
004013DF TEST EAX,EAX
004013E1 JE SHORT MicroIns.00401405
004013E3 PUSH MicroIns.0041CF1C ; ASCII "WSAStartup failed."
004013E8 CALL MicroIns.00401BDA
...
00401405 PUSH ESI
00401406 PUSH 6
00401408 PUSH 1
0040140A PUSH 2
0040140C CALL DWORD PTR DS:[<&WS2_32.#23>] ; ws2_32.WS_socket
00401412 PUSH MicroIns.0041CEF4 ; ASCII "www.bluestacks-cloud.appspot.com"
00401417 MOV DWORD PTR SS:[EBP-A14],EAX
0040141D CALL DWORD PTR DS:[<&WS2_32.#52>] ; ws2_32.WS_gethostbyname
00401423 PUSH 50
00401425 MOV ESI,EAX
00401427 CALL DWORD PTR DS:[<&WS2_32.#9>] ; ws2_32.WS_htons
0040142D MOV WORD PTR SS:[EBP-876],AX
00401434 MOV EAX,2
00401439 MOV WORD PTR SS:[EBP-878],AX
00401440 MOV ECX,DWORD PTR DS:[ESI+C] ; h_addr_list -> *boom*
00401443 MOV EDX,DWORD PTR DS:[ECX] ; h_addr_list[0]
00401445 MOV EAX,DWORD PTR DS:[EDX]
--- snip ---
In your case, 'WS_gethostbyname' obviously returns NULL for
'www.bluestacks-cloud.appspot.com'.
--- snip ---
$ nslookup
> www.bluestacks-cloud.appspot.com
...
Non-authoritative answer:
www.bluestacks-cloud.appspot.com canonical name = appspot.l.google.com.
Name: appspot.l.google.com
Address: 74.125.136.141
--- snip ---
Your host network setup is likely broken, for example no host entry in
'/etc/hosts'.
You need to fix this -> not a Wine bug.
$ sha1sum BlueStacks-SplitInstaller_native.exe
acd07ef3023924d9ebb4d907996d913b46f2d3c7 BlueStacks-SplitInstaller_native.exe
$ du -sh BlueStacks-SplitInstaller_native.exe
13M BlueStacks-SplitInstaller_native.exe
$ wine --version
wine-1.7.28
Regards
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list