chromiumembedded / cef

Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
https://bitbucket.org/chromiumembedded/cef/
Other
3.27k stars 457 forks source link

Getting error : Please customize CefSettings.root_cache_path for your application. Use of the default value may lead to unintended process singleton behavior. #3670

Closed It-Techus2011 closed 6 months ago

It-Techus2011 commented 6 months ago

Hello,

I'm getting following error in following use case -

  1. I'm runnging ABC.EXE C#. var settings = new CefSettings(); Cef.Initialize(settings);

  2. Also running ABC.EXE C# (Second instance) - var settings = new CefSettings(); Cef.Initialize(settings);

    Getting following error- [0321/133720.656:WARNING:resource_util.cc(94)] Please customize CefSettings.root_cache_path for your application. Use of the default value may lead to unintended process singleton behavior. The program '[42104] ABC.exe' has exited with code 3221225477 (0xc0000005) 'Access violation'. Exit application.

Please let me know if there is anything need to be added.

Thanks,

magreenblatt commented 6 months ago

Please customize CefSettings.root_cache_path for your application.

You should do as this message suggests.

The program '[42104] ABC.exe' has exited with code 3221225477 (0xc0000005) 'Access violation'.

Run with a debugger to find out why your application is crashing. It's likely unrelated to the above error.