Couldn't mmap v8 natives data file

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.

Couldn't mmap v8 natives data file

Postby sunflare » Sat Jan 17, 2015 8:03 pm

i'm trying to update to the current cef version (trunk r1971), and get this error message at startup:
Code: Select all
[0118/015708:FATAL:isolate_holder.cc(55)] Couldn't mmap v8 natives data file


this thread suggests adding natives_blob.bin and snapshot_blob.bin to the resources dir, so I did that but the error still occurs.

anything else that could be causing this?
sunflare
Techie
 
Posts: 22
Joined: Sat Apr 26, 2014 2:42 pm

Re: Couldn't mmap v8 natives data file

Postby magreenblatt » Sat Jan 17, 2015 8:44 pm

What OS?
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Couldn't mmap v8 natives data file

Postby sunflare » Sun Jan 18, 2015 7:21 am

64 bit linux
sunflare
Techie
 
Posts: 22
Joined: Sat Apr 26, 2014 2:42 pm

Re: Couldn't mmap v8 natives data file

Postby sunflare » Fri Jan 23, 2015 7:05 pm

it looks like the problem is that my resources path is completely ignored

for testing I did this:

Code: Select all
CefSettings settings;
CefString(&settings.resources_dir_path).FromASCII("/boguspath");
CefInitialize(args, settings, cefApp.get(), nullptr);


and get this error:
Code: Select all
[0124/005016:ERROR:icu_util.cc(149)] Couldn't mmap /home/sunflare/ssd_cache/aspera/build/icudtl.dat


the path above is where the binary is.
shouldn't it search for icudtl.dat in /boguspath?
sunflare
Techie
 
Posts: 22
Joined: Sat Apr 26, 2014 2:42 pm

Re: Couldn't mmap v8 natives data file

Postby magreenblatt » Fri Jan 23, 2015 7:48 pm

No, the path to icudtl.dat is hard-coded in Chromium relative to the executable and cannot be configured via resources_dir_path.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Couldn't mmap v8 natives data file

Postby sunflare » Fri Jan 23, 2015 8:13 pm

ok, are natives_blob.bin and snapshot_blob.bin hard-coded the same way?
sunflare
Techie
 
Posts: 22
Joined: Sat Apr 26, 2014 2:42 pm

Re: Couldn't mmap v8 natives data file

Postby magreenblatt » Fri Jan 23, 2015 8:26 pm

sunflare wrote:ok, are natives_blob.bin and snapshot_blob.bin hard-coded the same way?

I don't have the code in front of me at the moment but I believe so.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Couldn't mmap v8 natives data file

Postby sunflare » Fri Jan 23, 2015 8:27 pm

alright, that explains it

thank you for your help
sunflare
Techie
 
Posts: 22
Joined: Sat Apr 26, 2014 2:42 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 22 guests