http://bugs.winehq.org/show_bug.cgi?id=31215
Bug #: 31215 Summary: FOCA Free fails to start because of carriage return entities in .net's machine.config? Product: Wine Version: 1.5.8 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
A user complained in http://forum.winehq.org/viewtopic.php?t=16143 that "FOCA Free" crashed on startup.
The app initially crashes with some weird mono error, so I tried 'winetricks dotnet20'.
This prompted the app to crash with Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=3.5.0.0 so I tried 'winetricks dotnet35'.
After that, the app crashed with System.Configuration.ConfigurationErrorsException: Unrecognized element. (C:\windows\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 156)
Looking at that file, I saw that that line and all later lines ended with a carriage return entity (ampersand # 13 ;). Removing those entities let the app start ok. Verified that doing a clean install of .net 3.5 in an empty .wine directory before installing the app gives the same result.
I tried to nail down when those bogus entities appeared by watching that file as I installed the various prerequisites, and (aside from having real CR's in it) it seemed clean right up through dotnet30sp1. However, I can't always get dotnet35 to install... it often hangs. So this bug report is somewhat incomplete.
http://bugs.winehq.org/show_bug.cgi?id=31215
--- Comment #1 from Rosanne DiMesio dimesio@earthlink.net 2012-07-14 16:41:13 CDT --- Should there be a separate bug for the weird mono error?
http://bugs.winehq.org/show_bug.cgi?id=31215
--- Comment #2 from Dan Kegel dank@kegel.com 2012-07-14 16:49:46 CDT --- Maybe, though I'm not sure where. Maybe Bugzilla needs a product wine-mono next to the existing wine-gecko one. (The mono crash is: Unknown heap type: #GUlD Unknown heap type: #Blop Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for <Module> ---> System.InvalidProgramException: Invalid IL code in f6mJ9XP1vpstS6k8RLn.xqjCZiPPCndrBM3EvwX:sqkOBOcNbZ (): IL_008b: sub ^M ... )
http://bugs.winehq.org/show_bug.cgi?id=31215
--- Comment #3 from Vincent Povirk madewokherd@gmail.com 2012-07-14 16:59:04 CDT --- The current convention is to set the component to mscoree for wine-mono bugs.
Then again, I tend to just ignore issues that appear to involve obfuscators. I guess you can file it with the appropriate keyword in case the right kind of crazy person comes along and wants to search for them.
http://bugs.winehq.org/show_bug.cgi?id=31215
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download
http://bugs.winehq.org/show_bug.cgi?id=31215
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |msxml3
--- Comment #4 from Hans Leidekker hans@meelstraat.net 2012-09-18 07:51:12 CDT --- Setting component.
http://bugs.winehq.org/show_bug.cgi?id=31215
--- Comment #5 from Hans Leidekker hans@meelstraat.net 2012-09-18 07:53:25 CDT --- Created attachment 41725 --> http://bugs.winehq.org/attachment.cgi?id=41725 +msxml,+tid,+seh trace
http://bugs.winehq.org/show_bug.cgi?id=31215
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #6 from Hans Leidekker hans@meelstraat.net 2012-09-28 02:57:56 CDT --- Duplicate.
*** This bug has been marked as a duplicate of bug 24325 ***
http://bugs.winehq.org/show_bug.cgi?id=31215
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Hans Leidekker hans@meelstraat.net 2012-09-28 02:58:39 CDT --- Closing.