-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CefSharp WinForms, Server 2003... runs once, but never again until reboot? #627
Comments
CefSharp version? Do you see the same behaviour with either |
CefSharp/CEF built/running from CEF 3.1750.1738 |
So aka CefSharp 33 - but is it 33.0.* or 33.1:* (with JS Binding) - or better if it's a source build can you point to a commit SHA or branch+time? Is there maybe a hanging |
Sorry, I'm shooting a bit high and low with all my questions above. As we speak a WCF related bug is hopefully being resolved see #614 and #626. Most likely though that's something introduced, and fixed, after 33.1.0 (the JS Binding branch, which is now in the CefSharp 37/CEF 3.2062.* based As you can see in Git history a lot has changed under the hood with both a CEF upgrade and local CefSharp-land WCF/JS Binding branch merge related changes. Maybe you should simply try reproducing with our latest CI build/your own source build with current Hoping in the end (some of) all my questions can help you narrow in on the issue. 😧 |
Thanks for the response. Ok, so I replaced what I was using with the 33.0.2 release code. The issue remains. I copied the WinForms.Example app over to the server and I get the same issue with it as well. It runs perfectly until it's closed and you try to open it again. There's no sign of any hanging process after it's closed (BrowserSubprocess or otherwise). Rebooting the server solves it until you close the app and try to run it again. The contents of the debug.log for the example app: [1124/074046:ERROR:gpu_info_collector_win.cc(102)] Can't retrieve a valid WinSAT assessment. Histogram: GPU.InitializeOneOffTime recorded 1 samples, average = 1027.0 (flags = 0x1) |
Good that you are able to reproduce with Is this with the same (virtual) hardware config as your Server 2012? How does the debug.log on Server 2012 compare to the one above? Just to rule out that it's a graphics card/GPU related problem you can run as e.g.
as described in https://code.google.com/p/cefpython/wiki/CommandLineSwitches#disable-gpu Also to check that it's not fixed by recent changes in For comparison here's my Win7 debug.log head from recent master both with and without
|
Hardware is all over the place on the different servers unfortunately. The 2003 boxes are older machines. Adding the --disable-gpu command line actually fixes it. I tried it with the example app first, then added it into our own code. It's working within our PowerBuilder app as well. Awesome. I can add that command line with an x64 check for our purposes, so that should fix the issue for me. That being said, I don't know if this would still be considered an actual issue or just a specific case? This might be more of a workaround. |
Excellent that it's isolated 😄
Well, it's probably somewhere in between an upstream CEF (or even Chromium) issue and a specific case. I think if you search the CEF Forum http://www.magpcss.org/ceforum/search.php?keywords=disable-gpu&terms=all you can dig more into the issue. Let's just say GPU accelaration with all graphics cards is a huuge issue. Also note that you can add Finally, I'm not sure if this #207 (comment) is feasible to detect the crash and cleanup somehow to avoid the lockup? ATM I'll leave it up to you if you want to dig into this as we got other things on our plate. |
That's how I have it done, a check to see if it's a 2003 server and, if so, add the CefCommandLineArgs 😄 Thanks again. I'll close this. |
👍 |
@jornh and @murphmar I don't whether commenting on closed issue is correct or not but I am facing the same issue on Windows 2003. I am using cefsharp version 37 (Stable). In my case debug.log file is not generating. I have checked that .NET 4.0 Client Profile is installed on machine as well as VC ++ 11 redistributable is also installed. After checking Event Viewer I got two errors in it :
|
@rover886 Are you seeing the exact same issue? It sounds like your app doesn't run at all. |
#849 sounds more like your problem |
@jornh umm may be not, When I execute application windows got hang for sometime after sometime windows get resume but application is not get open. |
If #849 sounds like your problem then comment there, otherwise open a new issue with full details on your environment, versions, flavour of |
Really trying to get this to work for us to replace IE7 in our PowerBuilder application. Everything works great on a Windows 7 or 2012 environment, but on 2003 I'm having a weird issue. Unfortunately we can't go ahead with this unless it's 100% on 2003.
When you run our app and then open the internal window which houses the browser control everything works great, as you would expect. You can close and reopen that internal window as many times as you want and browser will close and reopen as it should. The issue comes when you close the application itself. If you reopen the application and then try to open the internal browser window it will hang until you force close. Nothing seems to repair the problem except for a total system reboot. It works again after that.... once.
If anyone has any input that would be great. I can share whatever might be needed.
Thanks.
The text was updated successfully, but these errors were encountered: