Error running two-factor auth from my work

Questions about Wine on Linux
Post Reply
palit0w
Newbie
Newbie
Posts: 2
Joined: Wed Mar 03, 2021 8:21 pm

Error running two-factor auth from my work

Post by palit0w » Wed Mar 03, 2021 9:00 pm

Hi! I'm trying to run a "two-factor authentication" program from my work and I'm getting this error:

Code: Select all

0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0024:err:mscoree:LoadLibraryShim error reading registry key for installroot

Unhandled Exception:
NLog.NLogConfigurationException: Error when setting property 'Format' on Layout Renderer: ${exception} ---> System.NotSupportedException: Cannot invoke method with stack pointers via reflection
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00093] in <3d7a9349295c42b6abb3487b4473a6b8>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <3d7a9349295c42b6abb3487b4473a6b8>:0 
  at NLog.Internal.PropertyHelper.TryImplicitConversion (System.Type resultType, System.String value, System.Object& result) [0x0003a] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
  at NLog.Internal.PropertyHelper.SetPropertyFromString (System.Object o, System.String name, System.String value, NLog.Config.ConfigurationItemFactory configurationItemFactory) [0x000f1] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
   --- End of inner exception stack trace ---
  at NLog.Internal.PropertyHelper.SetPropertyFromString (System.Object o, System.String name, System.String value, NLog.Config.ConfigurationItemFactory configurationItemFactory) [0x001be] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
  at NLog.Layouts.LayoutParser.ParseLayoutRenderer (NLog.Config.ConfigurationItemFactory configurationItemFactory, NLog.Internal.SimpleStringReader sr) [0x00168] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
  at NLog.Layouts.LayoutParser.CompileLayout (NLog.Config.ConfigurationItemFactory configurationItemFactory, NLog.Internal.SimpleStringReader sr, System.Boolean isNested, System.String& text) [0x000bb] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
  at NLog.Layouts.SimpleLayout.set_Text (System.String value) [0x00013] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
  at NLog.Layouts.SimpleLayout..ctor (System.String txt, NLog.Config.ConfigurationItemFactory configurationItemFactory) [0x0000d] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
  at NLog.Layouts.Layout.FromString (System.String layoutText, NLog.Config.ConfigurationItemFactory configurationItemFactory) [0x00000] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
  at NLog.Layouts.Layout.FromString (System.String layoutText) [0x00006] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
  at NLog.Layouts.Layout.op_Implicit (System.String text) [0x00000] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
  at WinAuth.WinAuthMain.Main () [0x0004e] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: NLog.NLogConfigurationException: Error when setting property 'Format' on Layout Renderer: ${exception} ---> System.NotSupportedException: Cannot invoke method with stack pointers via reflection
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00093] in <3d7a9349295c42b6abb3487b4473a6b8>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <3d7a9349295c42b6abb3487b4473a6b8>:0 
  at NLog.Internal.PropertyHelper.TryImplicitConversion (System.Type resultType, System.String value, System.Object& result) [0x0003a] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
  at NLog.Internal.PropertyHelper.SetPropertyFromString (System.Object o, System.String name, System.String value, NLog.Config.ConfigurationItemFactory configurationItemFactory) [0x000f1] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
   --- End of inner exception stack trace ---
  at NLog.Internal.PropertyHelper.SetPropertyFromString (System.Object o, System.String name, System.String value, NLog.Config.ConfigurationItemFactory configurationItemFactory) [0x001be] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
  at NLog.Layouts.LayoutParser.ParseLayoutRenderer (NLog.Config.ConfigurationItemFactory configurationItemFactory, NLog.Internal.SimpleStringReader sr) [0x00168] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
  at NLog.Layouts.LayoutParser.CompileLayout (NLog.Config.ConfigurationItemFactory configurationItemFactory, NLog.Internal.SimpleStringReader sr, System.Boolean isNested, System.String& text) [0x000bb] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
  at NLog.Layouts.SimpleLayout.set_Text (System.String value) [0x00013] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
  at NLog.Layouts.SimpleLayout..ctor (System.String txt, NLog.Config.ConfigurationItemFactory configurationItemFactory) [0x0000d] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
  at NLog.Layouts.Layout.FromString (System.String layoutText, NLog.Config.ConfigurationItemFactory configurationItemFactory) [0x00000] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
  at NLog.Layouts.Layout.FromString (System.String layoutText) [0x00006] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
  at NLog.Layouts.Layout.op_Implicit (System.String text) [0x00000] in <1bbc131687ab4848b3f5b04c21071bcc>:0 
Tried search on google the first two lines

Code: Select all

0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0024:err:mscoree:LoadLibraryShim error reading registry key for installroot
and this one

Code: Select all

[ERROR] FATAL UNHANDLED EXCEPTION: NLog.NLogConfigurationException: Error when setting property 'Format' on Layout Renderer: ${exception}
but couldn't find nothing similar.

Don't know what is relevant info so i'll add all I can think is usefull >.<
Wine Version: wine-6.2. Installed like one hour ago just for this program
wine-mono: 6.0.0-1
wine-gecko: 2.47.2-1
Distro: Manjaro
Kernel: 5.9.16-1
DE: 5.9.16-1

The programa is called Centrify, googled it and seems to be a paid software(or suite maybe) so acording to the Posting Guidelines I can't provide a download link.

Thanks =D

jkfloris
Level 10
Level 10
Posts: 1518
Joined: Thu Aug 14, 2014 10:10 am

Re: Error running two-factor auth from my work

Post by jkfloris » Sun Mar 07, 2021 5:36 pm

You could try to install .Net 4.5

Code: Select all

winetricks --force -q dotnet45

palit0w
Newbie
Newbie
Posts: 2
Joined: Wed Mar 03, 2021 8:21 pm

Re: Error running two-factor auth from my work

Post by palit0w » Wed Mar 10, 2021 5:41 pm

I think it didn't go very well.
It started to print this infinitely:

Code: Select all

0158:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
0158:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
0158:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
0158:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
0158:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
0158:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
0158:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
0158:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
0158:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
0158:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
0158:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
0158:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
0158:fixme:virtual:NtFlushProcessWriteBuffers stub
04e0:fixme:ole:thread_context_callback_ContextCallback 000000001A6862E8, 00000000012F3F20, 000000001A3EF818, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
04e0:fixme:ole:thread_context_callback_ContextCallback 000000001A6862E8, 00000000012F3F20, 000000001A3EF718, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
04e0:fixme:ole:thread_context_callback_ContextCallback 000000001A6862E8, 00000000012F3F20, 000000001A3EF718, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
04e0:fixme:ole:thread_context_callback_ContextCallback 000000001A6862E8, 00000000012F3F20, 000000001A3EF718, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
04e0:fixme:ole:thread_context_callback_ContextCallback 000000001A6862E8, 00000000012F3F20, 000000001A3EF718, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
02b0:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime Optimization Service"): stub
02b0:fixme:advapi:DeregisterEventSource (00000000CAFE4242) stub
04e0:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
04e0:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
04e0:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
01e8:fixme:heap:RtlSetHeapInformation 00000000006F0000 0 000000000022EC90 4 stub
01e8:fixme:seh:WerSetFlags (2) stub
01e8:fixme:heap:RtlSetHeapInformation 0000000000000000 1 0000000000000000 0 stub
01e8:fixme:heap:GetNumaHighestNodeNumber semi-stub: 000000000022E6C0
01e8:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
01e8:fixme:path:parse_url failed to parse L"System.Data.Services.Client"
01e8:fixme:path:parse_url failed to parse L"System.Core"
01e8:fixme:path:parse_url failed to parse L"System"
01e8:fixme:path:parse_url failed to parse L"System.Configuration"
01e8:fixme:path:parse_url failed to parse L"System.Xml"
01e8:fixme:path:parse_url failed to parse L"System.Numerics"
01e8:fixme:path:parse_url failed to parse L"System.Security"
01e8:fixme:path:parse_url failed to parse L"System.Xml.Linq"
01e8:fixme:path:parse_url failed to parse L"System.Core"
01e8:fixme:path:parse_url failed to parse L"System"
01e8:fixme:path:parse_url failed to parse L"System.Xml"
01e8:fixme:path:parse_url failed to parse L"System.Data.SqlXml"
01e8:fixme:path:parse_url failed to parse L"System.Xml.Linq"
01e8:fixme:path:parse_url failed to parse L"System.Runtime.Serialization"
01e8:fixme:path:parse_url failed to parse L"System.Security"
01e8:fixme:path:parse_url failed to parse L"System.Numerics"
01e8:fixme:path:parse_url failed to parse L"System.Configuration"
01e8:fixme:virtual:NtFlushProcessWriteBuffers stub
03bc:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
03bc:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
03bc:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
013c:fixme:heap:RtlSetHeapInformation 00000000006F0000 0 000000000022EC90 4 stub
013c:fixme:seh:WerSetFlags (2) stub
013c:fixme:heap:RtlSetHeapInformation 0000000000000000 1 0000000000000000 0 stub
013c:fixme:heap:GetNumaHighestNodeNumber semi-stub: 000000000022E6C0
013c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
013c:fixme:path:parse_url failed to parse L"System.Data.Services.Client"
013c:fixme:path:parse_url failed to parse L"System.Core"
013c:fixme:path:parse_url failed to parse L"System"
013c:fixme:path:parse_url failed to parse L"System.Configuration"
013c:fixme:path:parse_url failed to parse L"System.Xml"
013c:fixme:path:parse_url failed to parse L"System.Numerics"
013c:fixme:path:parse_url failed to parse L"System.Security"
013c:fixme:path:parse_url failed to parse L"System.Xml.Linq"
013c:fixme:path:parse_url failed to parse L"System.Core"
013c:fixme:path:parse_url failed to parse L"System"
013c:fixme:path:parse_url failed to parse L"System.Xml"
013c:fixme:path:parse_url failed to parse L"System.Data.SqlXml"
013c:fixme:path:parse_url failed to parse L"System.Xml.Linq"
013c:fixme:path:parse_url failed to parse L"System.Runtime.Serialization"
013c:fixme:path:parse_url failed to parse L"System.Security"
013c:fixme:path:parse_url failed to parse L"System.Numerics"
013c:fixme:path:parse_url failed to parse L"System.Configuration"
013c:fixme:path:parse_url failed to parse L"System.Data.SqlXml"
013c:fixme:path:parse_url failed to parse L"System.Runtime.Serialization"
013c:fixme:path:parse_url failed to parse L"SMDiagnostics"
013c:fixme:path:parse_url failed to parse L"System.ServiceModel.Internals"
013c:fixme:path:parse_url failed to parse L"System.ServiceModel.Internals"
013c:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
013c:err:seh:dispatch_exception Fatal EXCEPTION_WINE_CXX_EXCEPTION exception (code=e06d7363) raised
... 
and creating new instances of the program, had to kill things with htop to stop taking all the RAM, eventually I kill the main process (I think) and it stopped.

My PC is cursed or what? XD

User avatar
succodifrutta
Level 2
Level 2
Posts: 12
Joined: Sat Mar 28, 2020 5:26 am

Re: Error running two-factor auth from my work

Post by succodifrutta » Fri Apr 16, 2021 6:10 am

Taking up all your RAM is a common and known issue regarding (almost) all dotnet!
I don't know if there's someone working on it to fix.


Are you installing via winetricks?
Open up a task manager (eg.: KSysGuard if you're on KDE) and when you see RAM usage starting to increase caused by a lot of spanned mscorsvw.exe instances, TERMinate them (not KILL) starting from the one that has oldest PID.
Also you could neeed to TERMinate also latest wineserver's PID.

Furthermore, you may wish to work with an older wine version, I suppose <=6.4 release.


But let's see if more prepared guys are here to correct me 8) because I'm not an expert!! :oops:

Post Reply