Skip to content

Instantly share code, notes, and snippets.

@goodov
Created May 12, 2021 13:38
Show Gist options
  • Save goodov/58a34a9ed19350984a9454b6522cae4d to your computer and use it in GitHub Desktop.
Save goodov/58a34a9ed19350984a9454b6522cae4d to your computer and use it in GitHub Desktop.
[38132:34288:0512/203739.725:FATAL:template_url_service.cc(1798)] Check failed: default_search_provider_.
Backtrace:
base::debug::CollectStackTrace [0x00007FF969E895B2+18] (D:\brave\2\src\base\debug\stack_trace_win.cc:303)
base::debug::StackTrace::StackTrace [0x00007FF969D67832+18] (D:\brave\2\src\base\debug\stack_trace.cc:195)
logging::LogMessage::~LogMessage [0x00007FF969D84F89+137] (D:\brave\2\src\base\logging.cc:566)
logging::LogMessage::~LogMessage [0x00007FF969D85EC0+16] (D:\brave\2\src\base\logging.cc:559)
TemplateURLService::ApplyDefaultSearchChangeNoMetrics [0x00007FF9651C51AF+305] (D:\brave\2\src\components\search_engines\template_url_service.cc:1798)
TemplateURLService::ApplyDefaultSearchChange [0x00007FF9651BCBAE+14] (D:\brave\2\src\components\search_engines\template_url_service.cc:1734)
PrefChangeRegistrar::OnPreferenceChanged [0x00007FF979F48B02+130] (D:\brave\2\src\components\prefs\pref_change_registrar.cc:88)
PrefNotifierImpl::FireObservers [0x00007FF979F4BF72+466] (D:\brave\2\src\components\prefs\pref_notifier_impl.cc:145)
PrefValueStore::NotifyPrefChanged [0x00007FF979F55806+102] (D:\brave\2\src\components\prefs\pref_value_store.cc:138)
OverlayUserPrefStore::ReportValueChanged [0x00007FF979F47797+167] (D:\brave\2\src\components\prefs\overlay_user_pref_store.cc:202)
InMemoryPrefStore::ReportValueChanged [0x00007FF979F43087+167] (D:\brave\2\src\components\prefs\in_memory_pref_store.cc:85)
OverlayUserPrefStore::RemoveValue [0x00007FF979F47433+131] (D:\brave\2\src\components\prefs\overlay_user_pref_store.cc:160)
PrefService::ClearPref [0x00007FF979F50C34+100] (D:\brave\2\src\components\prefs\pref_service.cc:392)
DefaultSearchManager::ClearUserSelectedDefaultSearchEngine [0x00007FF96530B96E+68] (D:\brave\2\src\components\search_engines\default_search_manager.cc:207)
TemplateURLService::OnSyncedDefaultSearchProviderGUIDChanged [0x00007FF9651C4D5A+218] (D:\brave\2\src\components\search_engines\template_url_service.cc:2119)
PrefChangeRegistrar::OnPreferenceChanged [0x00007FF979F48B02+130] (D:\brave\2\src\components\prefs\pref_change_registrar.cc:88)
PrefNotifierImpl::FireObservers [0x00007FF979F4BF72+466] (D:\brave\2\src\components\prefs\pref_notifier_impl.cc:145)
PrefValueStore::NotifyPrefChanged [0x00007FF979F55806+102] (D:\brave\2\src\components\prefs\pref_value_store.cc:138)
OverlayUserPrefStore::ReportValueChanged [0x00007FF979F47797+167] (D:\brave\2\src\components\prefs\overlay_user_pref_store.cc:202)
InMemoryPrefStore::ReportValueChanged [0x00007FF979F43087+167] (D:\brave\2\src\components\prefs\in_memory_pref_store.cc:85)
InMemoryPrefStore::SetValue [0x00007FF979F42E78+168] (D:\brave\2\src\components\prefs\in_memory_pref_store.cc:52)
OverlayUserPrefStore::SetValue [0x00007FF979F472A2+178] (D:\brave\2\src\components\prefs\overlay_user_pref_store.cc:138)
PrefService::SetUserPrefValue [0x00007FF979F51342+162] (D:\brave\2\src\components\prefs\pref_service.cc:610)
PrefService::SetString [0x00007FF979F51607+87] (D:\brave\2\src\components\prefs\pref_service.cc:481)
SearchEngineProviderService::UseExtensionSearchProvider [0x00007FF966F843C4+554] (D:\brave\2\src\brave\browser\search_engines\search_engine_provider_service.cc:138)
PrivateWindowSearchEngineProviderService::OnTemplateURLServiceChanged [0x00007FF966D02192+130] (D:\brave\2\src\brave\browser\search_engines\private_window_search_engine_provider_service.cc:62)
TemplateURLService::Scoper::~Scoper [0x00007FF9651BEF66+356] (D:\brave\2\src\components\search_engines\template_url_service.cc:263)
TemplateURLService::ApplyDefaultSearchChangeNoMetrics [0x00007FF9651C5527+1193] (D:\brave\2\src\components\search_engines\template_url_service.cc:1854)
TemplateURLService::ApplyDefaultSearchChange [0x00007FF9651BCBAE+14] (D:\brave\2\src\components\search_engines\template_url_service.cc:1734)
PrefChangeRegistrar::OnPreferenceChanged [0x00007FF979F48B02+130] (D:\brave\2\src\components\prefs\pref_change_registrar.cc:88)
PrefNotifierImpl::FireObservers [0x00007FF979F4BF72+466] (D:\brave\2\src\components\prefs\pref_notifier_impl.cc:145)
PrefValueStore::NotifyPrefChanged [0x00007FF979F55806+102] (D:\brave\2\src\components\prefs\pref_value_store.cc:138)
ValueMapPrefStore::SetValue [0x00007FF979F56202+306] (D:\brave\2\src\components\prefs\value_map_pref_store.cc:41)
ExtensionPrefStore::OnPrefValueChanged [0x00007FF9638EB05B+155] (D:\brave\2\src\extensions\browser\extension_pref_store.cc:27)
ExtensionPrefValueMap::NotifyPrefValueChanged [0x00007FF9638EB6F7+167] (D:\brave\2\src\extensions\browser\extension_pref_value_map.cc:389)
ExtensionPrefValueMap::SetExtensionPref [0x00007FF9638EB51A+98] (D:\brave\2\src\extensions\browser\extension_pref_value_map.cc:57)
extensions::PreferenceAPIBase::SetExtensionControlledPref [0x00007FF9660363A2+330] (D:\brave\2\src\chrome\browser\extensions\api\preference\preference_api.cc:496)
extensions::SettingsOverridesAPI::SetPref [0x00007FF966616144+168] (D:\brave\2\src\chrome\browser\extensions\api\settings_overrides\settings_overrides_api.cc:148)
extensions::SettingsOverridesAPI::RegisterSearchProvider [0x00007FF96661738F+3065] (D:\brave\2\src\chrome\browser\extensions\api\settings_overrides\settings_overrides_api.cc:253)
extensions::SettingsOverridesAPI::OnExtensionLoaded [0x00007FF9666166CA+1306] (D:\brave\2\src\chrome\browser\extensions\api\settings_overrides\settings_overrides_api.cc:203)
extensions::ExtensionRegistry::TriggerOnLoaded [0x00007FF963905788+324] (D:\brave\2\src\extensions\browser\extension_registry.cc:63)
extensions::ExtensionRegistrar::ActivateExtension [0x00007FF963902D76+230] (D:\brave\2\src\extensions\browser\extension_registrar.cc:473)
extensions::ExtensionRegistrar::EnableExtension [0x00007FF96390300E+368] (D:\brave\2\src\extensions\browser\extension_registrar.cc:223)
extensions::ExtensionService::EnableExtension [0x00007FF964E3C5CC+110] (D:\brave\2\src\chrome\browser\extensions\extension_service.cc:950)
extensions::ManagementSetEnabledFunction::Run [0x00007FF963AF2882+1842] (D:\brave\2\src\extensions\browser\api\management\management_api.cc:506)
ExtensionFunction::RunWithValidation [0x00007FF9638DA3D3+139] (D:\brave\2\src\extensions\browser\extension_function.cc:471)
extensions::ExtensionFunctionDispatcher::DispatchWithCallbackInternal [0x00007FF9638DDBE0+1390] (D:\brave\2\src\extensions\browser\extension_function_dispatcher.cc:346)
extensions::ExtensionFunctionDispatcher::Dispatch [0x00007FF9638DD416+480] (D:\brave\2\src\extensions\browser\extension_function_dispatcher.cc:254)
extensions::ExtensionWebContentsObserver::OnRequest [0x00007FF96390EB68+136] (D:\brave\2\src\extensions\browser\extension_web_contents_observer.cc:346)
IPC::MessageT<ExtensionHostMsg_Request_Meta,std::tuple<extensions::mojom::RequestParams>,void>::Dispatch<extensions::ExtensionWebContentsObserver,extensions::ExtensionWebContentsObserver,content::RenderFrameHost,void (extensions::ExtensionWebContentsObser [0x00007FF96390EA44+170] (D:\brave\2\src\ipc\ipc_message_templates.h:144)
extensions::ExtensionWebContentsObserver::OnMessageReceived [0x00007FF96390E965+197] (D:\brave\2\src\extensions\browser\extension_web_contents_observer.cc:255)
extensions::ChromeExtensionWebContentsObserver::OnMessageReceived [0x00007FF96554E50B+107] (D:\brave\2\src\chrome\browser\extensions\chrome_extension_web_contents_observer.cc:101)
content::WebContentsImpl::OnMessageReceived [0x00007FF95FFA47F8+248] (D:\brave\2\src\content\browser\web_contents\web_contents_impl.cc:1147)
content::RenderFrameHostImpl::OnMessageReceived [0x00007FF95FDB029A+74] (D:\brave\2\src\content\browser\renderer_host\render_frame_host_impl.cc:1995)
content::RenderProcessHostImpl::OnMessageReceived [0x00007FF95FE0B9D3+131] (D:\brave\2\src\content\browser\renderer_host\render_process_host_impl.cc:3552)
IPC::ChannelProxy::Context::OnDispatchMessage [0x00007FF990D9C1B4+36] (D:\brave\2\src\ipc\ipc_channel_proxy.cc:326)
base::TaskAnnotator::RunTask [0x00007FF969E06B38+472] (D:\brave\2\src\base\task\common\task_annotator.cc:173)
base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl [0x00007FF969E2F4ED+1133] (D:\brave\2\src\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:352)
base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork [0x00007FF969E2EC31+129] (D:\brave\2\src\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:266)
base::MessagePumpForUI::DoRunLoop [0x00007FF969E93CB7+199] (D:\brave\2\src\base\message_loop\message_pump_win.cc:221)
base::MessagePumpWin::Run [0x00007FF969E92F5A+106] (D:\brave\2\src\base\message_loop\message_pump_win.cc:79)
base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run [0x00007FF969E3035D+685] (D:\brave\2\src\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:463)
base::RunLoop::Run [0x00007FF969DD6FEF+783] (D:\brave\2\src\base\run_loop.cc:135)
content::BrowserMainLoop::RunMainMessageLoop [0x00007FF95F923C62+130] (D:\brave\2\src\content\browser\browser_main_loop.cc:994)
content::BrowserMainRunnerImpl::Run [0x00007FF95F9260A5+149] (D:\brave\2\src\content\browser\browser_main_runner_impl.cc:154)
content::BrowserMain [0x00007FF95F920D7A+186] (D:\brave\2\src\content\browser\browser_main.cc:47)
content::RunBrowserProcessMain [0x00007FF96054A62E+110] (D:\brave\2\src\content\app\content_main_runner_impl.cc:598)
content::ContentMainRunnerImpl::RunBrowser [0x00007FF96054B601+1205] (D:\brave\2\src\content\app\content_main_runner_impl.cc:1081)
content::ContentMainRunnerImpl::Run [0x00007FF96054B124+468] (D:\brave\2\src\content\app\content_main_runner_impl.cc:959)
content::RunContentProcess [0x00007FF96054A124+1636] (D:\brave\2\src\content\app\content_main.cc:372)
content::ContentMain [0x00007FF96054A21D+61] (D:\brave\2\src\content\app\content_main.cc:398)
ChromeMain [0x00007FF963271240+416] (D:\brave\2\src\chrome\app\chrome_main.cc:144)
MainDllLoader::Launch [0x00007FF6D39B273E+406] (D:\brave\2\src\chrome\app\main_dll_loader_win.cc:169)
wWinMain [0x00007FF6D39B1B68+2920] (D:\brave\2\src\chrome\app\chrome_exe_main_win.cc:369)
__scrt_common_main_seh [0x00007FF6D3A62FF6+262] (d:\A01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
BaseThreadInitThunk [0x00007FF9C9457034+20]
RtlUserThreadStart [0x00007FF9CB37D241+33]
Task trace:
Backtrace:
IPC::ChannelProxy::Context::OnMessageReceivedNoFilter [0x00007FF990D9C15E+164] (D:\brave\2\src\ipc\ipc_channel_proxy.cc:129)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment