http://bugs.winehq.org/show_bug.cgi?id=31101
Bug #: 31101 Summary: ScoobyRom fails to start (mscoree:ConfigFileHandler_startElement: unknown elements) Product: Wine Version: 1.5.7 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mscoree AssignedTo: wine-bugs@winehq.org ReportedBy: fschaefer.oss@googlemail.com Classification: Unclassified
ScoobyRom (https://github.com/SubaruDieselCrew/ScoobyRom) fails to start. Instead I get the following console output:
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"appSettings" in state 1 fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 3 fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 3 fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 3 fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 3
Unhandled Exception: System.TypeLoadException: Could not load type 'ScoobyRom.MainClass' from assembly 'ScoobyRom, Version=0.6.2.32780, Culture=neutral, PublicKeyToken=null'. [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'ScoobyRom.MainClass' from assembly 'ScoobyRom, Version=0.6.2.32780, Culture=neutral, PublicKeyToken=null'.
https://bugs.winehq.org/show_bug.cgi?id=31101
--- Comment #1 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for two years. Is this still an issue in current (1.7.25 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=31101
--- Comment #2 from Frank Schäfer fschaefer.oss@googlemail.com --- Still an issue with wine 1.7.25.
https://bugs.winehq.org/show_bug.cgi?id=31101
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |https://github.com/SubaruDi | |eselCrew/ScoobyRom CC| |focht@gmx.net Summary|ScoobyRom fails to start |ScoobyRom fails to start |(mscoree:ConfigFileHandler_ |with Wine-Mono |startElement: unknown |(mscoree:ConfigFileHandler_ |elements) |startElement: unknown | |elements) Ever confirmed|0 |1
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
filling fields and confirming.
You can use MS .NET Framework 4.0 client profile to get it work until Mono catches up one day ...
Regards
https://bugs.winehq.org/show_bug.cgi?id=31101
--- Comment #4 from Vincent Povirk madewokherd@gmail.com --- Can you get a +mscoree log?
https://bugs.winehq.org/show_bug.cgi?id=31101
--- Comment #5 from Frank Schäfer fschaefer.oss@googlemail.com --- Created attachment 49521 --> https://bugs.winehq.org/attachment.cgi?id=49521 Log with +mscoree
Log with +mscoree as requested in comment #4.
https://bugs.winehq.org/show_bug.cgi?id=31101
--- Comment #6 from Vincent Povirk madewokherd@gmail.com --- err:module:import_dll Library libgcc_s_sjlj-1.dll (which is needed by L"C:\windows\mono\mono-2.0\bin\libmono-2.0-x86.dll") not found
That's bug 35413. If you're using Fedora there should be an update that fixes this for new prefixes. Otherwise, wait for the next release of Wine Mono which should be soon.
(Not marking as duplicate because the original bug was different, it's just been blocked by this packaging issue.)
https://bugs.winehq.org/show_bug.cgi?id=31101
--- Comment #7 from Frank Schäfer fschaefer.oss@googlemail.com --- I was able to update wine-mono today (to 4.5.6), and the
err:module:import_dll Library libgcc_s_sjlj-1.dll (which is needed by L"C:\windows\mono\mono-2.0\bin\libmono-2.0-x86.dll") not found
has disappeared. But the rest of the log still looks the same.
(wine version is 1.7.38)
https://bugs.winehq.org/show_bug.cgi?id=31101
Frank Schäfer fschaefer.oss@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #49521|0 |1 is obsolete| |
--- Comment #8 from Frank Schäfer fschaefer.oss@googlemail.com --- Created attachment 50981 --> https://bugs.winehq.org/attachment.cgi?id=50981 Updated Log with +mscoree
https://bugs.winehq.org/show_bug.cgi?id=31101
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
--- Comment #9 from Vincent Povirk madewokherd@gmail.com --- Works for me in Wine 4.7.
https://bugs.winehq.org/show_bug.cgi?id=31101
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED URL|https://github.com/SubaruDi |https://codeload.github.com |eselCrew/ScoobyRom |/SubaruDieselCrew/ScoobyRom Summary|ScoobyRom fails to start |ScoobyRom v0.6.x-0.8.x |with Wine-Mono |(.NET 4.0 app) fails to |(mscoree:ConfigFileHandler_ |start with Wine-Mono |startElement: unknown | |elements) |
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello folks,
the 'ConfigFileHandler_startElement Unknown element L"add"' fixme/trace messages in console are benign and not the reason for the failure.
Content of 'ScoobyRom.exe.config':
--- snip --- <?xml version="1.0" encoding="utf-8"?> <!-- Use Windows/DOS "End of Line" here for bad editors like Windows notepad ... --> <configuration> <appSettings> <!-- gnuplot launcher/executable name/path, specific to operating system. Only the matching entry for the currently running OS is needed at runtime. gnuplot_<platform-ID> --> <add key="gnuplot_Unix" value="gnuplot"/> <add key="gnuplot_MacOSX" value="gnuplot"/> <!-- Microsoft Windows: usually full path of gnuplot.exe is needed here: Tested: Windows 8.1 x64 + gnuplot 5.0.1 x64 (gp501-win64-mingw.exe) using default install path: "C:\Program Files\gnuplot\bin\gnuplot.exe" --> <add key="gnuplot_Win32NT" value="C:\Program Files\gnuplot\bin\gnuplot.exe"/>
<!-- Whether to display icons by default. "True" or "False". --> <add key="iconsOnByDefault" value="True"/>
<!--- icon size, 64 x 48 by default if not specified --> <add key="iconWidth" value="64"/> <add key="iconHeight" value="48"/> </appSettings> </configuration> --- snip ---
Nifty one-liner to dump .NET metadata header (showing CLR version etc.):
--- snip --- $ pwd /home/focht/Downloads/ScoobyRom-0.7.0
$ 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)" ./LibScoobyRom.dll 000034d0 8c b5 4e 44 b2 02 ba 18 79 57 b4 b4 42 53 4a 42 |..ND....yW..BSJB| 000034e0 01 00 01 00 00 00 00 00 0c 00 00 00 76 34 2e 30 |............v4.0| 000034f0 2e 33 30 33 31 39 00 00 00 00 05 00 6c 00 00 00 |.30319......l...| ./Florence.dll 000123e0 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............| 000123f0 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......| 00012400 6c 00 00 00 cc ac 00 00 23 7e 00 00 38 ad 00 00 |l.......#~..8...| ./ScoobyRom.exe 00014730 45 4e 44 ae 42 60 82 00 42 53 4a 42 01 00 01 00 |END.B`..BSJB....| 00014740 00 00 00 00 0c 00 00 00 76 34 2e 30 2e 33 30 33 |........v4.0.303| 00014750 31 39 00 00 00 00 05 00 6c 00 00 00 18 4a 00 00 |19......l....J..| --- snip ---
--- snip --- $ wine ./ScoobyRom.exe 0009:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"appSettings" in state 2 0009:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 0009:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 0009:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 0009:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 0009:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 0009:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies. File name: 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies. File name: 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' --- snip ---
It needs GTK# for .NET prerequisite to run Gtk#-based applications:
https://github.com/SubaruDieselCrew/ScoobyRom/blob/master/ScoobyRom/README.m...
http://download.xamarin.com/GTKforWindows/Windows/gtk-sharp-2.12.26.msi
After satisfying the dependency:
--- snip --- $ wine ./ScoobyRom.exe 003e:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"appSettings" in state 2 003e:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 003e:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 003e:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 003e:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 003e:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 003e:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 003e:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\windows\system32\tzres.dll", (null), 0x34ec18, 0x15c950, 0x34ec1c, 0x34ec10 003e:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\windows\system32\tzres.dll", (null), 0x34ec18, 0x15cb68, 0x34ec1c, 0x34ec10
Unhandled Exception: Florence.FlorenceException: Error: Arial font is not installed on this system at Florence.PlotSurface2D.Init () [0x00065] in <a516b78509ae415684c7295b6685646c>:0 at Florence.PlotSurface2D..ctor () [0x00024] in <a516b78509ae415684c7295b6685646c>:0 at Florence.InteractivePlotSurface2D..ctor () [0x0000b] in <a516b78509ae415684c7295b6685646c>:0 at MainWindow..ctor (System.String[] args) [0x0000b] in <105279bdb6e84962a2b7fbe5e7a78b58>:0 at ScoobyRom.MainClass.Main (System.String[] args) [0x00063] in <105279bdb6e84962a2b7fbe5e7a78b58>:0 [ERROR] FATAL UNHANDLED EXCEPTION: Florence.FlorenceException: Error: Arial font is not installed on this system at Florence.PlotSurface2D.Init () [0x00065] in <a516b78509ae415684c7295b6685646c>:0 at Florence.PlotSurface2D..ctor () [0x00024] in <a516b78509ae415684c7295b6685646c>:0 at Florence.InteractivePlotSurface2D..ctor () [0x0000b] in <a516b78509ae415684c7295b6685646c>:0 at MainWindow..ctor (System.String[] args) [0x0000b] in <105279bdb6e84962a2b7fbe5e7a78b58>:0 at ScoobyRom.MainClass.Main (System.String[] args) [0x00063] in <105279bdb6e84962a2b7fbe5e7a78b58>:0 --- snip ---
Bug 32342 -> 'winetricks -q arial'
With Arial font installed the app successfully starts and shows main user interface.
$ sha1sum ScoobyRom_0_7_0.zip 08fd6f5e58412a5ce88e373df78ceed4a3c02034 ScoobyRom_0_7_0.zip
$ du -sh ScoobyRom_0_7_0.zip 156K ScoobyRom_0_7_0.zip
$ wine --version wine-4.7
Regards
https://bugs.winehq.org/show_bug.cgi?id=31101
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://codeload.github.com |https://github.com/SubaruDi |/SubaruDieselCrew/ScoobyRom |eselCrew/ScoobyRom
https://bugs.winehq.org/show_bug.cgi?id=31101
--- Comment #11 from Vincent Povirk madewokherd@gmail.com --- BTW, you can also read the clr header with winedump -j clr.
https://bugs.winehq.org/show_bug.cgi?id=31101
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.8.