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

Crash in latest master build #8132

Closed
jonathanKingston opened this issue Feb 7, 2020 · 2 comments · Fixed by brave/brave-core#4558
Closed

Crash in latest master build #8132

jonathanKingston opened this issue Feb 7, 2020 · 2 comments · Fixed by brave/brave-core#4558

Comments

@jonathanKingston
Copy link

So I am getting the following crash:

[3599:3599:0207/211544.854965:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
[3573:3614:0207/211546.639059:ERROR:ads_service_impl.cc(211)] Failed to read file: /home/jonathan/.config/BraveSoftware/Brave-Browser-Development/Default/ads_service/notifications.json
[3608:1:0207/211546.639374:ERROR:notifications.cc(301)] Failed to load notifications state, resetting to default values
[3573:3614:0207/211546.639709:ERROR:ads_service_impl.cc(211)] Failed to read file: /home/jonathan/.config/BraveSoftware/Brave-Browser-Development/Default/ads_service/ad_conversions.json
[3608:1:0207/211546.639890:ERROR:ad_conversion_tracking.cc(279)] Failed to load ad conversions state, resetting to default values
[3573:3593:0207/211547.358778:ERROR:bundle_state_database.cc(567)] DB: Error migrating database from v3 to v4
[3573:3593:0207/211547.358809:FATAL:bundle_state_database.cc(248)] Check failed: initialized. 
#0 0x7f709bb67869 base::debug::CollectStackTrace()
#1 0x7f709ba42173 base::debug::StackTrace::StackTrace()
#2 0x7f709ba647a4 logging::LogMessage::~LogMessage()
#3 0x55ad957ee2f7 brave_ads::BundleStateDatabase::SaveBundleState()
#4 0x55ad957e6607 brave_ads::(anonymous namespace)::SaveBundleStateOnFileTaskRunner()
#5 0x55ad957ea396 base::internal::Invoker<>::RunOnce()
#6 0x55ad954aba10 base::internal::ReturnAsParamAdapter<>()
#7 0x55ad952035a7 base::internal::Invoker<>::RunOnce()
#8 0x7f709bb1abcd base::(anonymous namespace)::PostTaskAndReplyRelay::RunTaskAndPostReply()
#9 0x7f709bb1b089 base::internal::Invoker<>::RunOnce()
#10 0x7f709bad3342 base::TaskAnnotator::RunTask()
#11 0x7f709bb0a8f2 base::internal::TaskTracker::RunBlockShutdown()
#12 0x7f709bb0a076 base::internal::TaskTracker::RunTask()
#13 0x7f709bb83894 base::internal::TaskTrackerPosix::RunTask()
#14 0x7f709bb09626 base::internal::TaskTracker::RunAndPopNextTask()
#15 0x7f709bb1734e base::internal::WorkerThread::RunWorker()
#16 0x7f709bb170c4 base::internal::WorkerThread::RunPooledWorker()
#17 0x7f709bb843a8 base::(anonymous namespace)::ThreadFunc()
#18 0x7f708cce0669 start_thread
#19 0x7f708c57a323 clone
Task trace:
#0 0x55ad957e64d4 brave_ads::AdsServiceImpl::SaveBundleState()
#1 0x7f709b6c41ad mojo::SimpleWatcher::Context::Notify()
IPC message handler context: 0x01C9E278

Received signal 6
#0 0x7f709bb67869 base::debug::CollectStackTrace()
#1 0x7f709ba42173 base::debug::StackTrace::StackTrace()
#2 0x7f709bb67321 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7f708ccec540 <unknown>
#4 0x7f708c49e3eb gsignal
#5 0x7f708c47d899 abort
#6 0x7f709bb65f75 base::debug::BreakDebugger()
#7 0x7f709ba64cea logging::LogMessage::~LogMessage()
#8 0x55ad957ee2f7 brave_ads::BundleStateDatabase::SaveBundleState()
#9 0x55ad957e6607 brave_ads::(anonymous namespace)::SaveBundleStateOnFileTaskRunner()
#10 0x55ad957ea396 base::internal::Invoker<>::RunOnce()
#11 0x55ad954aba10 base::internal::ReturnAsParamAdapter<>()
#12 0x55ad952035a7 base::internal::Invoker<>::RunOnce()
#13 0x7f709bb1abcd base::(anonymous namespace)::PostTaskAndReplyRelay::RunTaskAndPostReply()
#14 0x7f709bb1b089 base::internal::Invoker<>::RunOnce()
#15 0x7f709bad3342 base::TaskAnnotator::RunTask()
#16 0x7f709bb0a8f2 base::internal::TaskTracker::RunBlockShutdown()
#17 0x7f709bb0a076 base::internal::TaskTracker::RunTask()
#18 0x7f709bb83894 base::internal::TaskTrackerPosix::RunTask()
#19 0x7f709bb09626 base::internal::TaskTracker::RunAndPopNextTask()
#20 0x7f709bb1734e base::internal::WorkerThread::RunWorker()
#21 0x7f709bb170c4 base::internal::WorkerThread::RunPooledWorker()
#22 0x7f709bb843a8 base::(anonymous namespace)::ThreadFunc()
#23 0x7f708cce0669 start_thread
#24 0x7f708c57a323 clone
  r8: 0000000000000000  r9: 00007f70780552a0 r10: 0000000000000008 r11: 0000000000000246
 r12: 00007f7078055500 r13: aaaaaaaaaaaaaaaa r14: 00007f70780565b8 r15: 00002564f996ca00
  di: 0000000000000002  si: 00007f70780552a0  bp: 00007f70780554f0  bx: 00007f7078058700
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007f708c49e3eb  sp: 00007f70780552a0
  ip: 00007f708c49e3eb 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.
null
null
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node ./scripts/commands.js start "--enable-ui-devtools" "--force-fieldtrial-params=AutoupgradeMixedContent.Enabled:mode/no-images"`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/jonathan/.npm/_logs/2020-02-07T21_15_47_402Z-debug.log
  • brave_browser: 1.6.11 fb539af
  • brave_core: 1.6.11 0a6249e
  • chrome: 86f7c91cf23bceaaeebbd6a0d1d46626ac68d924
@jonathanKingston
Copy link
Author

This appears to be an issue from #7888 migration changes.

@tmancey tmancey self-assigned this Feb 7, 2020
@tmancey tmancey added bug priority/P1 A very extremely bad problem. We might push a hotfix for it. feature/ads QA/Yes labels Feb 7, 2020
@tmancey tmancey added this to the 1.6.x - Nightly milestone Feb 7, 2020
@bbondy bbondy modified the milestones: 1.6.x - Beta, 1.7.x - Dev Mar 10, 2020
@btlechowski
Copy link

btlechowski commented Mar 24, 2020

Verification passed on

Brave 1.7.70 Chromium: 80.0.3987.149 (Official Build) dev (64-bit)
Revision 5f4eb224680e5d7dca88504586e9fd951840cac6-refs/branch-heads/3987_137@{#16}
OS Ubuntu 18.04 LTS

Verified test plan from brave/brave-core#4558. Watched an ad on 1.5.x and upgraded to 1.7.x. No crash. No DB: Error migrating database.

Verification passed on

Brave 1.7.71 Chromium: 80.0.3987.149 (Official Build) dev (64-bit)
Revision 5f4eb224680e5d7dca88504586e9fd951840cac6-refs/branch-heads/3987_137@{#16}
OS Windows 10 OS Version 1803 (Build 17134.1006)

Verified passed with

Brave 1.7.78 Chromium: 80.0.3987.149 (Official Build) dev (64-bit)
Revision 5f4eb224680e5d7dca88504586e9fd951840cac6-refs/branch-heads/3987_137@{#16}
OS macOS Version 10.14.6 (Build 18G3020)

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

Successfully merging a pull request may close this issue.

6 participants