http://bugs.winehq.org/show_bug.cgi?id=18117
Summary: Visual Studio 2005 hangs on install, crashes in RPCRT4_find_interface Product: Wine Version: 1.1.19 Platform: PC-x86-64 URL: http://download.microsoft.com/download/3/f/4/3f435aaa- 49ce-44c3-a2cc-d40bca9af941/ENU/vcssetup.exe OS/Version: Linux Status: NEW Keywords: download, Installer, patch Severity: normal Priority: P2 Component: rpc AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Looking at bug 18114, I tried the download.
First, needs dotnet20. After using winetricks for that, the (mini)installer has a crash when attempting to download the main installer: wine: Unhandled page fault on read access to 0x00000004 at address 0x7e578b46 (thread 0112), starting debugger... Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x7e578b46).
Backtrace: =>0 0x7e578b46 RPCRT4_find_interface+0xd6(object=(nil), if_id=0x10b0048, check_object=0) [/home/austin/wine-git/dlls/rpcrt4/rpc_server.c:132] in rpcrt4 (0x00bae948) 1 0x7e57a6e8 RPCRT4_worker_thread+0x318(the_arg=0x132e20) [/home/austin/wine-git/dlls/rpcrt4/rpc_server.c:183] in rpcrt4 (0x00bae9b8) 2 0x7efc7b0d worker_thread_proc+0xfd(param=(nil)) [/home/austin/wine-git/dlls/ntdll/../../include/wine/port.h:434] in ntdll (0x00baea18) 3 0x7efc3ace call_thread_entry_point+0xe() in ntdll (0x00baea28) 4 0x7efc5932 call_thread_func+0x42(rtl_func=<register EDI not in topmost frame>, arg=<register ESI not in topmost frame>) [/usr/include/bits/string3.h:85] in ntdll (0x00baeac8) 5 0x7efc5b00 start_thread+0x130(info=0x7ffbcfb8) [/home/austin/wine-git/dlls/ntdll/thread.c:487] in ntdll (0x00baf3b8) 6 0xf7df24ff start_thread+0xbf() in libpthread.so.0 (0x00baf4b8) 0x7e578b46 RPCRT4_find_interface+0xd6 [/home/austin/wine-git/dlls/rpcrt4/rpc_server.c:132] in rpcrt4: repe cmpsb (%esi),%es:(%edi) 132 if (!memcmp(if_id, &cif->If->InterfaceId, sizeof(RPC_SYNTAX_IDENTIFIER)) &&
Below hack 'fixes' it: diff --git a/dlls/rpcrt4/rpc_server.c b/dlls/rpcrt4/rpc_server.c index 6214965..4ea520b 100644 --- a/dlls/rpcrt4/rpc_server.c +++ b/dlls/rpcrt4/rpc_server.c @@ -124,6 +124,7 @@ static RpcServerInterface* RPCRT4_find_interface(UUID* objec UUID* MgrType = NULL; RpcServerInterface* cif; RPC_STATUS status; + object = NULL;
if (check_object) MgrType = LookupObjType(object);
Still has a non-fatal crash: wine: Unhandled page fault on read access to 0x00000000 at address 0xf7d7d4f6 (thread 0025), starting debugger... err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7ef94e0c err:ole:ifproxy_release_public_refs IRemUnknown_RemRelease failed with error 0x800706be err:ole:ifproxy_release_public_refs IRemUnknown_RemRelease failed with error 0x800706be err:ole:ifproxy_release_public_refs IRemUnknown_RemRelease failed with error 0x800706be
http://bugs.winehq.org/show_bug.cgi?id=18117
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #1 from Anastasius Focht focht@gmx.net 2009-04-20 05:52:10 --- Hello,
sorry but I can't reproduce this (wine-1.1.19-90-g781b087), so you might try again with latest GIT.
If the problem persists, please describe *exactly* what steps are needed, starting with clean WINEPREFIX.
Provide debug trace +tid,+seh,+relay in case of crash.
Regards
http://bugs.winehq.org/show_bug.cgi?id=18117
--- Comment #2 from Austin English austinenglish@gmail.com 2009-04-20 21:24:50 --- (In reply to comment #1)
Hello,
sorry but I can't reproduce this (wine-1.1.19-90-g781b087), so you might try again with latest GIT.
austin@midna:~$ wine --version wine-1.1.19-153-g55ad3fd
If the problem persists, please describe *exactly* what steps are needed, starting with clean WINEPREFIX.
$ rm -rf ~/.wine $ winetricks -q dotnet20 $ wine vcssetup.exe
Click Next. Accept installer, click Next. Select no optional products, click next. Confirm default location, choose install. Hang.
austin@midna:~$ sha1sum vcssetup.exe 13aa4ddea0c82693c36075e20faac94e7fe3d1aa vcssetup.exe
Provide debug trace +tid,+seh,+relay in case of crash.
I'll try to get one. I've just tried it twice, once it crashed, and once gave me a ntdll deadlock.
Interestingly, rerunning it a second time without clearing .wine allows it to proceed.
http://bugs.winehq.org/show_bug.cgi?id=18117
--- Comment #3 from Austin English austinenglish@gmail.com 2009-04-20 22:28:26 --- Are you on a single core machine? It may be a timing issue.
This was on a quad core phenom II, 8 GB ram, 64-bit OS.
http://bugs.winehq.org/show_bug.cgi?id=18117
--- Comment #4 from Anastasius Focht focht@gmx.net 2009-04-21 04:00:54 --- Hello,
still can't reproduce this problem.
--- quote --- Are you on a single core machine? It may be a timing issue. --- quote ---
Well I have dual cpu cores at home and work:
--- snip --- $ cat /proc/cpuinfo | grep 'model name' | cut -d: -f2 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz --- snip ---
--- snip --- 2.6.27.21-170.2.56.fc10.x86_64 #1 SMP Mon Mar 23 23:08:10 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux --- snip ---
If you suspect timing issue, you might try to tie the installer to a single core and see if it changes anything:
--- snip -- $ taskset -c 0 wine vcssetup.exe --- snip --
Additionally you could try to build the source tree with optimizations turned off (-O0) and see if it changes anything.
Regards
http://bugs.winehq.org/show_bug.cgi?id=18117
Nicholas Doyle nonesuchnick@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nonesuchnick@gmail.com
--- Comment #5 from Nicholas Doyle nonesuchnick@gmail.com 2009-04-23 01:27:14 --- Hi Austin,
I'm pretty new at this, but I noticed in your install steps below:
(In reply to comment #2)
$ rm -rf ~/.wine $ winetricks -q dotnet20 $ wine vcssetup.exe
Click Next. Accept installer, click Next. Select no optional products, click next. Confirm default location, choose install. Hang.
that you did not install msxml6 using winetricks, only dotnet20. I tested using the install instructions on the AppDB page with a clean wine prefix:
sh winetricks -q dotnet20 msxml6
and it installed fine for me. Even the MSDN installed, but the SQL Server Express still fails.
Try installing msxml6 with winetricks as well, before you run the vccsetup.exe and see if this helps.
Best Regards, Nick
http://bugs.winehq.org/show_bug.cgi?id=18117
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME
--- Comment #6 from Austin English austinenglish@gmail.com 2009-04-25 14:48:22 --- I can't get it to show up again, so I'll close it for now.
http://bugs.winehq.org/show_bug.cgi?id=18117
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Austin English austinenglish@gmail.com 2009-04-25 14:49:21 --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=18117
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.microsoft.c |https://web.archive.org/web |om/download/3/f/4/3f435aaa- |/20130318165624/http://down |49ce-44c3-a2cc-d40bca9af941 |load.microsoft.com/download |/ENU/vcssetup.exe |/3/f/4/3f435aaa-49ce-44c3-a | |2cc-d40bca9af941/ENU/vcsset | |up.exe