cefclient crashes (CEF 112.2.0)

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Re: cefclient crashes (CEF 112.2.0)

Postby phildevaney » Tue May 16, 2023 11:51 pm

I am seeing the same problem with both 113.1.4 and 114.0.4 beta:

Code: Select all
cefclient.exe --cache-path=C:\Users\<user>\AppData\Local\CEFClient

will crash, but

Code: Select all
cefclient.exe --cache-path=C:\Users\<user>\AppData\Local\Temp\CEFClient

is OK. Only the Debug build will crash due to use of DLOG macro.

As previously explained by naoki5, the problem is in IsPathSafeToSetAclOn which returns false if path is not under %TEMP%. But our application sets the cache path to "AppData\Local\<AppName>\Profiles\<profile>", not under Temp, which is similar to Chrome which uses "AppData\Local\Google\Chrome\User Data\<profile>". We would prefer not to move the cache path under Temp.

Is there a way to keep our cache folder directly under AppData\Local, like Chrome does?
phildevaney
Newbie
 
Posts: 9
Joined: Tue Feb 15, 2022 10:27 pm

Re: cefclient crashes (CEF 112.2.0)

Postby naoki5 » Fri May 19, 2023 12:40 am

Reading the source code, there seemed to be a mechanism to add valid paths other than %TEMP%.
But I have not found a way to do so.

If there is a way to do that, I would also like to know.
I also believe that an explanation should be added to the Wiki.
https://bitbucket.org/chromiumembedded/ ... efsettings
naoki5
Expert
 
Posts: 107
Joined: Wed Jul 17, 2019 2:44 am

Re: cefclient crashes (CEF 112.2.0)

Postby magreenblatt » Fri May 19, 2023 2:15 am

Please add a new issue at https://github.com/chromiumembedded/cef/issues. If it works without asserting in Chrome then we should be able to make it work in CEF as well.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: cefclient crashes (CEF 112.2.0)

Postby naoki5 » Mon May 22, 2023 1:09 am

naoki5
Expert
 
Posts: 107
Joined: Wed Jul 17, 2019 2:44 am

Re: cefclient crashes (CEF 112.2.0)

Postby magreenblatt » Mon May 22, 2023 2:47 am


Thanks, I added a potential workaround to the issue.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Previous

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 169 guests