Page loaded, but not shown.

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Page loaded, but not shown.

Postby wolfx21 » Thu Jul 27, 2017 1:23 am

Hi all,


I am using cef3 in my Windows c++ program, and I got a very strange bug that, a page has been loaded but not shown.All events( such as OnTitileChanged ) run normally, just page cannot been seen.

debug.log recorded the errors :
[0727/112516.601:ERROR:entry_impl.cc(1039)] No file for 80000001
[0727/112516.603:ERROR:entry_impl.cc(1039)] No file for 80000003
[0727/112516.604:ERROR:entry_impl.cc(1039)] No file for 80000002


I've searched a lot of information but not helpful.

A using information is that when I set the CefSettings.cache_path to a local disk directory, the bug comes but not everytime; When I don't set the CefSettings.cache_path, the bug never come.
The CEF version is 2987.1601 windows32.

So may I get some help?
Thanks very much!
:)
wolfx21
Newbie
 
Posts: 3
Joined: Wed Jul 26, 2017 4:46 am

Re: Page loaded, but not shown.

Postby magreenblatt » Thu Jul 27, 2017 10:03 am

What Windows version? What page are you loading? Are any other applications writing to the same cache directory on disk? Does the problem reproduce with the cefclient sample application?
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Page loaded, but not shown.

Postby wolfx21 » Fri Jul 28, 2017 5:29 am

magreenblatt wrote:What Windows version? What page are you loading? Are any other applications writing to the same cache directory on disk? Does the problem reproduce with the cefclient sample application?


Thanks fo replying!

Windows version : win10.0.15063
Loading page : http://pc.xunlei.com/, with html5 video element inside it.
No other applications were writing to the same cache directory.
cefclient doesn't reproduce the problem( cefclient doesn't support html5 video element by default ).

A interesting thing is that when the loading page doesn't include video elememt, the problem will not produce.

Thanks a lot!
:D
wolfx21
Newbie
 
Posts: 3
Joined: Wed Jul 26, 2017 4:46 am

Re: Page loaded, but not shown.

Postby magreenblatt » Fri Jul 28, 2017 9:25 am

Cefclient does support html5 video with non-proprietary codecs. Are you using a custom build of CEF? If so, try debugging your build: https://www.chromium.org/developers/how ... on-windows
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Page loaded, but not shown.

Postby wolfx21 » Tue Aug 01, 2017 2:06 am

magreenblatt wrote:Cefclient does support html5 video with non-proprietary codecs. Are you using a custom build of CEF? If so, try debugging your build: https://www.chromium.org/developers/how ... on-windows


Hi magreenblatt,

After a few tests, I think maybe I found the reason.

I use multi-threaded-message-loop mode in my application and when I close the application, an error shows "Check failed: CalledOnValidThread()". So the cache writing doesn't be finished completely, next time start the applocation, the problem "No file for 80000001" produce.
wolfx21
Newbie
 
Posts: 3
Joined: Wed Jul 26, 2017 4:46 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 51 guests