Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Update to CEF 78.3.1

User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to CEF 78.3.1

Post by salvadordf »

Hi,

I just uploaded a new version of CEF4Delphi to GitHub updated to CEF 78.3.1

The CEF binaries include some important fixes : I've added some procedures to CEF4Delphi :
  • TChromium.LoadString
  • TChromium.LoadResource
These procedures are NOT the same procedures CEF removed recently. These procedures use a DATA URL to load strings or resources in a stream.

The CEF binaries are : WARNING :
The shutdown and resize issues in OSR mode are still present. Use the latest release version if you need a stable component :
https://github.com/salvadordf/CEF4Delph ... ses/latest
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Re: Update to CEF 78.3.1

Post by thefunkyjoint »

Since the last 2 or 3 releases i can't update because when i navigate to Facebook, a crash occurs in seconds, as shown in the attached image...

Last build that works for me is 77.1.18.0

What should i do ? Already uninstalled all old files :oops:
crash (1).jpg
You do not have the required permissions to view the files attached to this post.
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Re: Update to CEF 78.3.1

Post by thefunkyjoint »

Well somehow , after rebooting the machine, the crashes seemed to stop, but now it happened again :oops:
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Update to CEF 78.3.1

Post by salvadordf »

I loaded facebook and youtube again with MiniBrowser playing some videos and reading some facebook groups.
All seemed fine and I didn't get that error.

Please, download the official sample application and load those web pages :
http://opensource.spotify.com/cefbuilds ... nt.tar.bz2

If it works, then check all this :
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Re: Update to CEF 78.3.1

Post by thefunkyjoint »

The problem does not occur always. It occurs randomly and specifically on Facebook groups.

Do you think a CEF log could help to find out ?
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Update to CEF 78.3.1

Post by salvadordf »

Usually, this error is caused by a bad compilation in Delphi. Sometimes you need to uninstall all Delphi components and build them again to fix it.

However, I got the same error this morning while I was testing the PopupBrowser demo with the latest CEF4Delphi version. :shock:

I still need to make more tests because all the other demos and BriskBard work correctly with those CEF binaries.
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Re: Update to CEF 78.3.1

Post by thefunkyjoint »

I've been having this issue since the latest 4 or 5 CEF releases.

This won't happen always but in my tests, it only happens when navigating in Facebook and as we know, Facebook is pretty heavy. It seems something related to complex pages, but i could not find yet a way to reproduce the problem when i want :?
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Re: Update to CEF 78.3.1

Post by thefunkyjoint »

It seems i found a reliable pattern, at least in my case...

Every time i navigate to the url below, my app will crash :

https://www.bing.com/images/search?q=be ... size-large

Can you do the same test to confirm ?
Screen Shot 2019-11-12 at 09.28.22.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Update to CEF 78.3.1

Post by salvadordf »

I loaded that URL in MiniBrowser, SimpleOSRBrowser and SimpleExternalPumpBrowser without problems.
I used the Delphi and Lazarus versions built in 32 bits and 64 bits.

I checked again the PopupBrowser demo and modified the HTML to open "about:blank" and it crashed.

I'll have to check all the changes in the last CEF binaries to see if I missed something. :oops:
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Re: Update to CEF 78.3.1

Post by thefunkyjoint »

That url always crash my app :roll:

Usually when i install a new CEF release, i uninstall the prior package on Delphi's Component > Install packages.

Is there something else i could do to make sure everything related to the old version is deleted ?
Post Reply