[Bug 18117] New: Visual Studio 2005 hangs on install, crashes in RPCRT4_find_interface

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Apr 19 20:37:50 CDT 2009


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 at winehq.org
        ReportedBy: austinenglish at 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


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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