Page 1 of 1
APPCRASH in libcef.dll 3.2454.1344.0 at 00186429. External exception 80000003.
Posted: Sun Aug 09, 2020 8:52 am
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?
Re: APPCRASH in libcef.dll 3.2454.1344.0 at 00186429. External exception 80000003.
Posted: Sun Aug 09, 2020 9:49 am
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.
Re: APPCRASH in libcef.dll 3.2454.1344.0 at 00186429. External exception 80000003.
Posted: Mon Aug 10, 2020 10:05 am
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.
Re: APPCRASH in libcef.dll 3.2454.1344.0 at 00186429. External exception 80000003.
Posted: Mon Aug 10, 2020 11:08 am
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.