We're currently upgrading from jcef 3325 to version 4147 and have a crash that we can't figure out how to fix.
If our own demo application starts with about:blank and we navigate to e.g. chrome:version the application crashes.
If we start with www.google.com and go to chrome:version it works.
But after google.com a navigation from about:blank to chrome:version always fails.
The problem is not reproducable with detailed MainFrame but I can't get to the problem behind it.
The crash stack is the following (as it is written to the DOS console log):
- Code: Select all
15:35:57,838 DEBUG [AWT-EventQueue-0] ui.controls.UIWebBrowserCEF.CEFNativeDemo () : loadURL called! url: 'chrome:version'
[1207/153557.839:FATAL:render_frame_host_manager.cc(875)] Check failed: render_frame_host_->web_ui_type() == WebUIControllerFactoryRegistry::GetInstance()->GetWebUIType( browser_context, request->common_params().url) (00000000 vs. 1F416A60)
Backtrace:
cef_string_utf16_to_upper [0x1B567163+580544]
cef_string_utf16_to_upper [0x1B4F82B1+126222]
cef_string_utf16_to_upper [0x1B503614+172145]
cef_string_utf16_to_upper [0x1B5041CB+175144]
cef_string_utf16_to_upper [0x1B4F1C8F+100076]
cef_string_multimap_size [0x1A24A969+7293097]
cef_string_multimap_size [0x1A24A6D5+7292437]
cef_string_multimap_size [0x1A2098A8+7026664]
cef_string_multimap_size [0x1A227A64+7149988]
cef_string_multimap_size [0x1A20DC3A+7043962]
cef_string_multimap_size [0x1A20D82A+7042922]
cef_string_multimap_size [0x1A20D752+7042706]
cef_string_multimap_size [0x1B4A6E17+26545495]
cef_string_multimap_size [0x1B4B20B8+26591224]
cef_string_utf16_to_upper [0x1B532084+363233]
cef_time_delta [0x1BD7D4A3+225371]
cef_time_delta [0x1BD7D1F1+224681]
cef_string_utf16_to_upper [0x1B56DA9B+607480]
cef_string_utf16_to_upper [0x1B56D32F+605580]
cef_time_delta [0x1BD7DAEA+226978]
cef_string_utf16_to_upper [0x1B51F0E4+285505]
IsSandboxedProcess [0x1BD3715D+3484337]
cef_string_utf16_to_upper [0x1B572EFC+629081]
BaseThreadInitThunk [0x76276359+25]
RtlGetAppContainerNamedObjectPath [0x77EB8944+228]
RtlGetAppContainerNamedObjectPath [0x77EB8914+180]
Task trace:
Backtrace:
cef_string_multimap_size [0x1B4A6D48+26545288]
This is the crashing check (render_frame_host_manager.cc(875)):
- Code: Select all
CHECK_EQ(render_frame_host_->web_ui_type(),
WebUIControllerFactoryRegistry::GetInstance()->GetWebUIType(
browser_context, request->common_params().url));
We had a similar problem when we called loadURL with a dataURL not on the EventQueue, but this call runs on the EventQueue, as it is triggered by a button click.
What are we missing here or what are we doing wrong, maybe somebody can give us a hint?
Our environment is OS Windows 64 bit, OpenJDK 8u222 32bit, JCEF 4147 with 32bit binaries.