You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For off-screen rendering I use CefClient with custom CefRenderHandler.
But after upgrade from CefGlue.Common from 91.4472.29 to 106.5249.7 Xilium.CefGlue.BrowserProcess.exe start crashing.
After some investigation i found that trouble in CrashPipeNameKey
If this variable not provided - browser process is crashing.
Unfortunately, the CreateBrowser API did not require this before, and you can guess what went wrong only after cloning the repository and replacing the nuget-provided files with a self-compiled one, which is not the first thing to do.
So for workaround need to replace CefBrowserHost.CreateBrowser(cefWindowInfo, this, cefBrowserSettings, url);
with const string CrashPipeNameKey = "CrashPipeName";' using (var extraInfo = CefDictionaryValue.Create()) { // send the name of the crash (side) pipe to the render process var crashServerPipeName = Guid.NewGuid().ToString(); extraInfo.SetString(CrashPipeNameKey, crashServerPipeName); CefBrowserHost.CreateBrowser(cefWindowInfo, this, cefBrowserSettings, url, extraInfo, RequestContext); }
The text was updated successfully, but these errors were encountered:
For off-screen rendering I use
CefClient
with customCefRenderHandler
.But after upgrade from
CefGlue.Common
from 91.4472.29 to 106.5249.7Xilium.CefGlue.BrowserProcess.exe
start crashing.After some investigation i found that trouble in
CrashPipeNameKey
If this variable not provided - browser process is crashing.
Unfortunately, the
CreateBrowser
API did not require this before, and you can guess what went wrong only after cloning the repository and replacing the nuget-provided files with a self-compiled one, which is not the first thing to do.So for workaround need to replace
CefBrowserHost.CreateBrowser(cefWindowInfo, this, cefBrowserSettings, url);
with
const string CrashPipeNameKey = "CrashPipeName";'
using (var extraInfo = CefDictionaryValue.Create())
{
// send the name of the crash (side) pipe to the render process
var crashServerPipeName = Guid.NewGuid().ToString();
extraInfo.SetString(CrashPipeNameKey, crashServerPipeName);
CefBrowserHost.CreateBrowser(cefWindowInfo, this, cefBrowserSettings, url, extraInfo, RequestContext);
}
The text was updated successfully, but these errors were encountered: