jcef_app.app is not running on Mac, sometimes

Having problems with building or using the JCEF Java binding? Ask your questions here.

jcef_app.app is not running on Mac, sometimes

Postby domino2 » Mon Feb 26, 2018 4:55 am

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
domino2
Newbie
 
Posts: 6
Joined: Mon Feb 26, 2018 4:47 am

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

Postby Czarek » Mon Feb 26, 2018 9:32 am

Does it crash? Any stack trace available? Anything interesting in log files? See CefSettings.log_severity / log_file.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

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

Postby domino2 » Mon Feb 26, 2018 3:02 pm

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)".
domino2
Newbie
 
Posts: 6
Joined: Mon Feb 26, 2018 4:47 am

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

Postby domino2 » Mon Feb 26, 2018 3:03 pm

Where or how to get CefSettings.log_severity?
domino2
Newbie
 
Posts: 6
Joined: Mon Feb 26, 2018 4:47 am

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

Postby Czarek » Mon Feb 26, 2018 3:08 pm

Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

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

Postby domino2 » Mon Feb 26, 2018 4:23 pm

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: :?:
domino2
Newbie
 
Posts: 6
Joined: Mon Feb 26, 2018 4:47 am

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

Postby Czarek » Mon Feb 26, 2018 4:41 pm

Search for CefSettings:
https://github.com/chromiumembedded/jav ... ings&type=

And see the usage in "java/tests/" files.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

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

Postby domino2 » Mon Mar 05, 2018 12:36 pm

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.
Attachments
JavaAppLauncher_2018-03-05-172505_dmacbook.txt
Crash Report
(113.08 KiB) Downloaded 600 times
domino2
Newbie
 
Posts: 6
Joined: Mon Feb 26, 2018 4:47 am

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

Postby Czarek » Mon Mar 05, 2018 2:42 pm

If you google the error message you will find:
https://bitbucket.org/chromiumembedded/ ... ierra-1013
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

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

Postby domino2 » Mon Mar 05, 2018 2:52 pm

oh, I really did but missed this one out.
thanks btw
domino2
Newbie
 
Posts: 6
Joined: Mon Feb 26, 2018 4:47 am


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 22 guests