[Bug 18889] Multiple isolation-aware applications fail to load ( MSN Messenger Live 2009, Lync 2010, Adobe Premiere Pro CS3)( embedded PE manifest search should support ISOLATIONAWARE_MANIFEST_RESOURCE_ID )

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Apr 11 19:03:16 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=18889

--- Comment #74 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

revisiting, still present.

Worse, Lync 2010 crashes now.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Microsoft Lync

$ WINEDEBUG=+seh,+relay,+actctx wine ./communicator.exe >>log.txt 2>&1
...
0037:trace:actctx:lookup_assembly looking for name=L"UccApi" version=2.0.0.0
arch=L"x86"
0037:trace:actctx:get_manifest_in_pe_file looking for res #0001 in
L"\\??\\C:\\Program Files\\Microsoft Lync\\UccApi.dll"
0037:trace:actctx:get_manifest_in_module looking for res #0001 in module
0xf80001 L"\\??\\C:\\Program Files\\Microsoft Lync\\UccApi.dll"
0037:fixme:actctx:parse_depend_manifests Could not find dependent assembly
L"UccApi" (2.0.0.0)
0037:trace:actctx:RtlFindActivationContextSectionString 00000001 (null) 2
L"MSVCR90.dll" 0x32e8a8
0037:trace:actctx:RtlFindActivationContextSectionString 00000001 (null) 2
L"ADVAPI32.dll" 0x32e8a8
0037:trace:actctx:RtlFindActivationContextSectionString 00000001 (null) 2
L"USER32.dll" 0x32e8a8
0037:trace:actctx:RtlFindActivationContextSectionString 00000001 (null) 2
L"gdi32.dll" 0x32dd38
0037:trace:actctx:RtlFindActivationContextSectionString 00000001 (null) 2
L"version.dll" 0x32dd38
0037:trace:actctx:RtlFindActivationContextSectionString 00000001 (null) 2
L"OLEAUT32.dll" 0x32e8a8
0037:trace:actctx:RtlFindActivationContextSectionString 00000001 (null) 2
L"ole32.dll" 0x32dd38
0037:trace:actctx:RtlFindActivationContextSectionString 00000001 (null) 2
L"rpcrt4.dll" 0x32d1c8
0037:trace:actctx:RtlFindActivationContextSectionString 00000001 (null) 2
L"Uc.dll" 0x32e8a8
0037:trace:actctx:RtlCreateActivationContext 0x32e7cc 00000088
0037:trace:actctx:get_manifest_in_module looking for res #0002 in module
0x10000000 L"C:\\Program Files\\Microsoft Lync\\Uc.dll"
0037:trace:actctx:parse_manifest parsing manifest loaded from (null) base dir
(null)
0037:trace:actctx:parse_assembly_elem (0x32e224)
0037:trace:actctx:parse_assembly_identity_elem name=L"Uc" version=2.0.0.0
arch=L"x86"
0037:trace:actctx:parse_description_elem Got description L"UC Client"
0037:trace:actctx:parse_assembly_identity_elem name=L"UccApi" version=2.0.0.0
arch=L"x86"
0037:trace:actctx:parse_dependent_assembly_elem adding name=L"UccApi"
version=2.0.0.0 arch=L"x86"
0037:trace:actctx:parse_assembly_identity_elem name=L"ocimport" version=1.0.0.0
arch=L"x86"
0037:trace:actctx:parse_dependent_assembly_elem adding name=L"ocimport"
version=1.0.0.0 arch=L"x86"
0037:trace:actctx:parse_assembly_identity_elem name=L"Microsoft.VC90.CRT"
version=9.0.30729.4148 arch=L"x86"
0037:trace:actctx:parse_dependent_assembly_elem adding
name=L"Microsoft.VC90.CRT" version=9.0.30729.4148 arch=L"x86"
0037:trace:actctx:parse_file_elem name=L"Uc.dll"
0037:warn:actctx:parse_typelib_elem unknown attr L"resourceid"=L"1"
0037:trace:actctx:lookup_assembly looking for name=L"UccApi" version=2.0.0.0
arch=L"x86"
0037:trace:actctx:get_manifest_in_pe_file looking for res #0001 in
L"\\??\\C:\\Program Files\\Microsoft Lync\\UccApi.dll"
0037:trace:actctx:get_manifest_in_module looking for res #0001 in module
0xf80001 L"\\??\\C:\\Program Files\\Microsoft Lync\\UccApi.dll"
0037:fixme:actctx:parse_depend_manifests Could not find dependent assembly
L"UccApi" (2.0.0.0) 
...
0037:Call KERNEL32.CreateActCtxW(0032f644) ret=0042ed39
0037:trace:actctx:CreateActCtxW 0x32f644 00000088
0037:trace:actctx:RtlCreateActivationContext 0x32f644 00000088
0037:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7bc5ebd1
ip=7bc5ebd1 tid=0037
0037:trace:seh:raise_exception  info[0]=00000001
0037:trace:seh:raise_exception  info[1]=02910027
0037:trace:seh:raise_exception  eax=02910027 ebx=0032f460 ecx=0032f400
edx=00320017 esi=0032f634 edi=0032f604
0037:trace:seh:raise_exception  ebp=0032f3f8 esp=0032f3f8 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00010212
0037:trace:seh:call_stack_handlers calling handler at 0x9f5b08 code=c0000005
flags=0
0037:trace:seh:call_stack_handlers handler at 0x9f5b08 returned 1 
--- snip ---

Winedbg:

--- snip ---
Unhandled exception: page fault on write access to 0x02910027 in 32-bit code
(0x7bc5ebd1).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7bc5ebd1 ESP:0033ee38 EBP:0033ee38 EFLAGS:00010216(  R- --  I   -A-P- )
 EAX:02910027 EBX:0033eea0 ECX:0033ee40 EDX:00320017
 ESI:00000002 EDI:0033f664
...
Backtrace:
=>0 0x7bc5ebd1 list_remove+0x1c(elem=0x150d00)
[/home/focht/projects/wine/wine.repo/src/include/wine/list.h:101] in ntdll
(0x0033ee38)
  1 0x7bc627c3 RtlAllocateHeap+0x21a(heap=<couldn't compute location>,
flags=<couldn't compute location>, size=<couldn't compute location>)
[/home/focht/projects/wine/wine.repo/src/dlls/ntdll/heap.c:1710] in ntdll
(0x0033ee88)
  2 0x7bc3bc7b xmlstrdupW+0x2f(str=0x33eef8)
[/home/focht/projects/wine/wine.repo/src/dlls/ntdll/actctx.c:735] in ntdll
(0x0033eec8)
  3 0x7bc3e3b4 parse_assembly_identity_elem+0x37(xmlbuf=0x33f054,
actctx=0x14c6a8, ai=0x150e7c, parent=0x33ef58)
[/home/focht/projects/wine/wine.repo/src/dlls/ntdll/actctx.c:1500] in ntdll
(0x0033ef18)
  4 0x7bc41dd9 parse_assembly_elem+0x3c6(xmlbuf=0x33f054, assembly=0x150e78,
acl=0x33f550, parent=0x33effc, expected_ai=(nil))
[/home/focht/projects/wine/wine.repo/src/dlls/ntdll/actctx.c:2688] in ntdll
(0x0033efb8)
  5 0x7bc421f1 parse_manifest_buffer+0x13e(acl=0x33f550, assembly=0x150e78,
ai=(nil), xmlbuf=0x33f054)
[/home/focht/projects/wine/wine.repo/src/dlls/ntdll/actctx.c:2758] in ntdll
(0x0033f038)
  6 0x7bc4265d parse_manifest+0x342(acl=0x33f550, ai=(nil), filename=0x0(nil),
directory=0x0(nil), shared=0, buffer=0xf0f0dc, size=0x509)
[/home/focht/projects/wine/wine.repo/src/dlls/ntdll/actctx.c:2838] in ntdll
(0x0033f4a8)
  7 0x7bc42a3d get_manifest_in_module+0x278(acl=0x33f550, ai=(nil),
filename=0x0(nil), directory=0x0(nil), shared=0, hModule=0x400000, resname=***
invalid address 0x2 ***, lang=0)
[/home/focht/projects/wine/wine.repo/src/dlls/ntdll/actctx.c:2932] in ntdll
(0x0033f518)
  8 0x7bc4784c RtlCreateActivationContext+0x40e(handle=<couldn't compute
location>, ptr=<couldn't compute location>)
[/home/focht/projects/wine/wine.repo/src/dlls/ntdll/actctx.c:5037] in ntdll
(0x0033f5c8)
  9 0x7b435af6 CreateActCtxW+0x70(pActCtx=<couldn't compute location>)
[/home/focht/projects/wine/wine.repo/src/dlls/kernel32/actctx.c:124] in
kernel32 (0x0033f618)
  10 0x0042ed39 in communicator (+0x2ed38) (0x0033f88c)
  11 0x0042edbf in communicator (+0x2edbe) (0x0033fd2c)
  12 0x00409551 in communicator (+0x9550) (0x0033fd60)
  13 0x00467a38 in communicator (+0x67a37) (0x0033fd8c)
  14 0x004445e5 in communicator (+0x445e4) (0x0033fdc0)
  15 0x00444740 in communicator (+0x4473f) (0x0033fdf0)
  16 0x0042f2f9 in communicator (+0x2f2f8) (0x0033fe20)
  17 0x0042e77a in communicator (+0x2e779) (0x0033feb0)
  18 0x7b46d5f0 call_process_entry+0xb() in kernel32 (0x0033fec8)
  19 0x7b46d731 start_process+0x132(entry=<couldn't compute location>,
peb=<couldn't compute location>)
[/home/focht/projects/wine/wine.repo/src/dlls/kernel32/process.c:1099] in
kernel32 (0x0033ffd8)
  20 0x7b46d5fe start_process_wrapper+0x9() in kernel32 (0x0033ffec)
0x7bc5ebd1 list_remove+0x1c
[/home/focht/projects/wine/wine.repo/src/include/wine/list.h:101] in ntdll:
movl    %edx,0x0(%eax)
101        elem->prev->next = elem->next;
--- snip ---

Also interesting (not a blocker though):

--- snip ---
0037:trace:actctx:parse_assembly_identity_elem name=L"Microsoft.VC90.CRT"
version=9.0.30729.4148 arch=L"x86"
0037:trace:actctx:parse_file_elem name=L"msvcr90.dll"
0037:warn:actctx:parse_file_elem asmv2:hash (undocumented) not supported
--- snip ---

32-bit Lync 2010 download:

https://www.microsoft.com/en-US/download/confirmation.aspx?id=5484

$ sha1sum LyncSetupEval.exe 
3e2aec047f58d4f71503f84519ad5b7c3f08f6c4  LyncSetupEval.exe

$ du -sh LyncSetupEval.exe 
54M    LyncSetupEval.exe

$ wine --version
wine-3.5-130-gdd2624a24f

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