Guest User

Untitled

a guest
Dec 3rd, 2021
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.70 KB | None | 0 0
  1. git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
  2. export PATH=/Users/codrut/depot_tools:$PATH
  3. mkdir chromium && cd chromium
  4. fetch --nohooks --no-history chromium
  5. cd src
  6. gclient sync
  7. gclient runhooks
  8. gn gen out/Chromium
  9.  
  10. Edit chromium/src/out/Chromium/args.gn
  11. symbol_level=0
  12. is_debug=false
  13. enable_nacl=false
  14. is_component_build=true
  15. blink_symbol_level=0
  16. autoninja -C out/Chromium chrome
  17. out/Chromium/Chromium.app/Contents/MacOS/Chromium
  18.  
  19. git rebase-update
  20. gclient sync
  21.  
  22. but launching the app is crashing:
  23.  
  24. ./out/Chromium/Chromium.app/Contents/MacOS/Chromium
  25. [69064:259:1130/140150.936048:ERROR:native_widget_mac.mm(410)] Not implemented reached in virtual const gfx::ImageSkia *views::NativeWidgetMac::GetWindowIcon()
  26. [69064:259:1130/140150.936063:ERROR:native_widget_mac.mm(414)] Not implemented reached in virtual const gfx::ImageSkia *views::NativeWidgetMac::GetWindowAppIcon()
  27. [69064:259:1130/140151.679548:FATAL:template_url_service.cc(1890)] Check failed: default_search_provider_. Add() to repair the DSE must never fail.
  28. 0 libbase.dylib 0x0000000104dc8e98 base::debug::CollectStackTrace(void**, unsigned long) + 12
  29. 1 libbase.dylib 0x0000000104cd26f8 base::debug::StackTrace::StackTrace() + 24
  30. 2 libbase.dylib 0x0000000104cf3540 logging::LogMessage::~LogMessage() + 188
  31. 3 libbase.dylib 0x0000000104cf426c logging::LogMessage::~LogMessage() + 12
  32. 4 libbase.dylib 0x0000000104cc01a0 logging::CheckError::~CheckError() + 36
  33. 5 libchrome_dll.dylib 0x000000010ad9c478 TemplateURLService::ApplyDefaultSearchChangeNoMetrics(TemplateURLData const*, DefaultSearchManager::Source) + 972
  34. 6 libchrome_dll.dylib 0x000000010ad974b8 TemplateURLService::ChangeToLoadedState() + 112
  35. 7 libchrome_dll.dylib 0x000000010ad97788 TemplateURLService::OnWebDataServiceRequestDone(int, std::__Cr::unique_ptr<WDTypedResult, std::__Cr::default_delete<WDTypedResult> >) + 196
  36. 8 libwebdata_common.dylib 0x0000000108d3cdc8 WebDataRequestManager::RequestCompletedOnThread(std::__Cr::unique_ptr<WebDataRequest, std::__Cr::default_delete<WebDataRequest> >, std::__Cr::unique_ptr<WDTypedResult, std::__Cr::default_delete<WDTypedResult> >) + 80
  37. 9 libwebdata_common.dylib 0x0000000108d3da64 base::internal::Invoker<base::internal::BindState<void (WebDataRequestManager::*)(std::__Cr::unique_ptr<WebDataRequest, std::__Cr::default_delete<WebDataRequest> >, std::__Cr::unique_ptr<WDTypedResult, std::__Cr::default_delete<WDTypedResult> >), scoped_refptr<WebDataRequestManager>, std::__Cr::unique_ptr<WebDataRequest, std::__Cr::default_delete<WebDataRequest> >, std::__Cr::unique_ptr<WDTypedResult, std::__Cr::default_delete<WDTypedResult> > >, void ()>::RunOnce(base::internal::BindStateBase*) + 64
  38. 10 libbase.dylib 0x0000000104d5f6bc base::TaskAnnotator::RunTaskImpl(base::PendingTask&) + 320
  39. 11 libbase.dylib 0x0000000104d80fe8 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*) + 784
  40. 12 libbase.dylib 0x0000000104d808fc base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() + 92
  41. 13 libbase.dylib 0x0000000104de9e50 base::MessagePumpCFRunLoopBase::RunWork() + 92
  42. 14 libbase.dylib 0x0000000104dde470 base::mac::CallWithEHFrame(void () block_pointer) + 16
  43. 15 libbase.dylib 0x0000000104de9894 base::MessagePumpCFRunLoopBase::RunWorkSource(void*) + 68
  44. 16 CoreFoundation 0x00000001b3320bbc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
  45. 17 CoreFoundation 0x00000001b3320b08 __CFRunLoopDoSource0 + 208
  46. 18 CoreFoundation 0x00000001b33207f4 __CFRunLoopDoSources0 + 268
  47. 19 CoreFoundation 0x00000001b331f168 __CFRunLoopRun + 820
  48. 20 CoreFoundation 0x00000001b331e694 CFRunLoopRunSpecific + 600
  49. 21 HIToolbox 0x00000001bbe94990 RunCurrentEventLoopInMode + 292
  50. 22 HIToolbox 0x00000001bbe94704 ReceiveNextEventCommon + 552
  51. 23 HIToolbox 0x00000001bbe944c4 _BlockUntilNextEventMatchingListInModeWithFilter + 72
  52. 24 AppKit 0x00000001b5e73aec _DPSNextEvent + 844
  53. 25 AppKit 0x00000001b5e72390 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1332
  54. 26 libchrome_dll.dylib 0x000000010a420300 __71-[BrowserCrApplication nextEventMatchingMask:untilDate:inMode:dequeue:]_block_invoke + 64
  55. 27 libbase.dylib 0x0000000104dde470 base::mac::CallWithEHFrame(void () block_pointer) + 16
  56. 28 libchrome_dll.dylib 0x000000010a420264 -[BrowserCrApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
  57. 29 AppKit 0x00000001b5e643b0 -[NSApplication run] + 596
  58. 30 libbase.dylib 0x0000000104deace8 base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) + 312
  59. 31 libbase.dylib 0x0000000104de91e8 base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 140
  60. 32 libbase.dylib 0x0000000104d81aa8 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) + 584
  61. 33 libbase.dylib 0x0000000104d380a4 base::RunLoop::Run(base::Location const&) + 752
  62. 34 libbase.dylib 0x0000000104d38b24 base::RunLoop::RunUntilIdle() + 88
  63. 35 libcontent.dylib 0x0000000111dc6564 content::BrowserMainLoop::RunMainMessageLoop() + 80
  64. 36 libcontent.dylib 0x0000000111dc7e9c content::BrowserMainRunnerImpl::Run() + 88
  65. 37 libcontent.dylib 0x0000000111dc4010 content::BrowserMain(content::MainFunctionParams) + 300
  66. 38 libcontent.dylib 0x00000001127a9630 content::RunBrowserProcessMain(content::MainFunctionParams, content::ContentMainDelegate*) + 264
  67. 39 libcontent.dylib 0x00000001127aabb8 content::ContentMainRunnerImpl::RunBrowser(content::MainFunctionParams, bool) + 1132
  68. 40 libcontent.dylib 0x00000001127aa664 content::ContentMainRunnerImpl::Run() + 540
  69. 41 libcontent.dylib 0x00000001127a86a8 content::RunContentProcess(content::ContentMainParams, content::ContentMainRunner*) + 580
  70. 42 libcontent.dylib 0x00000001127a9098 content::ContentMain(content::ContentMainParams) + 68
  71. 43 libchrome_dll.dylib 0x000000010987f26c ChromeMain + 276
  72. 44 Chromium 0x00000001044707ac main + 284
  73. 45 dyld 0x000000010464d0f4 start + 520
  74. Task trace:
  75. 0 libwebdata_common.dylib 0x0000000108d3ccc8 WebDataRequestManager::RequestCompleted(std::__Cr::unique_ptr<WebDataRequest, std::__Cr::default_delete<WebDataRequest> >, std::__Cr::unique_ptr<WDTypedResult, std::__Cr::default_delete<WDTypedResult> >) + 256
  76. 1 libchrome_dll.dylib 0x000000010ad92e04 KeywordWebDataService::GetKeywords(WebDataServiceConsumer*) + 116
  77. Crash keys:
  78. "ui_scheduler_async_stack" = "0x108D3CCC8 0x10AD92E04"
  79. "extension-1" = "nkbihfbeogaeaoehlefnkodbefgpgknn"
  80. "num-extensions" = "1"
  81. "switch-1" = "--enable-features=PdfXfaSupport"
  82. "io_scheduler_async_stack" = "0x105E0D908 0x10AB164E4"
  83. "num-switches" = "3"
  84. "osarch" = "arm64"
  85. "pid" = "69064"
  86. "ptype" = "browser"
  87.  
  88. [1130/140151.964227:WARNING:crash_report_exception_handler.cc(235)] UniversalExceptionRaise: (os/kern) failure (5)
  89. [69085:259:1130/140151.966932:FATAL:field_trial.cc(777)] Check failed: result.
  90. 0 libbase.dylib 0x0000000104e24e98 base::debug::CollectStackTrace(void**, unsigned long) + 12
  91. 1 libbase.dylib 0x0000000104d2e6f8 base::debug::StackTrace::StackTrace() + 24
  92. 2 libbase.dylib 0x0000000104d4f540 logging::LogMessage::~LogMessage() + 188
  93. 3 libbase.dylib 0x0000000104d5026c logging::LogMessage::~LogMessage() + 12
  94. 4 libbase.dylib 0x0000000104d1c1a0 logging::CheckError::~CheckError() + 36
  95. 5 libbase.dylib 0x0000000104d61448 base::FieldTrialList::CreateTrialsFromCommandLine(base::CommandLine const&, int) + 324
  96. 6 libcontent.dylib 0x00000001118ea984 content::InitializeFieldTrialAndFeatureList() + 52
  97. 7 libcontent.dylib 0x0000000112706584 content::ContentMainRunnerImpl::Run() + 316
  98. 8 libcontent.dylib 0x00000001127046a8 content::RunContentProcess(content::ContentMainParams, content::ContentMainRunner*) + 580
  99. 9 libcontent.dylib 0x0000000112705098 content::ContentMain(content::ContentMainParams) + 68
  100. 10 libchrome_dll.dylib 0x00000001097db26c ChromeMain + 276
  101. 11 Chromium Helper (Renderer) 0x00000001043fc8e0 main + 360
  102. 12 dyld 0x00000001047a50f4 start + 520
  103. Crash keys:
  104. "switch-13" = "--seatbelt-client=71"
  105. "switch-12" = "--enable-features=PdfXfaSupport"
  106. "switch-11" = "--field-trial-handle=1718379636,16656628431460894750,10653102558"
  107. "switch-10" = "--shared-files"
  108. "switch-9" = "--launch-time-ticks=120651666250"
  109. "switch-8" = "--renderer-client-id=6"
  110. "switch-7" = "--enable-main-frame-before-activation"
  111. "switch-6" = "--enable-gpu-memory-buffer-compositor-resources"
  112. "switch-5" = "--enable-zero-copy"
  113. "switch-4" = "--num-raster-threads=4"
  114. "switch-3" = "--lang=en-GB"
  115. "switch-2" = "--display-capture-permissions-policy-allowed"
  116. "switch-1" = "--extension-process"
  117. "num-switches" = "14"
  118. "osarch" = "arm64"
  119. "pid" = "69085"
  120. "ptype" = "renderer"
  121.  
  122. [69076:12035:1130/140151.973754:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -3
  123. zsh: trace trap ./out/Chromium/Chromium.app/Contents/MacOS/Chromium
Add Comment
Please, Sign In to add comment