Excel hangs, waiting for CEF renderer process

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.

Excel hangs, waiting for CEF renderer process

Postby tomst » Fri Aug 22, 2014 4:59 pm

We have a Windows application built with CEF 1916. For some weird reason, when using Excel for a few minutes while the application is running Excel starts to hang. Analyzing the wait chain in task manager indicates that it's waiting for a resource in the CEF renderer process:

Screen Shot 2014-08-22 at 14.39.54.png
Wait Chain
Screen Shot 2014-08-22 at 14.39.54.png (19.05 KiB) Viewed 5495 times


In this example, PID 2484 is a renderer running with the following args: ("--type=renderer", "--disable-delegated-renderer", "--disable-gpu", "--disable-threaded-compositing", "--no-sandbox", "--lang=en-US", "--lang=en-US", "--log-file=C:/Users/tom/Desktop/cef.log", "--log-severity=info", "--enable-pinch", "--disable-accelerated-compositing", "--enable-software-compositing", "--disable-gpu-compositing", "--channel=2200.1.737365922\358810346", "/prefetch:673131151")

There's nothing specific in the cef.log. I also created a memory dump for Excel and Visual Studio just says that the affected thread is in MSO.DLL (which unfortunately doesn't have any debugging symbols):

Screen Shot 2014-08-22 at 14.40.08.png
Stack trace
Screen Shot 2014-08-22 at 14.40.08.png (25.88 KiB) Viewed 5495 times


Has anyone had similar experiences with CEF? I'm not sure how to debug this issue further. I couldn't reproduce it with the cefclient.exe so far.
tomst
Techie
 
Posts: 43
Joined: Fri Aug 22, 2014 4:38 pm

Re: Excel hangs, waiting for CEF renderer process

Postby Meghavi » Thu Dec 11, 2014 6:47 am

Hi,

Were you able to figure out anything for this issue.
I am having the same problem.

Thanks
Meghavi
Techie
 
Posts: 29
Joined: Fri Sep 20, 2013 4:48 am

Re: Excel hangs, waiting for CEF renderer process

Postby Cristiano » Sun Jan 11, 2015 12:59 am

Make sure to create your windows (CreateWIndow/CreateDialog, etc) after CefInitialize() Call.
I was having similar problem and solved this way.
I Hope may help you ;)
Cristiano
Techie
 
Posts: 10
Joined: Tue Oct 29, 2013 3:45 pm

Re: Excel hangs, waiting for CEF renderer process

Postby tomst » Tue Jan 13, 2015 2:34 am

We were able to solve it also. We are using Qt, and were initializing the all processes using QApplication, which caused problems with the CEF child processes. The fix was to use QCoreApplication in the child (renderer) processes, and QApplication only in the main UI process.
tomst
Techie
 
Posts: 43
Joined: Fri Aug 22, 2014 4:38 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 76 guests