-
Notifications
You must be signed in to change notification settings - Fork 115
Encountered infinite recursion for setting SingleThread=false in DOKAN_OPTIONS #344
Description
Dear all,
I have tried to call DokanCreateFileSystem, setting SingleThread=false in DOKAN_OPTIONS. However, the following error is occurred after running my program for certain period, and my program will then halt. If I set SingleThread=true, it runs normally. Please suggest how can I solve the problem. Thanks.
The error, found in event viewer, is as follows:
Application: XXX.exe
CoreCLR Version: 7.0.1323.51816
.NET Version: 7.0.13
Description: The application requested process termination through System.Environment.FailFast.
Message: Encountered infinite recursion while looking up resource 'Arg_NullReferenceException' in System.Private.CoreLib. Verify the installation of .NET is complete and does not need repairing, and that the state of the process has not become corrupted.
Stack:
at System.Environment.FailFast(System.String)
at System.SR.InternalGetResourceString(System.String)
at System.SR.GetResourceString(System.String)
at System.NullReferenceException..ctor()
at System.Globalization.CultureInfo.get_CurrentUICulture()
at System.Resources.ResourceManager.GetString(System.String, System.Globalization.CultureInfo)
at System.SR.InternalGetResourceString(System.String)
at System.SR.GetResourceString(System.String)
at System.NullReferenceException..ctor()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool+WorkerThread.WorkerThreadStart()