LirokData / dcef3

Automatically exported from code.google.com/p/dcef3
0 stars 0 forks source link

Access violation on shutdown when going to "complicated" pages #73

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
* What steps will reproduce the problem?

1. Compile the cefclient demo in Delphi XE2 (32bit or 64bit).
2. Run the program.
3. Navigate to https://www.google.com/maps and allow it to fully load.
4. Close the program.

* What is the expected output? What do you see instead?

It doesn't always happen, but very frequently this will result in an access 
violation in libcef.dll on shutdown. This doesn't happen unless you go to a 
more complicated url like google maps.

* What version of the product are you using? On what operating system?

Using Delphi Chromium Embedded 3.2171.1979 under Windows 7. This also happens 
under Delphi 2007.

* Please provide any additional information below.

A workaround is that you can navigate to about:blank before shutting down and 
it will crash much less frequently (almost never). This is especially true if 
you put a Sleep(1000) in to give it time to finish unloading the previous page.

Original issue reported on code.google.com by netedgej...@gmail.com on 20 May 2015 at 3:30

GoogleCodeExporter commented 9 years ago
Also, defining CEF_MULTI_THREADED_MESSAGE_LOOP makes the error go away, even 
without doing the about:blank trick.

Original comment by netedgej...@gmail.com on 20 May 2015 at 6:38

GoogleCodeExporter commented 9 years ago
I rescind that. I've managed to get it even with 
CEF_MULTI_THREADED_MESSAGE_LOOP on.

Original comment by netedgej...@gmail.com on 21 May 2015 at 9:55