Skip to content

Instantly share code, notes, and snippets.

@goodov
Created May 7, 2021 11:46
Show Gist options
  • Save goodov/5437d6735dce60bc24b9ef2943719c8e to your computer and use it in GitHub Desktop.
Save goodov/5437d6735dce60bc24b9ef2943719c8e to your computer and use it in GitHub Desktop.
[40976:59064:0507/183916.984:FATAL:template_url_service.cc(1798)] Check failed: default_search_provider_.
Backtrace:
base::debug::CollectStackTrace [0x00007FF9741F95B2+18] (D:\brave\2\src\base\debug\stack_trace_win.cc:303)
base::debug::StackTrace::StackTrace [0x00007FF9740D7832+18] (D:\brave\2\src\base\debug\stack_trace.cc:195)
logging::LogMessage::~LogMessage [0x00007FF9740F4F89+137] (D:\brave\2\src\base\logging.cc:566)
logging::LogMessage::~LogMessage [0x00007FF9740F5EC0+16] (D:\brave\2\src\base\logging.cc:559)
TemplateURLService::ApplyDefaultSearchChangeNoMetrics [0x00007FF96B1DFA1F+305] (D:\brave\2\src\components\search_engines\template_url_service.cc:1798)
TemplateURLService::ApplyDefaultSearchChange [0x00007FF96B1D741E+14] (D:\brave\2\src\components\search_engines\template_url_service.cc:1734)
PrefChangeRegistrar::OnPreferenceChanged [0x00007FF98FA48B02+130] (D:\brave\2\src\components\prefs\pref_change_registrar.cc:88)
PrefNotifierImpl::FireObservers [0x00007FF98FA4BF72+466] (D:\brave\2\src\components\prefs\pref_notifier_impl.cc:145)
PrefValueStore::NotifyPrefChanged [0x00007FF98FA55806+102] (D:\brave\2\src\components\prefs\pref_value_store.cc:138)
OverlayUserPrefStore::ReportValueChanged [0x00007FF98FA47797+167] (D:\brave\2\src\components\prefs\overlay_user_pref_store.cc:202)
InMemoryPrefStore::ReportValueChanged [0x00007FF98FA43087+167] (D:\brave\2\src\components\prefs\in_memory_pref_store.cc:85)
InMemoryPrefStore::SetValue [0x00007FF98FA42E78+168] (D:\brave\2\src\components\prefs\in_memory_pref_store.cc:52)
OverlayUserPrefStore::SetValue [0x00007FF98FA472A2+178] (D:\brave\2\src\components\prefs\overlay_user_pref_store.cc:138)
PrefService::SetUserPrefValue [0x00007FF98FA51342+162] (D:\brave\2\src\components\prefs\pref_service.cc:610)
PrefService::Set [0x00007FF98FA5127B+59] (D:\brave\2\src\components\prefs\pref_service.cc:465)
DefaultSearchManager::SetUserSelectedDefaultSearchEngine [0x00007FF96B325F00+96] (D:\brave\2\src\components\search_engines\default_search_manager.cc:201)
TemplateURLService::MaybeUpdateDSEViaPrefs [0x00007FF96B1DD9A7+315] (D:\brave\2\src\components\search_engines\template_url_service.cc:1664)
TemplateURLService::Update [0x00007FF96B1DA37C+424] (D:\brave\2\src\components\search_engines\template_url_service.cc:1636)
TemplateURLService::UpdateProviderFavicons [0x00007FF96B1DA7FB+583] (D:\brave\2\src\components\search_engines\template_url_service.cc:710)
SearchEngineTabHelper::OnFaviconUpdated [0x00007FF96BE03577+119] (D:\brave\2\src\chrome\browser\ui\search_engines\search_engine_tab_helper.cc:162)
favicon::FaviconDriver::NotifyFaviconUpdatedObservers [0x00007FF96BD4331D+213] (D:\brave\2\src\components\favicon\core\favicon_driver.cc:28)
favicon::ContentFaviconDriver::OnFaviconUpdated [0x00007FF96B2A369D+381] (D:\brave\2\src\components\favicon\content\content_favicon_driver.cc:118)
favicon::FaviconHandler::NotifyFaviconUpdated [0x00007FF96C74BB89+157] (D:\brave\2\src\components\favicon\core\favicon_handler.cc:324)
favicon::FaviconHandler::OnDidDownloadFavicon [0x00007FF96C74D99E+1102] (D:\brave\2\src\components\favicon\core\favicon_handler.cc:570)
base::internal::Invoker<base::internal::BindState<void (favicon::FaviconHandler::*)(favicon_base::IconType, int, int, const GURL &, const std::vector<SkBitmap,std::allocator<SkBitmap> > &, const std::vector<gfx::Size,std::allocator<gfx::Size> > &),base::i [0x00007FF96C74FC39+41] (D:\brave\2\src\base\bind_internal.h:694)
base::OnceCallback<void (int, int, const GURL &, const std::vector<SkBitmap,std::allocator<SkBitmap> > &, const std::vector<gfx::Size,std::allocator<gfx::Size> > &)>::Run [0x00007FF96C74FEAC+90] (D:\brave\2\src\base\callback.h:102)
base::OnceCallback<void (int, int, const GURL &, const std::vector<SkBitmap,std::allocator<SkBitmap> > &, const std::vector<gfx::Size,std::allocator<gfx::Size> > &)>::Run [0x00007FF967F20712+90] (D:\brave\2\src\base\callback.h:102)
content::WebContentsImpl::OnDidDownloadImage [0x00007FF967F0BFB9+185] (D:\brave\2\src\content\browser\web_contents\web_contents_impl.cc:7738)
base::internal::FunctorTraits<void (content::WebContentsImpl::*)(base::WeakPtr<content::RenderFrameHostImpl>, base::OnceCallback<void (int, int, const GURL &, const std::vector<SkBitmap,std::allocator<SkBitmap> > &, const std::vector<gfx::Size,std::alloca [0x00007FF967F2B928+170] (D:\brave\2\src\base\bind_internal.h:509)
base::internal::Invoker<base::internal::BindState<void (content::WebContentsImpl::*)(base::WeakPtr<content::RenderFrameHostImpl>, base::OnceCallback<void (int, int, const GURL &, const std::vector<SkBitmap,std::allocator<SkBitmap> > &, const std::vector<g [0x00007FF967F2B865+133] (D:\brave\2\src\base\bind_internal.h:694)
base::OnceCallback<void (int, const std::vector<SkBitmap,std::allocator<SkBitmap> > &, const std::vector<gfx::Size,std::allocator<gfx::Size> > &)>::Run [0x00007FF9652E7EDA+72] (D:\brave\2\src\base\callback.h:102)
blink::mojom::ImageDownloader_DownloadImage_ForwardToCallback::Accept [0x00007FF9652E7E5C+268] (D:\brave\2\src\out\Component\gen\third_party\blink\public\mojom\image_downloader\image_downloader.mojom.cc:222)
mojo::InterfaceEndpointClient::HandleValidatedMessage [0x00007FF9986BC4D3+771] (D:\brave\2\src\mojo\public\cpp\bindings\lib\interface_endpoint_client.cc:549)
mojo::MessageDispatcher::Accept [0x00007FF9986C0429+249] (D:\brave\2\src\mojo\public\cpp\bindings\lib\message_dispatcher.cc:43)
mojo::InterfaceEndpointClient::HandleIncomingMessage [0x00007FF9986BD752+66] (D:\brave\2\src\mojo\public\cpp\bindings\lib\interface_endpoint_client.cc:354)
mojo::internal::MultiplexRouter::ProcessIncomingMessage [0x00007FF9986C4D10+800] (D:\brave\2\src\mojo\public\cpp\bindings\lib\multiplex_router.cc:954)
mojo::internal::MultiplexRouter::Accept [0x00007FF9986C4770+352] (D:\brave\2\src\mojo\public\cpp\bindings\lib\multiplex_router.cc:626)
mojo::MessageDispatcher::Accept [0x00007FF9986C0429+249] (D:\brave\2\src\mojo\public\cpp\bindings\lib\message_dispatcher.cc:43)
mojo::Connector::DispatchMessageW [0x00007FF9986B4F00+448] (D:\brave\2\src\mojo\public\cpp\bindings\lib\connector.cc:509)
mojo::Connector::ReadAllAvailableMessages [0x00007FF9986B59CA+346] (D:\brave\2\src\mojo\public\cpp\bindings\lib\connector.cc:568)
mojo::Connector::OnHandleReadyInternal [0x00007FF9986B56F3+67] (D:\brave\2\src\mojo\public\cpp\bindings\lib\connector.cc:405)
mojo::SimpleWatcher::OnHandleReady [0x00007FF999B38E22+274] (D:\brave\2\src\mojo\public\cpp\system\simple_watcher.cc:279)
base::TaskAnnotator::RunTask [0x00007FF974176B38+472] (D:\brave\2\src\base\task\common\task_annotator.cc:173)
base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl [0x00007FF97419F4ED+1133] (D:\brave\2\src\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:352)
base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork [0x00007FF97419EC31+129] (D:\brave\2\src\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:266)
base::MessagePumpForUI::DoRunLoop [0x00007FF974203CB7+199] (D:\brave\2\src\base\message_loop\message_pump_win.cc:221)
base::MessagePumpWin::Run [0x00007FF974202F5A+106] (D:\brave\2\src\base\message_loop\message_pump_win.cc:79)
base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run [0x00007FF9741A035D+685] (D:\brave\2\src\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:463)
base::RunLoop::Run [0x00007FF974146FEF+783] (D:\brave\2\src\base\run_loop.cc:135)
content::BrowserMainLoop::RunMainMessageLoop [0x00007FF967873C22+130] (D:\brave\2\src\content\browser\browser_main_loop.cc:994)
content::BrowserMainRunnerImpl::Run [0x00007FF967876065+149] (D:\brave\2\src\content\browser\browser_main_runner_impl.cc:154)
content::BrowserMain [0x00007FF967870D3A+186] (D:\brave\2\src\content\browser\browser_main.cc:47)
content::RunBrowserProcessMain [0x00007FF96849A5EE+110] (D:\brave\2\src\content\app\content_main_runner_impl.cc:598)
content::ContentMainRunnerImpl::RunBrowser [0x00007FF96849B5C1+1205] (D:\brave\2\src\content\app\content_main_runner_impl.cc:1081)
content::ContentMainRunnerImpl::Run [0x00007FF96849B0E4+468] (D:\brave\2\src\content\app\content_main_runner_impl.cc:959)
content::RunContentProcess [0x00007FF96849A0E4+1636] (D:\brave\2\src\content\app\content_main.cc:372)
content::ContentMain [0x00007FF96849A1DD+61] (D:\brave\2\src\content\app\content_main.cc:398)
ChromeMain [0x00007FF9692B1240+416] (D:\brave\2\src\chrome\app\chrome_main.cc:144)
MainDllLoader::Launch [0x00007FF6854B273E+406] (D:\brave\2\src\chrome\app\main_dll_loader_win.cc:169)
wWinMain [0x00007FF6854B1B68+2920] (D:\brave\2\src\chrome\app\chrome_exe_main_win.cc:369)
__scrt_common_main_seh [0x00007FF685562FF6+262] (d:\A01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
BaseThreadInitThunk [0x00007FF9C9457034+20]
RtlUserThreadStart [0x00007FF9CB37D241+33]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment