This repository was archived by the owner on Oct 28, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 13
This repository was archived by the owner on Oct 28, 2025. It is now read-only.
jcef_helper is loaded from wrong path #27
Copy link
Copy link
Open
Description
This only happens with the latest release.
2024.04.20.4:
JCEF(49:46:124): initialized stderr logger, severity=LOGSEVERITY_DEFAULT
JCEF_I(49:46:126): CefApp: set state NEW
JCEF_I(49:46:153): CefApp: set state INITIALIZING
JCEF_V(49:46:154): Initialize CefApp on Thread[#77,CefInitialize-thread,5,main]
[0609/174946.157535:WARNING:resource_util.cc(94)] Please customize CefSettings.root_cache_path for your application. Use of the default value may lead to unintended process singleton behavior.
JCEF_V(49:46:273): CefApp: native initialization is finished.
JCEF_I(49:46:273): CefApp: set state INITIALIZED
JCEF_I(49:46:276): version: JCEF Version = 122.1.9.1042.ec76b85c35345bab1306a04267221d0e1e6a5ee6
CEF Version = 122.1.9
Chromium Version = 122.0.6261.94 | settings: browser_subprocess_path=/mnt/projects/<redacted>/jcef-bundle/jcef_helper, windowless_rendering_enabled=true, command_line_args_disabled=false, cache_path=null, persist_session_cookies=false, user_agent=null, user_agent_product=null, locale=null, log_file=null, log_severity=LOGSEVERITY_DEFAULT, javascript_flags=null, resources_dir_path=/mnt/projects/<redacted>/jcef-bundle, locales_dir_path=/mnt/projects/<redacted>/jcef-bundle/locales, pack_loading_disabled=false, remote_debugging_port=0, uncaught_exception_stack_size=0, cookieable_schemes_list=null, cookieable_schemes_exclude_defaults=false, no_sandbox=true
[0609/174946.438241:WARNING:sandbox_linux.cc(418)] InitializeSandbox() called with multiple threads in process gpu-process.
2025.03.23:
JCEF(46:02:415): initialized stderr logger, severity=LOGSEVERITY_DEFAULT
JCEF_I(46:02:416): CefApp: set state NEW
JCEF_I(46:02:455): CefApp: set state INITIALIZING
JCEF_V(46:02:456): Initialize CefApp on Thread[#73,CefInitialize-thread,5,main]
[0609/174602.459968:WARNING:resource_util.cc(94)] Please customize CefSettings.root_cache_path for your application. Use of the default value may lead to unintended process singleton behavior.
[0609/174602.461461:WARNING:resource_bundle.cc(465)] locale_file_path.empty() for locale
[0609/174602.461481:ERROR:alloy_main_delegate.cc(715)] Could not load locale pak for en-US
[0609/174602.461493:ERROR:alloy_main_delegate.cc(724)] Could not load resources.pak
[0609/174602.461500:ERROR:alloy_main_delegate.cc(735)] Could not load chrome_100_percent.pak
[0609/174602.461506:ERROR:alloy_main_delegate.cc(744)] Could not load chrome_200_percent.pak
LaunchProcess: failed to execvp:
/mnt/other/.sdkman/candidates/java/21.0.6-oracle/lib/jcef_helper
LaunchProcess: failed to execvp:
/mnt/other/.sdkman/candidates/java/21.0.6-oracle/lib/jcef_helper
[0609/174602.515146:WARNING:resource_bundle.cc(1200)] locale resources are not loaded
[0609/174602.520824:WARNING:resource_bundle.cc(1200)] locale resources are not loaded
[0609/174602.521480:WARNING:resource_bundle.cc(1200)] locale resources are not loaded
[0609/174602.522242:WARNING:resource_bundle.cc(1200)] locale resources are not loaded
[0609/174602.522457:WARNING:resource_bundle.cc(1200)] locale resources are not loaded
[0609/174602.522525:WARNING:resource_bundle.cc(1200)] locale resources are not loaded
[0609/174602.522543:WARNING:resource_bundle.cc(1200)] locale resources are not loaded
[0609/174602.522560:WARNING:resource_bundle.cc(1200)] locale resources are not loaded
[0609/174602.522577:WARNING:resource_bundle.cc(1200)] locale resources are not loaded
[0609/174602.522594:WARNING:resource_bundle.cc(1200)] locale resources are not loaded
[0609/174602.522605:WARNING:resource_bundle.cc(1200)] locale resources are not loaded
[0609/174602.522616:WARNING:resource_bundle.cc(1200)] locale resources are not loaded
[0609/174602.523611:WARNING:resource_bundle.cc(1200)] locale resources are not loaded
[0609/174602.524804:ERROR:extension_system.cc(68)] Failed to parse extension manifest.
[0609/174602.528087:ERROR:gpu_process_host.cc(983)] GPU process launch failed: error_code=1002
[0609/174602.528123:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 1 time(s)
JCEF_V(46:02:527): CefApp: native initialization is finished.
JCEF_I(46:02:528): CefApp: set state INITIALIZED
[0609/174602.533636:ERROR:gpu_process_host.cc(983)] GPU process launch failed: error_code=1002
[0609/174602.533692:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 2 time(s)
[0609/174602.534763:ERROR:gpu_process_host.cc(983)] GPU process launch failed: error_code=1002
[0609/174602.534804:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 3 time(s)
[0609/174602.535720:ERROR:gpu_process_host.cc(983)] GPU process launch failed: error_code=1002
[0609/174602.535754:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 4 time(s)
[0609/174602.536634:ERROR:gpu_process_host.cc(983)] GPU process launch failed: error_code=1002
[0609/174602.536670:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 5 time(s)
[0609/174602.537547:ERROR:gpu_process_host.cc(983)] GPU process launch failed: error_code=1002
[0609/174602.537580:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 6 time(s)
[0609/174602.538591:ERROR:gpu_process_host.cc(983)] GPU process launch failed: error_code=1002
[0609/174602.538629:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 7 time(s)
[0609/174602.539451:ERROR:gpu_process_host.cc(983)] GPU process launch failed: error_code=1002
[0609/174602.539481:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 8 time(s)
[0609/174602.540308:ERROR:gpu_process_host.cc(983)] GPU process launch failed: error_code=1002
[0609/174602.540337:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 9 time(s)
[0609/174602.540348:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.
Note that it tries to exec jcef_helper from the JAVA_HOME, which is set up via sdkman. From what I can tell, this happens because you call getInstance without passing the correct arguments:
https://github.com/JetBrains/jcef/blob/e8a6c65844cfab09a9ddd02be8b991466bd1c6d9/java/com/jetbrains/cef/JCefAppConfig.java#L111. Behavior likely changed in this commit: JetBrains/jcef@bbb7a3c
Metadata
Metadata
Assignees
Labels
No labels