http://bugs.winehq.org/show_bug.cgi?id=31430
Bug #: 31430 Summary: Microsoft HealthVault Connection Center 4.1 fails to run Product: Wine Version: 1.5.10 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: bradpitcher@gmail.com Classification: Unclassified
Microsoft HealthVault Connection Center 4.1 fails to run, tested on Ubuntu 12.04. The software can be downloaded for free here: http://www.microsoft.com/en-us/healthvault/tools-devices/devices.aspx
I get this on the command-line when I attempt to run it:
bpitcher@millsmess:~/.wine/drive_c/Program Files/Microsoft HealthVault$ env WINEPREFIX="/home/bpitcher/.wine" wine C:\windows\command\start.exe /Unix /home/bpitcher/.wine/dosdevices/c:/users/Public/Desktop/Microsoft\ HealthVault\ Connection\ Center.lnk fixme:exec:SHELL_execute flags ignored: 0x00000100 fixme:exec:SHELL_execute flags ignored: 0x00004100 bpitcher@millsmess:~/.wine/drive_c/Program Files/Microsoft HealthVault$ fixme:mscoree:ConfigFileHandler_startElement Unknown element L"system.net" in state 1 fixme:mscoree:ConfigFileHandler_startElement Unknown element L"defaultProxy" in state 3 fixme:advapi:RegisterTraceGuidsW (0x6cd15f38, 0x6cd20180, {e2821408-c59d-418f-ad3f-aa4e792aeb79}, 1, 0x33eaf8, (null), (null), 0x6cd20188,): stub fixme:msvcm:CrtImplementationDetails_DoDllLanguageSupportValidation stub fixme:msvcm:CrtImplementationDetails_RegisterModuleUninitializer 0xc73f18: stub
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for HealthVaultConnectionCenter.Program ---> System.ArgumentNullException: Argument cannot be null. Parameter name: ptr at System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer (IntPtr ptr, System.Type t) [0x00000] in <filename unknown>:0 at HealthVaultConnectionCenter.TraceProvider..ctor (System.String applicationName, Guid controlGuid, Boolean useSequenceNumbers) [0x00000] in <filename unknown>:0 at HealthVaultConnectionCenter.Program..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for HealthVaultConnectionCenter.Program ---> System.ArgumentNullException: Argument cannot be null. Parameter name: ptr at System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer (IntPtr ptr, System.Type t) [0x00000] in <filename unknown>:0 at HealthVaultConnectionCenter.TraceProvider..ctor (System.String applicationName, Guid controlGuid, Boolean useSequenceNumbers) [0x00000] in <filename unknown>:0 at HealthVaultConnectionCenter.Program..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- fixme:advapi:UnregisterTraceGuids 0: stub
http://bugs.winehq.org/show_bug.cgi?id=31430
Brad Pitcher bradpitcher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.microsoft.com/en | |-us/healthvault/tools-devic | |es/devices.aspx
http://bugs.winehq.org/show_bug.cgi?id=31430
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download CC| |madewokherd@gmail.com Component|-unknown |mscoree
--- Comment #1 from Vincent Povirk madewokherd@gmail.com 2012-08-08 13:00:50 CDT --- Does this work with native .NET framework?
http://bugs.winehq.org/show_bug.cgi?id=31430
--- Comment #2 from Brad Pitcher bradpitcher@gmail.com 2012-08-08 13:07:40 CDT --- Sorry, I don't know, how can I find out?
(In reply to comment #1)
Does this work with native .NET framework?
http://bugs.winehq.org/show_bug.cgi?id=31430
--- Comment #3 from Austin English austinenglish@gmail.com 2012-08-09 12:28:39 CDT --- (In reply to comment #2)
Sorry, I don't know, how can I find out?
(In reply to comment #1)
Does this work with native .NET framework?
You can use winetricks, e.g., `winetricks dotnet20` (I'm not sure what version of the .NET framework it's using, and apparently I can't reset my windows live password).
http://bugs.winehq.org/show_bug.cgi?id=31430
--- Comment #4 from Brad Pitcher bradpitcher@gmail.com 2012-08-09 13:10:11 CDT --- winetricks dotnet20 installation is broken for me, so I am unable to test that:
Executing w_do_call dotnet20 Executing load_dotnet20 Executing w_do_call fontfix Executing load_fontfix Setting Windows version to win2k Executing winetricks_early_wine regedit C:\windows\Temp_dotnet20\set-winver.reg Executing mkdir -p /home/miguel/.cache/winetricks/dotnet20 Executing unzip -o -q -d /home/miguel/.wine/dosdevices/c:/windows/system32 l_intl.zip Executing mkdir -p /home/miguel/.cache/winetricks/dotnet20 Executing wine dotnetfx.exe fixme:advapi:DecryptFileA "C:\users\miguel\Temp\IXP000.TMP\" 00000000 fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 0/00/0000, dlt (d/m/y): 0/00/0000 fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 0/00/0000, dlt (d/m/y): 0/00/0000 fixme:advapi:LsaOpenPolicy ((null),0x33f31c,0x00000001,0x33f344) stub fixme:advapi:LsaClose (0xcafe) stub ------------------------------------------------------ Note: command 'wine dotnetfx.exe' returned status 27. Aborting. ------------------------------------------------------
http://bugs.winehq.org/show_bug.cgi?id=31430
--- Comment #5 from Brad Pitcher bradpitcher@gmail.com 2012-08-09 13:11:24 CDT --- Sorry, I will paste future logs and back traces, just saw the note
https://bugs.winehq.org/show_bug.cgi?id=31430
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Abandoned?
--- Comment #6 from Ken Sharp imwellcushtymelike@gmail.com --- Is this still an issue in Wine 1.7.45 or later?
https://bugs.winehq.org/show_bug.cgi?id=31430
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com, | |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=31430
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.microsoft.com/en |go.microsoft.com/fwlink/?Li |-us/healthvault/tools-devic |nkID=127972 |es/devices.aspx | Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Keywords|Abandoned? |dotnet
--- Comment #7 from Bruno Jesus 00cpxxx@gmail.com --- The problem is still present using wine-mono, it works fine with dotnet20.
f03bb756732b2b6561e9537c2e76161becc68b7f HealthVaultConnectionCenter4.1-Win7.exe
The program requires Windows 7.
https://bugs.winehq.org/show_bug.cgi?id=31430
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 54737 --> https://bugs.winehq.org/attachment.cgi?id=54737 log of wine 1.9.12 with mono
https://bugs.winehq.org/show_bug.cgi?id=31430
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor URL|go.microsoft.com/fwlink/?Li |http://go.microsoft.com/fwl |nkID=127972 |ink/?LinkID=127972
https://bugs.winehq.org/show_bug.cgi?id=31430
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=31430
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|dotnet | Summary|Microsoft HealthVault |Microsoft HealthVault |Connection Center 4.1 fails |Connection Center 4.1 fails |to run |to run with Wine-Mono CC| |focht@gmx.net Status|NEW |NEEDINFO
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello folks,
is the problem still present with recent Wine 3.7+? Removing 'dotnet' keyword, it's reserved for MS .NET Frameworks.
Regards
https://bugs.winehq.org/show_bug.cgi?id=31430
winetaste@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetaste@gmx.net
--- Comment #10 from winetaste@gmx.net --- Still present using wine-mono
https://bugs.winehq.org/show_bug.cgi?id=31430
--- Comment #11 from winetaste@gmx.net --- Created attachment 61342 --> https://bugs.winehq.org/attachment.cgi?id=61342 backtrace
Still present using wine-mono (wine 3.7). Works with dotnet20.
https://bugs.winehq.org/show_bug.cgi?id=31430
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Microsoft HealthVault |Microsoft HealthVault |Connection Center 4.1 fails |Connection Center v4.1 |to run with Wine-Mono |(.NET 4.0 app) crashes on | |startup with | |'System.InvalidProgramExcep | |tion: Invalid IL code' with | |Wine-Mono URL|http://go.microsoft.com/fwl |https://web.archive.org/web |ink/?LinkID=127972 |/20210205222942/http://file | |1.softsea.com/download/e36e | |536d/44d2784d2412cef3c26ac6 | |57fa4c4c56/PC_Access_Contro | |l/HealthVaultConnectionCent | |erv4.1-Win7.exe Status|NEEDINFO |NEW
--- Comment #12 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive:
https://web.archive.org/web/20210205222942/http://file1.softsea.com/download...
Still crashes but with different signature. Possibly next problem.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/Microsoft HealthVault/Connection Center
$ wine ./ConnectionCenter.exe
0024:fixme:msvcm:CrtImplementationDetails_RegisterModuleUninitializer 0D954878: stub
Unhandled Exception: System.InvalidProgramException: Invalid IL code in <Module>:HsPnPListener.DoTask (HsPnPListener* modopt(System.Runtime.CompilerServices.IsConst) modopt(System.Runtime.CompilerServices.IsConst)): IL_0152: call 0x0a000019
at (wrapper native-to-managed) <Module>.HsPnPListener.DoTask(HsPnPListener* modopt(System.Runtime.CompilerServices.IsConst) modopt(System.Runtime.CompilerServices.IsConst)) at <Module>.CHsTask.ThreadProc (System.Void* pData) [0x00012] in <f5ef3b2e1f6544ef9a1c9e59804885c4>:0 at (wrapper native-to-managed) <Module>.CHsTask.ThreadProc(void*) [ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidProgramException: Invalid IL code in <Module>:HsPnPListener.DoTask (HsPnPListener* modopt(System.Runtime.CompilerServices.IsConst) modopt(System.Runtime.CompilerServices.IsConst)): IL_0152: call 0x0a000019
at (wrapper native-to-managed) <Module>.HsPnPListener.DoTask(HsPnPListener* modopt(System.Runtime.CompilerServices.IsConst) modopt(System.Runtime.CompilerServices.IsConst)) at <Module>.CHsTask.ThreadProc (System.Void* pData) [0x00012] in <f5ef3b2e1f6544ef9a1c9e59804885c4>:0 00fc:fixme:ntdll:EtwUnregisterTraceGuids deadbeef: stub at (wrapper native-to-managed) <Module>.CHsTask.ThreadProc(void*)(0D2C6644) stub --- snip ---
'Microsoft.Health.DeviceManagement.dll' is a mixed mode assembly.
$ sha1sum HealthVaultConnectionCenterv4.1-Win7.exe fa87f1af92a685885e0ef8fa53940d7c29b9eb32 HealthVaultConnectionCenterv4.1-Win7.exe
$ du -sh HealthVaultConnectionCenterv4.1-Win7.exe 12M HealthVaultConnectionCenterv4.1-Win7.exe
$ wine --version wine-6.1
Regards
https://bugs.winehq.org/show_bug.cgi?id=31430
--- Comment #13 from Esme Povirk madewokherd@gmail.com --- With wine-mono from develop branch it has a similar exception but in a different method.
System.InvalidProgramException: Invalid IL code in <Module>:HsPnPListener.DoTask (HsPnPListener* modopt(System.Runtime.CompilerServices.IsConst) modopt(System.Runtime.CompilerServices.IsConst)): IL_0152: call 0x0a000019
https://bugs.winehq.org/show_bug.cgi?id=31430
--- Comment #14 from Esme Povirk madewokherd@gmail.com --- Looks like this is calls a pinvoke varargs function, which we still don't have support for in Mono.
https://bugs.winehq.org/show_bug.cgi?id=31430
--- Comment #15 from Esme Povirk madewokherd@gmail.com --- With pinvoke vararg calls implemented, it shows a message box saying
"Connection Center can't run because you're logged in to this computer on a user account without sufficient access privileges."
Probably related to this exception:
[00000024:] EXCEPTION handling: System.Security.Cryptography.CryptographicException: CertOpenStore failed
"<unnamed thread>" tid=00000024 this=02670120 , thread handle : 00eb4ac0, state : not waiting at Mono.Security.X509.X509Store..ctor (string,System.Security.Cryptography.X509Certificates.StoreLocation,System.Security.Cryptography.X509Certificates.OpenFlags) [0x0009d] in <51d59bdc144d4df2b9067a2f3707f5f8>:0 at Mono.Security.X509.X509Stores.Open (string,System.Security.Cryptography.X509Certificates.OpenFlags) [0x0000e] in <51d59bdc144d4df2b9067a2f3707f5f8>:0 at System.Security.Cryptography.X509Certificates.X509Store.Open (System.Security.Cryptography.X509Certificates.OpenFlags) [0x00032] in <1eb7e35eee6e45a1b2cc885d14099836>:0 at Microsoft.Health.Certificate.CertificateStore..ctor (System.Security.Cryptography.X509Certificates.StoreLocation) [0x00014] in <4e4c678c008d4988adb5a5c7af014bf2>:0
https://bugs.winehq.org/show_bug.cgi?id=31430
--- Comment #16 from Esme Povirk madewokherd@gmail.com --- It seems the application assumes the personal certificate store already exists. Importing a certificate to the personal store in Internet Settings works around this.
We then get an exception trying to create a certificate from a handle.
System.PlatformNotSupportedException: Initializing `X509Certificate` from native handle is not supported. at System.Security.Cryptography.X509Certificates.X509Certificate..ctor (System.IntPtr handle) [0x0001c] in <359d9744aa4242ad99e65d254041b52c>:0