Page 1 of 1

jcef_app.app is not running on Mac, sometimes

PostPosted: Mon Feb 26, 2018 4:55 am
by domino2
I did own build of JCEF on my local sucessfully and I'm available to run generated app on Mac.
But sometimes the app is killed when starting.

So when I'm running open native/Release/jcef_app.app multiple times. Sometime the start is corrupted and sometimes not.

I'm using macOS High Sierra 10.13.3

Any idea how to crack it on?

Thank you,
D

Re: jcef_app.app is not running on Mac, sometimes

PostPosted: Mon Feb 26, 2018 9:32 am
by Czarek
Does it crash? Any stack trace available? Anything interesting in log files? See CefSettings.log_severity / log_file.

Re: jcef_app.app is not running on Mac, sometimes

PostPosted: Mon Feb 26, 2018 3:02 pm
by domino2
Yeah it crashing, but this is new area for me :-) ... so I really don't know how to get any stack trace. I tried to build Release and Debug configuration, but no report in command line.
Also tried to get some log's from Applications -> Utilities -> Console but got nothing saying message "Failed to start process notifications for pid 34363 (16)".

Re: jcef_app.app is not running on Mac, sometimes

PostPosted: Mon Feb 26, 2018 3:03 pm
by domino2
Where or how to get CefSettings.log_severity?

Re: jcef_app.app is not running on Mac, sometimes

PostPosted: Mon Feb 26, 2018 3:08 pm
by Czarek

Re: jcef_app.app is not running on Mac, sometimes

PostPosted: Mon Feb 26, 2018 4:23 pm
by domino2
And how to use it?
I was successful by running jcef app through 'open' command, but not sure how to run it and pass arguments.

I tried to set the value log_severity in the CefSettings.java.

:oops: :?:

Re: jcef_app.app is not running on Mac, sometimes

PostPosted: Mon Feb 26, 2018 4:41 pm
by Czarek
Search for CefSettings:
https://github.com/chromiumembedded/jav ... ings&type=

And see the usage in "java/tests/" files.

Re: jcef_app.app is not running on Mac, sometimes

PostPosted: Mon Mar 05, 2018 12:36 pm
by domino2
Hello, it is a while, but I'm back :)
I just tried it again, got some fixes from main repository and tried to build the app again. My issue still remaining.

So I set log_severity to LOGSEVERITY_VERBOSE in tests/simple/MainFrame.java and I really don't know where I should to expect any err output and where to go System.out.println output?
Of course I set correct main class.

BTW, I got system log, so maybe this will help.

Re: jcef_app.app is not running on Mac, sometimes

PostPosted: Mon Mar 05, 2018 2:42 pm
by Czarek
If you google the error message you will find:
https://bitbucket.org/chromiumembedded/ ... ierra-1013

Re: jcef_app.app is not running on Mac, sometimes

PostPosted: Mon Mar 05, 2018 2:52 pm
by domino2
oh, I really did but missed this one out.
thanks btw