C Runtime Error R6031
Attempt to initialize the CRT more than once. This indicates a bug in your application.
If you encounter this error message while running an app, the app was shut down because it has an internal problem. This may be caused bug in the app, or by a bug in an add-on or extension that the app uses.
You can try these steps to fix this error:
Information for Programmers
This diagnostic indicates that MSIL instructions were executing during loader lock. For more information, see Initialization of Mixed Assemblies.