Mysterious crash on initializing embedded browser

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.

Mysterious crash on initializing embedded browser

Postby moonga » Fri May 08, 2015 6:28 pm

Hi,

I'm working on a project using CEF to embed a browser within Minecraft, using JSEF. It's working quite well, but there's a crash randomly occurring on initializing that seems to be below the Java layer, because I don't get any exceptions in the Java logs; just a rock-hard crash. This crash is happening only every once in a while, and I can't seem to reproduce it consistently. It's making me think there's some kind of race condition happening.

Can you point to a logs or some other clue that are output from the running C program? Am I asking the right question? :)

Thanks for your help!
moonga
Newbie
 
Posts: 5
Joined: Fri May 08, 2015 6:20 pm

Re: Mysterious crash on initializing embedded browser

Postby magreenblatt » Fri May 08, 2015 7:18 pm

What OS and JCEF version? Does it reproduce with the JCEF sample apps?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Mysterious crash on initializing embedded browser

Postby moonga » Sun May 10, 2015 12:33 pm

Hey thanks for the response!

I have verified that we are using version `jcef_binary_3.1750.1738.91_macosx64.7z`

It doesn't seem to happen with the sample apps, but then again, I' having trouble reproducing this in our context as well. It seems to only happen about 1 in 20 attempts or so.

With this version are there any logs output from the C level?

Thanks again.
moonga
Newbie
 
Posts: 5
Joined: Fri May 08, 2015 6:20 pm

Re: Mysterious crash on initializing embedded browser

Postby magreenblatt » Mon May 11, 2015 10:27 am

moonga wrote:I have verified that we are using version `jcef_binary_3.1750.1738.91_macosx64.7z`

That's a pretty old version. You might want to build a newer version yourself as described at https://bitbucket.org/chromiumembedded/ ... uilding.md.

moonga wrote:With this version are there any logs output from the C level?

If there are the file will be called debug.log.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Mysterious crash on initializing embedded browser

Postby moonga » Tue May 12, 2015 1:45 pm

Thanks for the advice! I'll go ahead and try doing a build.

I am curious though, it seems like that's the latest build on this page here: http://www.magpcss.net/cef_downloads/

Any reason you have an old build there? Is there a place you can get a more recent build?
moonga
Newbie
 
Posts: 5
Joined: Fri May 08, 2015 6:20 pm

Re: Mysterious crash on initializing embedded browser

Postby magreenblatt » Tue May 12, 2015 2:50 pm

moonga wrote:Is there a place you can get a more recent build?

Not currently.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

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