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

WineHQ Bugzilla wine-bugs at winehq.org
Fri Feb 12 04:02:12 CST 2021


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Multiple isolation-aware    |Multiple isolation-aware
                   |applications fail to load   |applications fail to load
                   |(MSN Messenger Live 2009,   |(MSN Messenger Live 2009,
                   |Lync 2010, Adobe Premiere   |Lync 2010, Adobe Premiere
                   |Pro CS3)(embedded PE        |Pro CS3, Quicken
                   |manifest search should      |201X)(embedded PE manifest
                   |support                     |search should support
                   |ISOLATIONAWARE_MANIFEST_RES |ISOLATIONAWARE_MANIFEST_RES
                   |OURCE_ID)                   |OURCE_ID)

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

revisiting, found another app: Quicken 2015 installer (.NET 4.0 app).

Stable download link via Internet Archive:

https://web.archive.org/web/20210212083345/https://securedl.cdn.chip.de/downloads/25033498/Quicken2015Free.exe?cid=68671712&platform=chip&1613118496-1613125996-17a5be-B-a2ce8eb43eb9b7c81ffd6b32e9b647d6.exe=

Console log:

--- snip ---
...
01ec:fixme:actctx:parse_depend_manifests Could not find dependent assembly
L"LxFairuse" (14.0.0.0)
01ec:err:seh:dispatch_exception Fatal unknown exception (code=e0434352) raised
01ec:err:seh:dispatch_exception Fatal unknown exception (code=e0434352) raised
01ec:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
01ec:fixme:advapi:ReportEventW
(CAFE4242,0x0001,0x0000,0x00000402,00000000,0x0001,0x00000000,05F6DBD8,00000000):
stub
01ec:err:eventlog:ReportEventW L"Application: Quicken_Setup.exe\nFramework
Version: v4.0.30319\nDescription: The process was terminated due to an
unhandled exception.\nException Info:
Hmg.ReleaseEngineering.LicenseManager.LicenseManagerException\nStack:\n   at
Hmg.ReleaseEngineering.LicenseManager.LicenseManagerBase..cto"...
01ec:fixme:advapi:DeregisterEventSource (CAFE4242) stub
...
Unhandled Exception:
Hmg.ReleaseEngineering.LicenseManager.LicenseManagerException: Failed to create
fairuse activation context ---> System.ComponentModel.Win32Exception: Unknown
error (0x36b
1)
   at Haufe.Components.Fairuse.ActivationContext.UsingManifestDo(Action action)
   at Haufe.Components.Fairuse.ComFactory.<UseManifestForCreation>b__4(Func`1
function)
   at Haufe.Components.Fairuse.ComFactory.CreateComObject[T]()
   at Hmg.ReleaseEngineering.LicenseManager.LicenseManagerBase..ctor()
   --- End of inner exception stack trace ---
   at Hmg.ReleaseEngineering.LicenseManager.LicenseManagerBase..ctor()
   at
Hmg.Bootstrapper.UI.Common.ConfigurationManager.LicenseHandler.IsLicenseValid(String
license)
   at Hmg.Bootstrapper.UI.Lexware.Pages.SerialNumberPage.CheckHasToBeShown()
   at
Hmg.Bootstrapper.UI.Lexware.Pages.SerialNumberPage.Initialize(StateMachine
stateMachine)
   at Hmg.Bootstrapper.UI.Lexware.MainWindow..ctor(InstallationEngine
installationEngine, String productName, Settings settings,
BootstrapperApplication bootstrapperApplication, BundleTag bun
dleTag, InstallationBehavior installationBehavior)
   at Hmg.Bootstrapper.UI.Lexware.LexwareBootstrapperApplication.Run()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
wine: Unhandled exception 0xe0434352 in thread 1ec at address 7B010198 (thread
01ec), starting debugger...
...
--- snip ---

Trace log:

--- snip ---
$ WINEDEBUG=+seh,+relay,+ntdll,+actctx wine ./Quicken_Setup.exe >>log.txt 2>&1

0138:Call KERNEL32.CreateActCtxW(0e76efdc) ret=10b96cc4
0138:Call ntdll.RtlCreateActivationContext(0e76ef50,0e76efdc) ret=7b01d4a6
0138:trace:actctx:RtlCreateActivationContext 0E76EFDC 00000000
0138:trace:actctx:get_manifest_in_manifest_file loading manifest file
L"\\??\\C:\\users\\focht\\Temp\\{57d99fdf-ad69-46bc-94d2-313606e3d564}\\.ba3\\Hmg.ReleaseEngineering.LicenseManager.dll.manifest"
0138:trace:actctx:parse_manifest parsing manifest loaded from
L"\\??\\C:\\users\\focht\\Temp\\{57d99fdf-ad69-46bc-94d2-313606e3d564}\\.ba3\\Hmg.ReleaseEngineering.LicenseManager.dll.manifest"
base dir (null)
0138:trace:actctx:parse_assembly_elem (0E76C954)
0138:trace:actctx:parse_assembly_identity_elem name=L"MyApplication.app"
version=1.0.0.0 arch=(null)
0138:trace:actctx:parse_assembly_identity_elem name=L"LxFairuse"
version=14.0.0.0 arch=(null)
0138:trace:actctx:parse_dependent_assembly_elem adding name=L"LxFairuse"
version=14.0.0.0 arch=(null)
0138:trace:actctx:lookup_assembly looking for name=L"LxFairuse"
version=14.0.0.0 arch=(null)
0138:trace:actctx:get_manifest_in_pe_file looking for res #0001 in
L"\\??\\C:\\users\\focht\\Temp\\{57d99fdf-ad69-46bc-94d2-313606e3d564}\\.ba3\\LxFairuse.dll"
0138:trace:actctx:get_manifest_in_module looking for res #0001 in module
10F60001
L"\\??\\C:\\users\\focht\\Temp\\{57d99fdf-ad69-46bc-94d2-313606e3d564}\\.ba3\\LxFairuse.dll"
0138:fixme:actctx:parse_depend_manifests Could not find dependent assembly
L"LxFairuse" (14.0.0.0)
0138:Ret  ntdll.RtlCreateActivationContext() retval=c0150002 ret=7b01d4a6
0138:Call ntdll.RtlNtStatusToDosError(c0150002) ret=7b01d4b8
0138:Ret  ntdll.RtlNtStatusToDosError() retval=000036b1 ret=7b01d4b8
0138:Ret  KERNEL32.CreateActCtxW() retval=ffffffff ret=10b96cc4
0138:Call KERNEL32.GetLastError() ret=79162510
0138:Ret  KERNEL32.GetLastError() retval=000036b1 ret=79162510
...
0138:Call
KERNEL32.FormatMessageW(00003200,00000000,000036b1,00000000,0e76ed98,00000101,00000000)
ret=0f75c5df
0138:Call ntdll.RtlFindMessage(7b600000,0000000b,00000000,000036b1,0e76ecd4)
ret=7b023f15 
...
--- snip ---

Although pointless since the bug is staged, dump of 'LxFairuse.dll' resource
section:

--- snip ---
>Resource Tree (detailed dump)
   [Resource Directory (0)]:
   Characteristics:       0x00000000
   TimeDateStamp:         0x00000000  (Thu Jan 01 00:00:00 1970)
   MajorVersion:          0x0004
   MinorVersion:          0x0000  -> 4.00
   NumberOfNamedEntries:  0x0003
   NumberOfIdEntries:     0x0003
   ---------------------------------------------------------
     [ResourceEntry]:
     Name/Id:       0x800001F0  ("PRODUCTINFO")
     OffsetToData:  0x80000040  (DATA_IS_DIRECTORY)
       [Resource Directory (1)]:
...
   ---------------------------------------------------------
     [ResourceEntry]:
     Name/Id:       0x80000208  ("REGISTRY")
     OffsetToData:  0x80000058  (DATA_IS_DIRECTORY)
       [Resource Directory (1)]:
...
   ---------------------------------------------------------
     [ResourceEntry]:
     Name/Id:       0x8000021A  ("TYPELIB")
     OffsetToData:  0x80000078  (DATA_IS_DIRECTORY)
       [Resource Directory (1)]:
...
   ---------------------------------------------------------
     [ResourceEntry]:
     Name/Id:       0x00000006  (STRING TABLE)
     OffsetToData:  0x80000090  (DATA_IS_DIRECTORY)
       [Resource Directory (1)]:
...
   ---------------------------------------------------------
     [ResourceEntry]:
     Name/Id:       0x00000010  (VERSION INFORMATION)
     OffsetToData:  0x800000A8  (DATA_IS_DIRECTORY)
       [Resource Directory (1)]:
...
  ---------------------------------------------------------
     [ResourceEntry]:
     Name/Id:       0x00000018
     OffsetToData:  0x800000C0  (DATA_IS_DIRECTORY)
       [Resource Directory (1)]:
       Characteristics:       0x00000000
       TimeDateStamp:         0x00000000  (Thu Jan 01 00:00:00 1970)
       MajorVersion:          0x0004
       MinorVersion:          0x0000  -> 4.00
       NumberOfNamedEntries:  0x0000
       NumberOfIdEntries:     0x0001
         [ResourceEntry]:
         Name/Id:       0x00000002
         OffsetToData:  0x80000168  (DATA_IS_DIRECTORY)
           [Resource Directory (2)]:
           Characteristics:       0x00000000
           TimeDateStamp:         0x00000000  (Thu Jan 01 00:00:00 1970)
           MajorVersion:          0x0004
           MinorVersion:          0x0000  -> 4.00
           NumberOfNamedEntries:  0x0000
           NumberOfIdEntries:     0x0001
             [ResourceEntry]:
             Name/Id:       0x00000409
             OffsetToData:  0x000001E0
               [ResourceDataEntry]:
               OffsetToData (RVA):  0x000E11CC
               Size:                0x000009DE
               CodePage:            0x000004E4
               Reserved:            0x00000000
--- snip ---

(last one is manifest resource)

I find it a bit frustrating still being forced after years to cherry-pick a
single patch from Wine-Staging in order to investigate follow-up mainline Wine
bugs.

$ sha1sum Quicken2015Free.exe 
c6075b90716ebe58c1315ed99697571717bf7031  Quicken2015Free.exe

$ du -sh Quicken2015Free.exe 
237M    Quicken2015Free.exe

$ wine --version
wine-6.1-315-gb922b5aeef1

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