Hi
I just update to new version and in some machines, after some time i'm getting a blank screen, suggesting the CEF process crashed.
I activated the log and this what i found :
[0817/160653.757:ERROR:CEF4Delphi(1)] TCefApplicationCore.ExecuteProcess error : External exception E0000008
Any hints what could be causing this ?
I could not reproduce the issue on my machine, but in a machine of one of my customers it's happening.
Thanks
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.
External exception E0000008
- salvadordf
- Posts: 4575
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: External exception E0000008
That error code used to be related to really big images loaded by a 32 bits browser. In that case the subprocess crashed because it run out of memory.
If those customers have a 32 bits application make sure you add this in the DPR file :
If those customers have a 64 bits application or they already have the IMAGE_FILE_LARGE_ADDRESS_AWARE flag in the code then please provide all the details you can to reproduce that error. Preferably a step by step guide.
If those customers have a 32 bits application make sure you add this in the DPR file :
Code: Select all
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
Re: External exception E0000008
Great, thank you !
Do i need to add this directive only on the subprocess or also on my main exe ?
Do i need to add this directive only on the subprocess or also on my main exe ?
- salvadordf
- Posts: 4575
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: External exception E0000008
It needs to be defined in all of them : main and subprocesses.
That constant is defined in "Winapi.Windows" (or "Windows" if you use an older Delphi version) but if you don't want to add that unit to the uses section you can also use its value directly :
That constant is defined in "Winapi.Windows" (or "Windows" if you use an older Delphi version) but if you don't want to add that unit to the uses section you can also use its value directly :
Code: Select all
{$SetPEFlags $20}
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
Re: External exception E0000008
Thank you Salvador, this fixed the issue. 
