[Bug 16893] New: .NET 3.0: Windows Workflow Foundation post-install: loadperf needs LoadPerfCounterTextStringsA/W stubs

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jan 11 13:05:31 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=16893

           Summary: .NET 3.0: Windows Workflow Foundation post-install:
                    loadperf needs LoadPerfCounterTextStringsA/W stubs
           Product: Wine
           Version: 1.1.12
          Platform: Other
               URL: http://www.microsoft.com/downloads/details.aspx?FamilyID
                    =10cc340b-f857-4a14-83f5-25634c3bf043
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net


Hello,

after getting past bug 16891 the WF post install fails while running
performance counter registration.
Thanks to recent fixture of bug 12099 we have loadperf dll already in place...

--- snip ---
...
wine: Call from 0x7b844f54 to unimplemented function
loadperf.dll.LoadPerfCounterTextStringsW, aborting
fixme:advapi:CheckTokenMembership (0x188 0x1baf48 0x33e2c8) stub!
fixme:imm:ImmDisableIME (-1): stub
fixme:thread:NtQueryInformationThread Cannot get kerneltime or usertime of
other threads
fixme:thread:NtQueryInformationThread info class 9 not supported yet
fixme:thread:NtQueryInformationThread info class 9 not supported yet
fixme:thread:NtQueryInformationThread info class 9 not supported yet
fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime 2.0 Error Reporting"):
stub
fixme:advapi:ReportEventW
(0xcafe4242,0x0001,0x0000,0x000003e8,(nil),0x0008,0x0000011a,0x3009a1b4,0x7ed505c0):
stub
err:eventlog:ReportEventW L"performancecounterinstaller.exe"
err:eventlog:ReportEventW L"3.0.4203.2"
err:eventlog:ReportEventW L"44c6ca00"
err:eventlog:ReportEventW L"kernel32.dll"
err:eventlog:ReportEventW L"5.1.2600.2180"
err:eventlog:ReportEventW L"00000000"
err:eventlog:ReportEventW L"0"
err:eventlog:ReportEventW L"00024f54"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:thread:NtQueryInformationThread info class 9 not supported yet
fixme:thread:NtQueryInformationThread info class 9 not supported yet
fixme:thread:NtQueryInformationThread info class 9 not supported yet

Unhandled Exception: System.Runtime.InteropServices.SEHException: External
component has thrown an exception.
   at System.Workflow.NativeMethods.LoadPerfCounterTextStrings(String
commandLine, Boolean quietMode)
   at System.Workflow.PerformanceCounterInstaller.Install()
   at System.Workflow.PerformanceCounterInstaller.Main(String[] args)
wine: Unimplemented function loadperf.dll.LoadPerfCounterTextStringsW called at
address 0x7b844f54 (thread 000c), starting debugger...
Unhandled exception: unimplemented function
loadperf.dll.LoadPerfCounterTextStringsW called in 32-bit code (0x7b844fd7).
--- snip ---

To reproduce this problem manually, execute the following:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/windows/Microsoft.NET/Framework/v3.0/Windows Workflow
Foundation

$ wine ./PerformanceCounterInstaller.exe uninstall
...
$ wine ./PerformanceCounterInstaller.exe install

--- snip ---

The uninstall step is needed otherwise the registry keys are not explicitly
removed and "install" will short-circuit, not doing anything useful.

With stubs to loadperf added in similar manner like
UnloadPerfCounterTextStringsA/W, we can get past this:

--- snip ---
$ WINEDEBUG=+tid,+seh,+loadperf wine ./PerformanceCounterInstaller.exe install
...
0009:trace:loadperf:DllMain (0x0x60cb0000, 1, (nil))
0009:fixme:loadperf:LoadPerfCounterTextStringsW (L"
\"C:\\windows\\Microsoft.NET\\Framework\\v3.0\\Windows Workflow
Foundation\\PerfCounters.ini\"", 1): stub
...
--- snip ---

Regards


-- 
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