macOS app crashes after update from CEF 72 to CEF 76

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 app crashes after update from CEF 72 to CEF 76

Postby callum » Tue Sep 17, 2019 8:14 pm

Updating our macOS 64bit (macOS 10.14/Xcode 10.3) app from CEF 72.x to 76.x and at startup, it crashes instantly with this in the console:

Code: Select all
[0917/180638.712134:WARNING:gpu_process_host.cc(1188)] The GPU process has crashed 1 time(s)
[0917/180638.734467:WARNING:gpu_process_host.cc(1188)] The GPU process has crashed 2 time(s)
[0917/180638.735784:WARNING:gpu_process_host.cc(1188)] The GPU process has crashed 3 time(s)
[0917/180638.737557:WARNING:gpu_process_host.cc(1188)] The GPU process has crashed 4 time(s)
[0917/180638.827824:WARNING:gpu_process_host.cc(1188)] The GPU process has crashed 5 time(s)
[0917/180638.830248:WARNING:gpu_process_host.cc(1188)] The GPU process has crashed 6 time(s)
[0917/180638.830284:FATAL:gpu_data_manager_impl_private.cc(894)] The display compositor is frequently crashing. Goodbye.
Trace/BPT trap: 5

Any pointers as to what changed between 72 and 76 that might cause such a crash and where I might start looking?

The symbolized stack trace I see in the crash report doesn't tell *me* much but I can post here if it would be useful.
callum
Expert
 
Posts: 323
Joined: Mon Feb 23, 2015 6:19 pm

Re: macOS app crashes after update from CEF 72 to CEF 76

Postby magreenblatt » Wed Sep 18, 2019 5:40 am

CEF 76 requires multiple helper app bundles. You can see the related client application changes here.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: macOS app crashes after update from CEF 72 to CEF 76

Postby callum » Thu Sep 19, 2019 11:57 am

That was it - I think I have it working now.

I build Chromium/CEF from source and notice that builds sometimes fail because of strange syntactic errors with no changes from my side. I assume this is because I am building from a repository that other engineers are regularly checking code and my build catches a partial check-in.

My automate-git.py line just specifies a branch - 3809 in my example.

Is there an additional qualifier I should use that points to a less in-flux repo or branch?
callum
Expert
 
Posts: 323
Joined: Mon Feb 23, 2015 6:19 pm

Re: macOS app crashes after update from CEF 72 to CEF 76

Postby magreenblatt » Thu Sep 19, 2019 12:08 pm

If you want to build a specific commit you can add --checkout=<hash>
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: macOS app crashes after update from CEF 72 to CEF 76

Postby ndevalapally » Thu Dec 19, 2019 6:38 am

I am receiving a similar error but only in the Release mode of the application. when I try to use the debug configuration, it works properly. Is there something I might be missing?
ndevalapally
Newbie
 
Posts: 1
Joined: Fri Nov 22, 2019 8:46 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 45 guests