I installed the English version of Windows 10 in a virtual machine and tried it.
M103 cefclient has crashed.
The content written to debug.log is the same.
M102 cefclient does not crash.
magreenblatt wrote:Thanks, filed as https://bitbucket.org/chromiumembedded/cef/issues/3342
Does the crash reproduce with any other machines on the same network? Do you have a Windows 10 machine, or a non-Japanese language Windows install?
[0501/170214.395690:FATAL:ax_node_data.cc(674)] Check failed: name.empty() == GetNameFrom() == ax::mojom::NameFrom::kAttributeExplicitlyEmpty (1 vs. 0)If the accessible name of Role::kApplication class: '' is being set to an empty string to improve the user experience, call `SetNameExplicitlyEmpty` instead of `SetName`.
#include <thread>
#include <stdlib.h>
#include "include/cef_app.h"
void EntryPoint() {
CefMainArgs main_args;
int exit_code = CefExecuteProcess(main_args, nullptr, nullptr);
assert(exit_code == -1);
CefSettings settings = CefSettings();
settings.log_severity = LOGSEVERITY_DISABLE; // needed for cef-based lib to work correctly
const char* subprocess = "subprocess"; // make sure you set this correctly, it won't warn you if you don't
cef_string_from_utf8(subprocess, strlen(subprocess), &settings.browser_subprocess_path);
#if defined(OS_LINUX)
// Unset LD_PRELOAD for current context, to prevent CEF's subprocesses trying to run this same library
unsetenv("LD_PRELOAD");
#endif
exit_code = CefInitialize(main_args, settings, nullptr, nullptr);
assert(exit_code == 0);
CefRunMessageLoop();
}
std::thread _main;
void __attribute__((constructor)) _init(int argc, char** argv) {
_main = std::thread(&EntryPoint);
}
#include "include/cef_app.h"
int main(int argc, char* argv[]) {
CefMainArgs main_args(argc, argv);
CefExecuteProcess(main_args, nullptr, nullptr);
}
Users browsing this forum: finder2 and 45 guests