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.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

APPCRASH in libcef.dll 3.2454.1344.0 at 00186429. External exception 80000003.

Post Reply
andreykrasnodar
Posts: 112
Joined: Wed Jul 01, 2020 10:22 am

APPCRASH in libcef.dll 3.2454.1344.0 at 00186429. External exception 80000003.

Post by andreykrasnodar »

Hello again. Early I wrote 3 posts about this problem.
But now I found something. This exception occurs when I am trying to open new HTTP window (new tab in my project) sending referrer from HTTPS page.
How to solve the problem?
Last edited by andreykrasnodar on Sun Aug 09, 2020 11:20 am, edited 1 time in total.
andreykrasnodar
Posts: 112
Joined: Wed Jul 01, 2020 10:22 am

Re: APPCRASH in libcef.dll 3.2454.1344.0 at 00186429. External exception 80000003.

Post by andreykrasnodar »

That's the simple code which makes libcef exception.

Code: Select all

procedure TForm1.Test;
var
  Header: ICefStringMultimap;
  Request: ICefRequest;
  Data: ICefPostData;
begin
  Request := TCefRequestRef.New;
  Request.Url := 'http://google.com';
  Request.Method := 'POST';
  Header := TCefStringMultimapOwn.Create;
  Header.Append('Referer', 'https://yandex.ru');
  Request.SetHeaderMap(Header);
  Data := TCefPostDataRef.New;
  Request.PostData := Data;
  Chromium2.Browser.MainFrame.LoadRequest(Request);
end;
I think it will work ok on elder versions, but I need it to work on WindowsXP.
User avatar
salvadordf
Posts: 4575
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: APPCRASH in libcef.dll 3.2454.1344.0 at 00186429. External exception 80000003.

Post by salvadordf »

You are using CEF 3.2454.1344.0 which is extremely old. If you need Windows XP support you can use CEF 3.2623.1401.gb90a3be which is still very old buit it may have less bugs.

If you need Windows XP support you can also use OldCEF4Delphi :
https://github.com/salvadordf/OldCEF4Delphi

There you have several demos that can help you like the PopupBrowser2 demo that shows how to open new popup windows and how to close the application properly to avoid shutdown crashes.

If you still prefer to use dcef3 with the CEF 3.2454.1344.0 libraries you will have to adapt the code in the PopupBrowser2 demo.
andreykrasnodar
Posts: 112
Joined: Wed Jul 01, 2020 10:22 am

Re: APPCRASH in libcef.dll 3.2454.1344.0 at 00186429. External exception 80000003.

Post by andreykrasnodar »

salvadordf wrote: Mon Aug 10, 2020 10:05 am You are using CEF 3.2454.1344.0 which is extremely old. If you need Windows XP support you can use CEF 3.2623.1401.gb90a3be which is still very old buit it may have less bugs.

If you need Windows XP support you can also use OldCEF4Delphi :
https://github.com/salvadordf/OldCEF4Delphi

There you have several demos that can help you like the PopupBrowser2 demo that shows how to open new popup windows and how to close the application properly to avoid shutdown crashes.

If you still prefer to use dcef3 with the CEF 3.2454.1344.0 libraries you will have to adapt the code in the PopupBrowser2 demo.
I started to check referer and target and do not send referer to target if target is http and referrer is https. Now it works.
Post Reply