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.

TChromium.Reload problem in 87.1.6

Post Reply
michal@dorfin.waw.pl
Posts: 41
Joined: Sun Feb 05, 2017 8:53 am

TChromium.Reload problem in 87.1.6

Post by michal@dorfin.waw.pl »

I've just updated to 87.1.6.
Previous version that I used was: 85.3.6.
I noticed that when one fires "TChromium.Reload" -> there is an CPU error in LIBCEF.DLL and "ILLEGAL INSTRUCTION" error message box.
The same code works fine in 85.3.6.

I thought that my code is broken - maybe some breaking changes were made, but no.
I tried SimpleBrowser2 demo, added a button "Reload" with this click event handler:

Code: Select all

procedure TForm1.ReloadClick(Sender: TObject);
begin
 Chromium1.Reload;
end;
When I clicked the button - a "CPU" breakpoint occured in LIBCEF.DLL. After pressing "F9" - message box with error was shown. See attached screen.
What am I doing wrong ?
Compiling for Windows 64 bit.
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: TChromium.Reload problem in 87.1.6

Post by salvadordf »

Thanks for the report!

I also noticed that issue and reported it to the CEF project :
https://bitbucket.org/chromiumembedded/ ... ou-use-the
https://github.com/salvadordf/CEF4Delphi/issues/323

It affects most of the demos but not all of them. The "external message pump" demos can be used safely.

However, the safest thing to do at this point is keep using the previous CEF version.
https://github.com/salvadordf/CEF4Delph ... ses/latest
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: TChromium.Reload problem in 87.1.6

Post by salvadordf »

I just uploaded a new version of CEF4Delphi with a workaround for this issue.
Please, download it from GitHub.
Post Reply