When I launch it under my administrator account on Windows, the following message is printed 7 times in the debug.log:
- Code: Select all
[0103/214925.762:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:/Users/user/AppData/Local/TestCEFProject/Saved/Logs/cef3.log'
[0103/214926.423:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:/Users/user/AppData/Local/TestCEFProject/Saved/Logs/cef3.log'
[0103/214926.424:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:/Users/user/AppData/Local/TestCEFProject/Saved/Logs/cef3.log'
[0103/214926.425:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:/Users/user/AppData/Local/TestCEFProject/Saved/Logs/cef3.log'
[0103/214926.426:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:/Users/user/AppData/Local/TestCEFProject/Saved/Logs/cef3.log'
[0103/214926.638:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:/Users/user/AppData/Local/TestCEFProject/Saved/Logs/cef3.log'
[0103/214926.638:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:/Users/user/AppData/Local/TestCEFProject/Saved/Logs/cef3.log'
It seems to be Issue #2712 here.
I found out that when launching the application under a normal user account it works fine. But weirdly only for a single time. Once launching it a second time the same error came up again. (Even after a computer restart)
Windows 10 1903
Application built with VS2019
CEF 78 from Spotify builds
Thanks for any info on this.