[Bug 51317] New: multiple applications fail with NLogConfigurationException in Wine-Mono (PlagiarismDetector, WinAuth, Panzer Paladin)

WineHQ Bugzilla wine-bugs at winehq.org
Tue Jun 22 15:30:26 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51317

            Bug ID: 51317
           Summary: multiple applications fail with
                    NLogConfigurationException in Wine-Mono
                    (PlagiarismDetector, WinAuth, Panzer Paladin)
           Product: Wine
           Version: 6.11
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mscoree
          Assignee: wine-bugs at winehq.org
          Reporter: madewokherd at gmail.com
      Distribution: ---

This is essentially the following NLog bug:
https://github.com/NLog/NLog/issues/2598

NLog is getting tripped up by the op_Implicit method on System.String which
doesn't exist on .NET Framework, and which it can't call with reflection.

This causes PlagiarismDetector to fail to load with:
[ERROR] FATAL UNHANDLED EXCEPTION: System.Windows.Markup.XamlParseException:
The invocation of the constructor on type 'PlagiarismDetector.MainWindow' that
matches the specified binding constraints threw an exception. --->
System.TypeInitializationException: The type initializer for
'PlagiarismDetector.MainWindow' threw an exception. --->
NLog.NLogConfigurationException: Error when setting property 'Name' on Console
Target[(unnamed)] ---> System.NotSupportedException: Cannot invoke method with
stack pointers via reflection

It also affects WinAuth
(https://web.archive.org/web/20210310120512/https://github.com/winauth/winauth/releases/download/3.6.2/WinAuth-3.6.2-NET35.zip)
once bug 25167 is fixed, and Panzer Paladin in Proton
(https://github.com/ValveSoftware/Proton/issues/4225).

We can't just remove or make non-public String.op_Implicit because libraries
other than mscorlib use it.

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