We have upgraded CEF to 90.0.4430.212 version to support apple silicon (Arm64) architecture. We are successfully able to load the URL in the window but while closing the window and exiting, the CEF is crashing at the time of shutdown.
We are using browser->GetHost->CloseBrowser(false) to close the browser.
Also tried closing by passing true (force close) and also tried using TryCloseBrowser in a loop, but it seems tryclosebrowser keeps on returning false and it results in infinite loop.
Below is the stack trace :
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 org.chromium.ContentShell.framework 0x0000000108606008 cef_time_delta + 2256220
1 org.chromium.ContentShell.framework 0x0000000108605fd4 cef_time_delta + 2256168
2 org.chromium.ContentShell.framework 0x00000001083c1eac cef_log + 84
3 <appname> 0x000000010329a338 cef_log + 60 (libcef_dll_dylib.cc:1731)
4 <appname> 0x000000010318da28 cef::logging::LogMessage::~LogMessage() + 112 (cef_logging.cc:186)
5 <appname> 0x000000010318da98 cef::logging::LogMessage::~LogMessage() + 32 (cef_logging.cc:184)
6 <appname> 0x0000000103274518 shutdown_checker::AssertNotShutdown() + 176 (shutdown_checker.cc:52)
7 <appname> 0x00000001031b8090 (anonymous namespace)::life_span_handler_on_before_close(_cef_life_span_handler_t*, _cef_browser_t*) + 28 (life_span_handler_cpptoc.cc:194)
8 org.chromium.ContentShell.framework 0x00000001056e7f44 cef_label_button_create + 15956
9 org.chromium.ContentShell.framework 0x000000010832ea1c ChromeAppModeStart_v6 + 7292524
10 org.chromium.ContentShell.framework 0x00000001083178a8 ChromeAppModeStart_v6 + 7197944
11 org.chromium.ContentShell.framework 0x0000000108334ccc ChromeAppModeStart_v6 + 7317788
12 org.chromium.ContentShell.framework 0x000000010833c8dc ChromeAppModeStart_v6 + 7349548
13 org.chromium.ContentShell.framework 0x0000000108361c64 ChromeAppModeStart_v6 + 7502004
14 org.chromium.ContentShell.framework 0x000000010833c1dc ChromeAppModeStart_v6 + 7347756
15 <appname> 0x0000000103298ab4 cef_shutdown + 24 (libcef_dll_dylib.cc:987)
16 <appname> 0x000000010329b568 CefShutdown() + 16 (libcef_dll_wrapper.cc:120)
17 <appname> 0x0000000103035110 client::MainContextImpl::Shutdown() + 552 (main_context_impl.cc:267)
Any help/leads will be appreciated.