Skip to content

Linux: Invalid file descriptor to ICU data received on newer versions of CEF #8

@hydexon

Description

@hydexon

OS: openSUSE Tumbleweed x86_64
Compiler Version:: g++ (SUSE Linux) 14.2.1 20241007 [revision 4af44f2cf7d281f3e4f3957efce10e8b2ccb2ad3]
CMake Version: cmake version 3.31.3
CEF version: 126.2.18+g3647d39+chromium-126.0.6478.183 (Picked as Default by CMake)

I've recreated the simple minimal demo from the cef-demos repo, no matter what i do, i always got this error:

[0127/202558.947065:WARNING:alloy_main_delegate.cc(559)] Alloy bootstrap is deprecated and will be removed in ~M127. See https://github.com/chromiumembedded/cef/issues/3685
[0127/202558.947186:ERROR:icu_util.cc(223)] Invalid file descriptor to ICU data received.
[0127/202558.947197:FATAL:icu_util.cc(297)] Check failed: result. 
Trace/breakpoint trap (core dumped)

my CMAKE_RUNTIME_OUTPUT_DIRECTORY directory structure after successful build is:

chrome_100_percent.pak
chrome_200_percent.pak
debug.log
icudtl.dat
libcef.so
libEGL.so
libGLESv2.so
libvk_swiftshader.so
libvulkan.so.1
locales
resources.pak
simple
snapshot_blob.bin
v8_context_snapshot.bin
vk_swiftshader_icd.json

Just to note , i have to do a tiny modification to the simple cef demo since this new version of CEF, CefBrowserHost::CreateBrowser wants an CerfRequestContext:

    CefBrowserHost::CreateBrowser(windowInfo, new MinimalClient, "https://example.org/", browserSettings, nullptr, CefRequestContext::GetGlobalContext());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions