Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser crashes when changing default cookie prefs #5740

Closed
bridiver opened this issue Aug 20, 2019 · 1 comment
Closed

Browser crashes when changing default cookie prefs #5740

bridiver opened this issue Aug 20, 2019 · 1 comment

Comments

@bridiver
Copy link
Contributor

Description

[28658:28658:0820/193340.306579:FATAL:pref_service.cc(162)] Check failed: rv. 
#0 0x7f03fec5c249 base::debug::CollectStackTrace()
#1 0x7f03feb54113 base::debug::StackTrace::StackTrace()
#2 0x7f03feb73392 logging::LogMessage::~LogMessage()
#3 0x7f03f961134a PrefService::GetBoolean()
#4 0x55ebe65732bf brave_shields::CookiePrefService::OnPreferenceChanged()
#5 0x7f03f960b85c PrefChangeRegistrar::InvokeUnnamedCallback()
#6 0x7f03f960bb32 PrefChangeRegistrar::OnPreferenceChanged()
#7 0x7f03f960e6e9 PrefNotifierImpl::FireObservers()
#8 0x7f03f961688a PrefValueStore::PrefStoreKeeper::OnPrefValueChanged()
#9 0x55ebe61f3a34 SegregatedPrefStore::AggregatingObserver::OnPrefValueChanged()
#10 0x7f03f96066b4 JsonPrefStore::ReportValueChanged()
#11 0x7f03f9605418 JsonPrefStore::RemoveValue()
#12 0x7f03f9613014 PrefService::ClearPref()
#13 0x55ebe7005718 content_settings::DefaultProvider::WriteToPref()
#14 0x55ebe70053e0 content_settings::DefaultProvider::SetWebsiteSetting()
#15 0x55ebe6ffd781 HostContentSettingsMap::SetWebsiteSettingCustomScope()
#16 0x55ebe6ffd582 HostContentSettingsMap::SetDefaultContentSetting()
#17 0x55ebe7aac243 settings::SiteSettingsHandler::HandleSetDefaultValueForContentType()
#18 0x7f03fcce2835 content::WebUIImpl::ProcessWebUIMessage()
#19 0x7f03fcce1669 content::WebUIImpl::OnWebUISend()
#20 0x7f03fcce14b7 IPC::MessageT<>::Dispatch<>()
#21 0x7f03fcce13ea content::WebUIImpl::OnMessageReceived()
#22 0x7f03fcc876d1 content::WebContentsImpl::OnMessageReceived()
#23 0x7f03fc8985c5 content::RenderFrameHostImpl::OnMessageReceived()
#24 0x7f03fcb1ff23 content::RenderProcessHostImpl::OnMessageReceived()
#25 0x7f03fb552f77 IPC::ChannelProxy::Context::OnDispatchMessage()
#26 0x7f03fb556008 base::internal::Invoker<>::RunOnce()
#27 0x7f03febd4668 base::TaskAnnotator::RunTask()
#28 0x7f03febf438a base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl()
#29 0x7f03febf3fc7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork()
#30 0x7f03feb806f7 base::(anonymous namespace)::WorkSourceDispatch()
#31 0x7f03f0bbf417 g_main_context_dispatch
#32 0x7f03f0bbf650 <unknown>
#33 0x7f03f0bbf6dc g_main_context_iteration
#34 0x7f03feb803be base::MessagePumpGlib::Run()
#35 0x7f03febf4da7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run()
#36 0x7f03febb30ad base::RunLoop::RunWithTimeout()
#37 0x55ebe67b19c8 ChromeBrowserMainParts::MainMessageLoopRun()
#38 0x7f03fc6aa7e1 content::BrowserMainLoop::RunMainMessageLoopParts()
#39 0x7f03fc6ad263 content::BrowserMainRunnerImpl::Run()
#40 0x7f03fc6a763c content::BrowserMain()
#41 0x7f03fd246d39 content::ContentMainRunnerImpl::RunServiceManager()
#42 0x7f03fd246873 content::ContentMainRunnerImpl::Run()
#43 0x7f03ed4d0e94 service_manager::Main()
#44 0x7f03fd244a71 content::ContentMain()
#45 0x55ebe5dd11b3 ChromeMain
#46 0x7f03eefb2b97 __libc_start_main
#47 0x55ebe5dd102a _start
Task trace:
#0 0x7f03fb552e44 IPC::ChannelProxy::Context::OnMessageReceivedNoFilter()
#1 0x7f03fe9ed27d mojo::SimpleWatcher::Context::Notify()
IPC message handler context: 0xE9BCD400
Received signal 6
#0 0x7f03fec5c249 base::debug::CollectStackTrace()
#1 0x7f03feb54113 base::debug::StackTrace::StackTrace()
#2 0x7f03fec5bd41 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7f03f1632890 <unknown>
#4 0x7f03eefcfe97 gsignal
#5 0x7f03eefd1801 abort
#6 0x7f03fec5ab25 base::debug::BreakDebugger()
#7 0x7f03feb73686 logging::LogMessage::~LogMessage()
#8 0x7f03f961134a PrefService::GetBoolean()
#9 0x55ebe65732bf brave_shields::CookiePrefService::OnPreferenceChanged()
#10 0x7f03f960b85c PrefChangeRegistrar::InvokeUnnamedCallback()
#11 0x7f03f960bb32 PrefChangeRegistrar::OnPreferenceChanged()
#12 0x7f03f960e6e9 PrefNotifierImpl::FireObservers()
#13 0x7f03f961688a PrefValueStore::PrefStoreKeeper::OnPrefValueChanged()
#14 0x55ebe61f3a34 SegregatedPrefStore::AggregatingObserver::OnPrefValueChanged()
#15 0x7f03f96066b4 JsonPrefStore::ReportValueChanged()
#16 0x7f03f9605418 JsonPrefStore::RemoveValue()
#17 0x7f03f9613014 PrefService::ClearPref()
#18 0x55ebe7005718 content_settings::DefaultProvider::WriteToPref()
#19 0x55ebe70053e0 content_settings::DefaultProvider::SetWebsiteSetting()
#20 0x55ebe6ffd781 HostContentSettingsMap::SetWebsiteSettingCustomScope()
#21 0x55ebe6ffd582 HostContentSettingsMap::SetDefaultContentSetting()
#22 0x55ebe7aac243 settings::SiteSettingsHandler::HandleSetDefaultValueForContentType()
#23 0x7f03fcce2835 content::WebUIImpl::ProcessWebUIMessage()
#24 0x7f03fcce1669 content::WebUIImpl::OnWebUISend()
#25 0x7f03fcce14b7 IPC::MessageT<>::Dispatch<>()
#26 0x7f03fcce13ea content::WebUIImpl::OnMessageReceived()
#27 0x7f03fcc876d1 content::WebContentsImpl::OnMessageReceived()
#28 0x7f03fc8985c5 content::RenderFrameHostImpl::OnMessageReceived()
#29 0x7f03fcb1ff23 content::RenderProcessHostImpl::OnMessageReceived()
#30 0x7f03fb552f77 IPC::ChannelProxy::Context::OnDispatchMessage()
#31 0x7f03fb556008 base::internal::Invoker<>::RunOnce()
#32 0x7f03febd4668 base::TaskAnnotator::RunTask()
#33 0x7f03febf438a base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl()
#34 0x7f03febf3fc7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork()
#35 0x7f03feb806f7 base::(anonymous namespace)::WorkSourceDispatch()
#36 0x7f03f0bbf417 g_main_context_dispatch
#37 0x7f03f0bbf650 <unknown>
#38 0x7f03f0bbf6dc g_main_context_iteration
#39 0x7f03feb803be base::MessagePumpGlib::Run()
#40 0x7f03febf4da7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run()
#41 0x7f03febb30ad base::RunLoop::RunWithTimeout()
#42 0x55ebe67b19c8 ChromeBrowserMainParts::MainMessageLoopRun()
#43 0x7f03fc6aa7e1 content::BrowserMainLoop::RunMainMessageLoopParts()
#44 0x7f03fc6ad263 content::BrowserMainRunnerImpl::Run()
#45 0x7f03fc6a763c content::BrowserMain()
#46 0x7f03fd246d39 content::ContentMainRunnerImpl::RunServiceManager()
#47 0x7f03fd246873 content::ContentMainRunnerImpl::Run()
#48 0x7f03ed4d0e94 service_manager::Main()
#49 0x7f03fd244a71 content::ContentMain()
#50 0x55ebe5dd11b3 ChromeMain
#51 0x7f03eefb2b97 __libc_start_main
#52 0x55ebe5dd102a _start
  r8: 0000000000000000  r9: 00007ffc26957ba0 r10: 0000000000000008 r11: 0000000000000246
 r12: 00007ffc26958e78 r13: 00007ffc26957e08 r14: 00007ffc26958e70 r15: 00007ffc26958e68
  di: 0000000000000002  si: 00007ffc26957ba0  bp: 00007ffc26957df0  bx: 00007f03ef37d840
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007f03eefcfe97  sp: 00007ffc26957ba0
  ip: 00007f03eefcfe97 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.

Steps to Reproduce

  1. Change default brave cookie prefs

Actual result:

Crash

Expected result:

No crash

Reproduces how often:

Always

Brave version (brave://version info)

Version/Channel Information:

  • Can you reproduce this issue with the current release?
  • Can you reproduce this issue with the beta channel?
  • Can you reproduce this issue with the dev channel?
  • Can you reproduce this issue with the nightly channel?

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields?
  • Does the issue resolve itself when disabling Brave Rewards?
  • Is the issue reproducible on the latest version of Chrome?

Miscellaneous Information:

@LaurenWags
Copy link
Member

LaurenWags commented Oct 9, 2019

Verified passed with

Brave 0.70.111 Chromium: 77.0.3865.90 (Official Build) beta (64-bit)
Revision 58c425ba843df2918d9d4b409331972646c393dd-refs/branch-heads/3865@{#830}
OS macOS Version 10.13.6 (Build 17G5019)

Verification passed on

Brave 0.70.111 Chromium: 77.0.3865.90 (Official Build) beta (64-bit)
Revision 58c425ba843df2918d9d4b409331972646c393dd-refs/branch-heads/3865@{#830}
OS Ubuntu 18.04 LTS

Verification passed on

Brave 0.70.112 Chromium: 77.0.3865.90 (Official Build) beta (64-bit)
Revision 58c425ba843df2918d9d4b409331972646c393dd-refs/branch-heads/3865@{#830}
OS Windows 10 OS Version 1803 (Build 17134.1006)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants