Need help with crash at TSFTextStore::TSFTextStore()

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Need help with crash at TSFTextStore::TSFTextStore()

Postby codelimit » Thu Mar 18, 2021 7:50 am

Good day dear community!

I have random a lot of crash reports with the following call stack

Code: Select all
libcef.dll!logging::LogMessage::~LogMessage() Line 937
libcef.dll!ui::TSFTextStore::TSFTextStore() Line 42
libcef.dll!ui::TSFBridge::Initialize() Line 0
libcef.dll!content::BrowserMainRunnerImpl::Initialize(const content::MainFunctionParams & parameters) Line 124
libcef.dll!CefMainDelegate::RunProcess(const std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>> & process_type, const content::MainFunctionParams & main_function_params) Line 722
libcef.dll!content::RunBrowserProcessMain(const content::MainFunctionParams & main_function_params, content::ContentMainDelegate * delegate) Line 548
libcef.dll!content::ContentMainRunnerImpl::RunServiceManager(content::MainFunctionParams & main_params, bool start_service_manager_only) Line 982
libcef.dll!content::ContentMainRunnerImpl::Run(bool start_service_manager_only) Line 874
libcef.dll!content::ContentServiceManagerMainDelegate::RunEmbedderProcess() Line 52
libcef.dll!service_manager::MainRun(service_manager::MainParams & params) Line 0
libcef.dll!CefContext::Initialize(const CefMainArgs & args, const CefStructBase<CefSettingsTraits> & settings, scoped_refptr<CefApp> application, void * windows_sandbox_info) Line 446
libcef.dll!CefInitialize(const CefMainArgs & args, const CefStructBase<CefSettingsTraits> & settings, scoped_refptr<CefApp> application, void * windows_sandbox_info) Line 251
libcef.dll!cef_initialize(const _cef_main_args_t * args, const _cef_settings_t * settings, _cef_app_t * application, void * windows_sandbox_info) Line 111
...


I can not reproduce the problem, but have heard that TSF service is incompatible with offcreen rendering mode. Is that true? How can I disable/switch it then?
I use cef76.1.13 version with offscreen rendering enabled.

Any help is highly appreciated!
Best regards
codelimit
Techie
 
Posts: 30
Joined: Mon Nov 04, 2019 11:48 am

Re: Need help with crash at TSFTextStore::TSFTextStore()

Postby codelimit » Thu Mar 18, 2021 9:23 am

Oh and by the way, that is src of TSFTextStore()

Code: Select all
TSFTextStore::TSFTextStore() {
  if (FAILED(::CoCreateInstance(CLSID_TF_CategoryMgr, nullptr, CLSCTX_ALL,
                                IID_PPV_ARGS(&category_manager_)))) {
    LOG(FATAL) << "Failed to initialize CategoryMgr.";
    return;
  }
  if (FAILED(::CoCreateInstance(CLSID_TF_DisplayAttributeMgr, nullptr,
                                CLSCTX_ALL,
                                IID_PPV_ARGS(&display_attribute_manager_)))) {
    LOG(FATAL) << "Failed to initialize DisplayAttributeMgr.";
    return;
  }
}


I have logging disabled so I can't tell which of ::CoCreateInstance failed... :/
codelimit
Techie
 
Posts: 30
Joined: Mon Nov 04, 2019 11:48 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 37 guests