Could not create the Minuit minimizer : OpenMP parallelizm

Hello!

I can not solve this problem.

I have the next runtime out put from start to start (OpenMP is the name of my project):

  1. Unhandled exception at 0x630A5BC7 (libCore.dll) in OpenMP.exe: 0xC0000005: Access violation reading location 0x00000000.

  2. Unhandled exception at 0x619CDBF0 (libCint.dll) in OpenMP.exe: 0xC0000005: Access violation reading location 0xBAADF011.

  3. Unhandled exception at 0x640C45AC (msvcr120.dll) in OpenMP.exe: 0xC0000005: Access violation writing location 0x00000000.

  4. no errors and right fit

  5. Warning in ROOT::Math::FitConfig::CreateMinimizer: Could not create the Minuit minimizer. Try using the minimizer Minuit2 etc. for the first fit and no errors for the second fit.

If I use Minuit2, I have errors too.
I have hypothesis that Minuit or Minuit2 use global variable or static objest and this lead to data race.

Maybe you have any ideas how to overcome this problem.
Yours sincerely, Vladislav.