macos: disk_cache.cc(638) Check failed: path.IsAbsolute()

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.

macos: disk_cache.cc(638) Check failed: path.IsAbsolute()

Postby robs » Wed Dec 06, 2023 2:36 pm

Hello,

I'm seeing a crash (assertion) on macOS trying to run cefclient or cefsimple as downloaded and built from the latest stable binary release.
Any ideas? Detailed steps below.

Thanks!
Rob

On macOS, arm64, Ventura 13.6, building with Xcode 14.3.1.

1. Download latest stable cef binary distro for macos arm64:
https://cef-builds.spotifycdn.com/cef_b ... 64.tar.bz2

2. Unpack

3. Build using either ninja or xcode (I tried both):
mkdir build && cmake .. -G Xcode -DPROJECT_ARCH="arm64"
open cef.xcodeproj

4. Build cefclient and/or cefsimple

5. Launch, hit exception with debugger output pasted below.

Code: Select all
[1206/141901.960860:FATAL:disk_cache.cc(638)] Check failed: path.IsAbsolute().
2023-12-06 14:19:02.104949-0500 cefclient Helper[15513:4242749] [User Defaults] forcing direct access mode on for this process. It's slower, uses more memory, and doesn't respond to changes immediately. Update your sandbox profile to allow cfprefsd access!
2023-12-06 14:19:02.112665-0500 cefclient Helper[15514:4242750] [User Defaults] forcing direct access mode on for this process. It's slower, uses more memory, and doesn't respond to changes immediately. Update your sandbox profile to allow cfprefsd access!
2023-12-06 14:19:02.114672-0500 cefclient Helper (Renderer)[15515:4242751] [User Defaults] forcing direct access mode on for this process. It's slower, uses more memory, and doesn't respond to changes immediately. Update your sandbox profile to allow cfprefsd access!
2023-12-06 14:19:02.114628-0500 cefclient Helper (Renderer)[15516:4242752] [User Defaults] forcing direct access mode on for this process. It's slower, uses more memory, and doesn't respond to changes immediately. Update your sandbox profile to allow cfprefsd access!
robs
Mentor
 
Posts: 70
Joined: Wed Jun 05, 2013 2:22 pm

Re: macos: disk_cache.cc(638) Check failed: path.IsAbsolute(

Postby magreenblatt » Wed Dec 06, 2023 2:38 pm

magreenblatt
Site Admin
 
Posts: 12367
Joined: Fri May 29, 2009 6:57 pm

Re: macos: disk_cache.cc(638) Check failed: path.IsAbsolute(

Postby robs » Wed Dec 06, 2023 2:43 pm

robs
Mentor
 
Posts: 70
Joined: Wed Jun 05, 2013 2:22 pm

Re: macos: disk_cache.cc(638) Check failed: path.IsAbsolute(

Postby magreenblatt » Wed Dec 06, 2023 3:18 pm

Thanks, I responded in the issue.
magreenblatt
Site Admin
 
Posts: 12367
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 18 guests

cron