Detecting secondary process failures in browser 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.

Detecting secondary process failures in browser process

Postby sjames1958 » Thu Feb 25, 2021 2:33 pm

Is there a mechanism where the browser process gets notified when one of the secondary processes fails? For example network process, or audio process, etc?
sjames1958
Mentor
 
Posts: 60
Joined: Sun Jun 22, 2014 7:41 am

Re: Detecting secondary process failures in browser process

Postby magreenblatt » Thu Feb 25, 2021 4:39 pm

CefRequestHandler::OnRenderProcessTerminated is available for renderer processes. All other processes will restart automatically, and you can enable crash reporting if you want to capture the reason.
magreenblatt
Site Admin
 
Posts: 12402
Joined: Fri May 29, 2009 6:57 pm

Re: Detecting secondary process failures in browser process

Postby sjames1958 » Mon Mar 01, 2021 11:06 am

If the network process fails, existing network requests appear to hang.
If the Plugin process (subtype video capture) fails the video capture in the renderer goes black, but no indication of the failure.
This is on macOS - I haven't tried on Windows yet.
sjames1958
Mentor
 
Posts: 60
Joined: Sun Jun 22, 2014 7:41 am

Re: Detecting secondary process failures in browser process

Postby magreenblatt » Mon Mar 01, 2021 12:05 pm

sjames1958 wrote:If the network process fails, existing network requests appear to hang.
If the Plugin process (subtype video capture) fails the video capture in the renderer goes black, but no indication of the failure.
This is on macOS - I haven't tried on Windows yet.

How does it behave when these processes crash in Google Chrome?
magreenblatt
Site Admin
 
Posts: 12402
Joined: Fri May 29, 2009 6:57 pm

Re: Detecting secondary process failures in browser process

Postby sjames1958 » Thu Mar 18, 2021 8:02 am

Just FYI -
On chrome when playing video and I kill the plugin helper process (handling video) (on macos) the video goes black and doesn't restart the process automatically.
The audio helper is restarted
sjames1958
Mentor
 
Posts: 60
Joined: Sun Jun 22, 2014 7:41 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 28 guests