I am running CEF 91.1.21+g9dd45fe+chromium-91.0.4472.114 on Windows 10. My web application runs pretty smoothly in my CEF wrapper for days on end, and then suddenly both the GPU and network processes crash, causing a white screen. Here's some of the logging that occurred after 2 days and 2 hours of running:
- Code: Select all
[0814/084020.722:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084020.800:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=1073807364
[0814/084020.800:WARNING:gpu_process_host.cc(1316)] The GPU process has crashed 1 time(s)
[0814/084021.316:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=-1073741205
[0814/084021.316:WARNING:gpu_process_host.cc(1316)] The GPU process has crashed 2 time(s)
[0814/084021.316:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084021.394:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=-1073741205
[0814/084021.394:WARNING:gpu_process_host.cc(1316)] The GPU process has crashed 3 time(s)
[0814/084021.410:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084021.488:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=-1073741205
[0814/084021.488:WARNING:gpu_process_host.cc(1316)] The GPU process has crashed 4 time(s)
[0814/084021.503:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084021.566:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=-1073741205
[0814/084021.566:WARNING:gpu_process_host.cc(1316)] The GPU process has crashed 5 time(s)
[0814/084021.582:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084021.660:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=-1073741205
[0814/084021.660:WARNING:gpu_process_host.cc(1316)] The GPU process has crashed 6 time(s)
[0814/084021.688:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084021.763:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084021.827:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084021.890:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084021.952:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084022.015:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084022.077:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084022.124:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084022.187:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084022.249:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084022.312:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084022.374:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084022.437:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084022.499:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084022.562:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084022.624:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084022.687:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084022.749:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084022.812:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084022.874:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084022.937:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084022.999:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084023.062:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084023.124:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084023.187:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084023.249:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084023.312:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084023.374:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084023.437:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084023.484:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
[0814/084023.546:ERROR:network_service_instance_impl.cc(331)] Network service crashed, restarting service.
The application also reports a problem with the GPU when it starts, but I doubt it is related because it takes multiple days before this crash occurs (between 2 and 5). Just to be complete, this is the logging for that problem.
- Code: Select all
[0812/095626.796:ERROR:angle_platform_impl.cc(44)] SwapChain11.cpp:627 (reset): Could not create additional swap chains or offscreen surfaces, HRESULT: 0x887A0001
[0812/095626.797:ERROR:gl_surface_egl.cc(780)] EGL Driver message (Critical) eglCreateWindowSurface: Bad allocation.
[0812/095626.797:ERROR:gl_surface_egl.cc(1508)] eglCreateWindowSurface failed with error EGL_BAD_ALLOC
I have allready investigated if my web app might be leaking memory, but this not seem to be the case. Memory usage stays well within the expected window so I don't think this will be the cause of the problem. But I understand that it's difficult to take my word for it, and I could be wrong.
My current solution is to reboot the system every night, but I would prefer not to if it all possible. Could anyone give me some pointers as to what I am doing wrong? It would be much appreciated.
I am also considering turning off GPU acceleration if it helps, but having it was one of the reasons for me to move to CEF. However, my application does not depend upon it, so it is definitely an option.