[Bug 27185] Futuremark PC Mark 7 (.NET 4.0 app) fails to run with Wine-Mono (mscoree:get_runtime Unrecognized version L" v4.0.20926")
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Apr 29 02:51:28 CDT 2019
https://bugs.winehq.org/show_bug.cgi?id=27185
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL|https://www.techpowerup.com |https://web.archive.org/web
|/download/futuremark-pcmark |/20190429065049/http://us1-
|-7/ |dl.techpowerup.com/files/w5
| |ZIeMF4YJ_8H-8G9f6b3w/155652
| |1232/PCMark_7_v140_installe
| |r.exe
Keywords|Abandoned? |
Summary|Futuremark PC Mark 7 (.NET |Futuremark PC Mark 7 (.NET
|4.0 app) fails to run with |4.0 app) fails to run with
|Wine-Mono |Wine-Mono
| |(mscoree:get_runtime
| |Unrecognized version
| |L"v4.0.20926")
--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello folks,
revisiting, obviously still present.
I've created a snapshot of one of the download mirrors via Internet Archive:
https://www.techpowerup.com/download/futuremark-pcmark-7/
https://web.archive.org/web/20190429065049/http://us1-dl.techpowerup.com/files/w5ZIeMF4YJ_8H-8G9f6b3w/1556521232/PCMark_7_v140_installer.exe
---- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Futuremark/PCMark 7/bin
$ WINE_MONO_VERBOSE=1 WINE_MONO_TRACE=x wine ./PCMark7.exe
0009:fixme:mscoree:get_runtime Unrecognized version L"v4.0.20926"
--- snip ---
Nifty one-liner to dump .NET metadata header (showing CLR version etc.):
--- snip ---
$ find . -type f \( -iname "*.dll" -or -iname "*.exe" \) | xargs -i file {} |
grep assembly | cut -f1 -d: | xargs -IX sh -c "echo \"X\" && (hexdump -C \"X\"
| grep BSJB -B0 -C2)"
./BenchmarkUtility.dll
0000e4c0 00 0a 2a 00 42 53 4a 42 01 00 01 00 00 00 00 00 |..*.BSJB........|
0000e4d0 0c 00 00 00 76 34 2e 30 2e 33 30 33 31 39 00 00 |....v4.0.30319..|
0000e4e0 00 00 05 00 6c 00 00 00 70 81 00 00 23 7e 00 00 |....l...p...#~..|
./x64/BenchmarkUtility.dll
0000e4c0 00 0a 2a 00 42 53 4a 42 01 00 01 00 00 00 00 00 |..*.BSJB........|
0000e4d0 0c 00 00 00 76 34 2e 30 2e 33 30 33 31 39 00 00 |....v4.0.30319..|
0000e4e0 00 00 05 00 6c 00 00 00 70 81 00 00 23 7e 00 00 |....l...p...#~..|
./x64/WICImage.exe
0001cf60 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............|
0001cf70 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......|
0001cf80 6c 00 00 00 04 d0 02 00 23 7e 00 00 70 d0 02 00 |l.......#~..p...|
./x64/Sleeper.exe
000004a0 2a 00 00 00 42 53 4a 42 01 00 01 00 00 00 00 00 |*...BSJB........|
000004b0 0c 00 00 00 76 34 2e 30 2e 33 30 33 31 39 00 00 |....v4.0.30319..|
000004c0 00 00 05 00 6c 00 00 00 b8 03 00 00 23 7e 00 00 |....l.......#~..|
./x64/TextEditing.exe
0006ca60 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............|
0006ca70 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......|
0006ca80 6c 00 00 00 2c 00 05 00 23 7e 00 00 98 00 05 00 |l...,...#~......|
./x64/MFPlayback.exe
0001ada0 81 f0 09 0f 7e 50 ee fb 42 53 4a 42 01 00 01 00 |....~P..BSJB....|
0001adb0 00 00 00 00 0c 00 00 00 76 34 2e 30 2e 33 30 33 |........v4.0.303|
0001adc0 31 39 00 00 00 00 05 00 6c 00 00 00 7c 1d 01 00 |19......l...|...|
./x64/WebBrowser.exe
0001a960 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............|
0001a970 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......|
0001a980 6c 00 00 00 94 7a 00 00 23 7e 00 00 00 7b 00 00 |l....z..#~...{..|
./x64/CNGCrypto.exe
00012c60 80 14 01 40 01 00 00 00 42 53 4a 42 01 00 01 00 |... at ....BSJB....|
00012c70 00 00 00 00 0c 00 00 00 76 34 2e 30 2e 33 30 33 |........v4.0.303|
00012c80 31 39 00 00 00 00 05 00 6c 00 00 00 08 ea 00 00 |19......l.......|
./x64/MFFastXcode.exe
00018d60 92 49 e8 cd 10 fd ec 96 42 53 4a 42 01 00 01 00 |.I......BSJB....|
00018d70 00 00 00 00 0c 00 00 00 76 34 2e 30 2e 33 30 33 |........v4.0.303|
00018d80 31 39 00 00 00 00 05 00 6c 00 00 00 7c 17 01 00 |19......l...|...|
./x64/Firefly.exe
0000fdc0 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............|
0000fdd0 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......|
0000fde0 6c 00 00 00 14 d8 00 00 23 7e 00 00 80 d8 00 00 |l.......#~......|
./x64/DX10.exe
0000fa90 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............|
0000faa0 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......|
0000fab0 6c 00 00 00 60 d6 00 00 23 7e 00 00 cc d6 00 00 |l...`...#~......|
./WICImage.exe
00019250 30 b5 46 00 10 00 00 00 42 53 4a 42 01 00 01 00 |0.F.....BSJB....|
00019260 00 00 00 00 0c 00 00 00 76 34 2e 30 2e 33 30 33 |........v4.0.303|
00019270 31 39 00 00 00 00 05 00 6c 00 00 00 c8 98 02 00 |19......l.......|
./Sleeper.exe
000004a0 2a 00 00 00 42 53 4a 42 01 00 01 00 00 00 00 00 |*...BSJB........|
000004b0 0c 00 00 00 76 34 2e 30 2e 33 30 33 31 39 00 00 |....v4.0.30319..|
000004c0 00 00 05 00 6c 00 00 00 b8 03 00 00 23 7e 00 00 |....l.......#~..|
./PCMarkEssence.dll
00006c10 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............|
00006c20 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......|
00006c30 6c 00 00 00 28 3a 00 00 23 7e 00 00 94 3a 00 00 |l...(:..#~...:..|
./StorageTracePlayback.exe
0001e8f0 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............|
0001e900 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......|
0001e910 6c 00 00 00 f8 1f 01 00 23 7e 00 00 64 20 01 00 |l.......#~..d ..|
./TextEditing.exe
00051800 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............|
00051810 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......|
00051820 6c 00 00 00 1c 8b 04 00 23 7e 00 00 88 8b 04 00 |l.......#~......|
./MFPlayback.exe
00019870 40 07 44 00 10 00 00 00 42 53 4a 42 01 00 01 00 |@.D.....BSJB....|
00019880 00 00 00 00 0c 00 00 00 76 34 2e 30 2e 33 30 33 |........v4.0.303|
00019890 31 39 00 00 00 00 05 00 6c 00 00 00 50 01 01 00 |19......l...P...|
./WebBrowser.exe
00014730 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............|
00014740 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......|
00014750 6c 00 00 00 0c 75 00 00 23 7e 00 00 78 75 00 00 |l....u..#~..xu..|
./WebBrowser2.exe
00001050 50 41 44 50 b4 00 00 00 42 53 4a 42 01 00 01 00 |PADP....BSJB....|
00001060 00 00 00 00 0c 00 00 00 76 34 2e 30 2e 33 30 33 |........v4.0.303|
00001070 31 39 00 00 00 00 05 00 6c 00 00 00 90 0b 00 00 |19......l.......|
./CNGCrypto.exe
00011480 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............|
00011490 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......|
000114a0 6c 00 00 00 60 b4 00 00 23 7e 00 00 cc b4 00 00 |l...`...#~......|
./PCMark7Cmd.exe
00025c30 a7 cd 00 00 42 53 4a 42 01 00 01 00 00 00 00 00 |....BSJB........|
00025c40 0c 00 00 00 76 34 2e 30 2e 32 30 39 32 36 00 00 |....v4.0.20926..|
00025c50 00 00 05 00 6c 00 00 00 91 69 00 00 23 53 74 72 |....l....i..#Str|
./PCMark7.exe
001d0060 00 00 00 00 42 53 4a 42 01 00 01 00 00 00 00 00 |....BSJB........|
001d0070 0c 00 00 00 76 34 2e 30 2e 32 30 39 32 36 00 00 |....v4.0.20926..|
001d0080 00 00 05 00 6c 00 00 00 94 8b 00 00 23 53 74 72 |....l.......#Str|
./MFFastXcode.exe
00017610 40 ec 43 00 10 00 00 00 42 53 4a 42 01 00 01 00 |@.C.....BSJB....|
00017620 00 00 00 00 0c 00 00 00 76 34 2e 30 2e 33 30 33 |........v4.0.303|
00017630 31 39 00 00 00 00 05 00 6c 00 00 00 a8 fb 00 00 |19......l.......|
./Firefly.exe
0000ed40 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............|
0000ed50 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......|
0000ed60 6c 00 00 00 14 a6 00 00 23 7e 00 00 80 a6 00 00 |l.......#~......|
./DX10.exe
0000ea20 b0 b3 42 00 10 00 00 00 42 53 4a 42 01 00 01 00 |..B.....BSJB....|
0000ea30 00 00 00 00 0c 00 00 00 76 34 2e 30 2e 33 30 33 |........v4.0.303|
0000ea40 31 39 00 00 00 00 05 00 6c 00 00 00 88 a4 00 00 |19......l.......|
--- snip ---
Main assembly metadata:
--- snip ---
// Assembly PCMark7, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 2BEA72EF-67D4-480E-931A-84A4E05F471E
// Assembly references:
// PresentationFramework, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35
// mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// System.Xaml, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
// PresentationCore, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35
// WindowsBase, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35
// System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// System.Xml.Linq, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
// System.Windows.Forms, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
// System.Core, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
// System.Xml, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
// System.Security, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a
// System.Numerics, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
// System.Management, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a
// Module references:
// user32.dll
// kernel32.dll
// ole32.dll
[assembly: AssemblyTitle("PCMark 7")]
[assembly: TargetFramework(".NETFramework,Version=v4.0,Profile=Client",
FrameworkDisplayName = ".NET Framework 4 Client Profile")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyProduct("PCMark 7")]
[assembly: SuppressIldasm]
[assembly: NotDecompile]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Futuremark Corporation")]
[assembly: AssemblyTrademark("")]
[assembly: CompilationRelaxations(8)]
[assembly: ComVisible(false)]
[assembly:
Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: AssemblyFileVersion("1.4.0.0")]
[assembly: ThemeInfo(ResourceDictionaryLocation.None,
ResourceDictionaryLocation.SourceAssembly)]
[assembly: AssemblyCopyright("Copyright © Futuremark Corporation 2011-2013")]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: AssemblyVersion("1.4.0.0")]
--- snip ---
Apparently some "genius" built the main executables to target some early .NET
Framework 4.0 pre-release. v4.0.20926 is something in between beta1 and beta2.
Wine-Mono doesn't recognize it.
You can work around by creating 'PCMark7.exe.config' with following content in
application directory:
--- snip ---
<configuration>
<startup>
<supportedRuntime version="v4.0.30319"/>
</startup>
</configuration>
--- snip ---
It will then hit bug 24501 ("wine-mono does not support WPF")
--- snip ---
$ wine ./PCMark7.exe
The entry point method could not be loaded due to Could not load file or
assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
--- snip ---
$ sha1sum PCMark_7_v140_installer.exe
ba2069a206024b6d3e268a1ad289a19771971ab0 PCMark_7_v140_installer.exe
$ du -sh PCMark_7_v140_installer.exe
307M PCMark_7_v140_installer.exe
$ wine --version
wine-4.7
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