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:

Re: Update to CEF 78.3.1

Post by salvadordf »

If I remember correctly, this information is different in older Delphi versions but in my case I also delete "CEF4Delphi.bpl" manually in this directory :

c:\users\Public\Documents\Embarcadero\Studio\<Delphi version>\Bpl\

I don't remember exactly what's the value of "<Delphi version>" but I think it's one of these :
http://docwiki.embarcadero.com/RADStudi ... r_Versions
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Re: Update to CEF 78.3.1

Post by thefunkyjoint »

That's bizarre, currenty CEF is installed and i don't have this file anywhere in my hd...
Screen Shot 2019-11-12 at 13.15.39.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 »

Found it, it's called ' CEF4Delphi_D7.bpl'. Will delete it and reinstall to test again.
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Re: Update to CEF 78.3.1

Post by thefunkyjoint »

I deleted the BPL and reinstall, but no lucky, the URL i mentioned in the previous topic always crash my app.

But here is something curious i've discovered : if i change the useragent for a mobile , it won't crash. For instance, by using :

GlobalCEFApp.userAgent := 'Mozilla/5.0 (iPhone; CPU iPhone OS 12_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/76.0.3809.123 Mobile/15E148 Safari/605.1';

The page will load normally.

I'm confused :roll:
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 »

Please, try the latest BriskBard version with the previous URL in your computer :
https://www.briskbard.com/BriskBard_Installer.exe

It works correctly in my computer but it would be helpful to know if we have an issue with older Delphi versions.
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Re: Update to CEF 78.3.1

Post by thefunkyjoint »

salvadordf wrote: Wed Nov 13, 2019 3:24 pm Please, try the latest BriskBard version with the previous URL in your computer :
https://www.briskbard.com/BriskBard_Installer.exe

It works correctly in my computer but it would be helpful to know if we have an issue with older Delphi versions.
I just tested and it opened the link ok. But how could we simulate this with a binary EXE compiled in a newer Delphi version ?

It the crash is related to Delphi 2007, we only could reproduce it with an app compiled in D2007. :D
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Re: Update to CEF 78.3.1

Post by thefunkyjoint »

I generated the CEF log after my app crashing on that infamous url. Maybe you can check and have some clue about what is happening ? :?

PS: Actually the URL does not need to be that long, only by navigating to https://www.bing.com, my app will crash too.

dcef.zip
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 didn't see anything unusual in the log.

There's something corrupting the memory but I haven't found it yet.

I'll keep you posted.
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Re: Update to CEF 78.3.1

Post by thefunkyjoint »

Ok, i rolled back to 77.1.18 and the crashes stoped, now i can open www.bing.com without problems.
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 found this :
https://github.com/salvadordf/CEF4Delphi/issues/249
https://github.com/salvadordf/CEF4Delphi/issues/250

Perhaps you are affected by the first issue if your application uses the OSR mode.
Post Reply