Page 1 of 4

Update to CEF 78.3.1

Posted: Thu Nov 07, 2019 10:16 am
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

Re: Update to CEF 78.3.1

Posted: Fri Nov 08, 2019 4:14 pm
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

Re: Update to CEF 78.3.1

Posted: Fri Nov 08, 2019 5:16 pm
by thefunkyjoint
Well somehow , after rebooting the machine, the crashes seemed to stop, but now it happened again :oops:

Re: Update to CEF 78.3.1

Posted: Fri Nov 08, 2019 5:46 pm
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 :

Re: Update to CEF 78.3.1

Posted: Mon Nov 11, 2019 4:42 pm
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 ?

Re: Update to CEF 78.3.1

Posted: Mon Nov 11, 2019 6:04 pm
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.

Re: Update to CEF 78.3.1

Posted: Tue Nov 12, 2019 12:04 pm
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 :?

Re: Update to CEF 78.3.1

Posted: Tue Nov 12, 2019 12:25 pm
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

Re: Update to CEF 78.3.1

Posted: Tue Nov 12, 2019 2:28 pm
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:

Re: Update to CEF 78.3.1

Posted: Tue Nov 12, 2019 2:34 pm
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 ?