New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 755738 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

chrome --headless nightly is missing resources

Project Member Reported by pfeldman@chromium.org, Aug 15 2017

Issue description

1) download chromium from https://download-chromium.appspot.com/
2) open some page, see the crash.

copying headless_lib.pak into the chromium folder fixes it.

Received signal 6
#0 0x5612f7339c17 base::debug::StackTrace::StackTrace()
#1 0x5612f733978f base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7f54fd5ea330 <unknown>
#3 0x7f54f7531c37 gsignal
#4 0x7f54f7535028 abort
#5 0x5612f73387c2 base::debug::BreakDebugger()
#6 0x5612f734dd8c logging::LogMessage::~LogMessage()
#7 0x5612f90c7692 content::BlinkPlatformImpl::GetDataResource()
#8 0x5612fa427603 blink::GetDataResourceAsASCIIString()
#9 0x5612faec41e4 blink::CSSDefaultStyleSheets::EnsureDefaultStyleSheetsForElement()
#10 0x5612fa6388da blink::StyleEngine::EnsureUAStyleForElement()
#11 0x5612fa5848a0 blink::StyleResolver::StyleForElement()
#12 0x5612fa5e8478 blink::Element::StyleForLayoutObject()
#13 0x5612fa5fe3e6 blink::LayoutTreeBuilderForElement::Style()
#14 0x5612fa5fe39c blink::LayoutTreeBuilderForElement::ShouldCreateLayoutObject()
#15 0x5612fa5e7a7e blink::Element::AttachLayoutTree()
#16 0x5612fa756889 blink::HTMLMediaElement::AttachLayoutTree()
#17 0x5612fa7758e9 blink::HTMLVideoElement::AttachLayoutTree()
#18 0x5612fa5b1a7b blink::ContainerNode::AttachLayoutTree()
#19 0x5612fa5e7ba1 blink::Element::AttachLayoutTree()
#20 0x5612fa5b1a7b blink::ContainerNode::AttachLayoutTree()
#21 0x5612fa5e7ba1 blink::Element::AttachLayoutTree()
#22 0x5612fa5b1a7b blink::ContainerNode::AttachLayoutTree()
#23 0x5612fa5e7ba1 blink::Element::AttachLayoutTree()
#24 0x5612fa5e99d4 blink::Element::RebuildLayoutTree()
#25 0x5612fa5c5249 blink::Document::UpdateStyle()
#26 0x5612fa5c23c5 blink::Document::UpdateStyleAndLayoutTree()
#27 0x5612fa5d2261 blink::Document::FinishedParsing()
#28 0x5612fa7962c9 blink::HTMLDocumentParser::PrepareToStopParsing()
#29 0x5612fa797ec8 blink::HTMLDocumentParser::ProcessTokenizedChunkFromBackgroundParser()
#30 0x5612fa7968aa blink::HTMLDocumentParser::PumpPendingSpeculations()
#31 0x5612f911b009 blink::TaskHandle::Runner::Run()
#32 0x5612f733a34b base::debug::TaskAnnotator::RunTask()
#33 0x5612f6f6b26e blink::scheduler::TaskQueueManager::ProcessTaskFromWorkQueue()
#34 0x5612f6f69459 blink::scheduler::TaskQueueManager::DoWork()
#35 0x5612f733a34b base::debug::TaskAnnotator::RunTask()
#36 0x5612f73523eb base::MessageLoop::RunTask()
#37 0x5612f735278b base::MessageLoop::DeferOrRunPendingTask()
#38 0x5612f7352a64 base::MessageLoop::DoWork()
#39 0x5612f7353afa base::MessagePumpDefault::Run()
#40 0x5612f7370c90 base::RunLoop::Run()
#41 0x5612f974463c content::RendererMain()
#42 0x5612f7044872 content::RunZygote()
#43 0x5612f704595d content::ContentMainRunnerImpl::Run()
#44 0x5612f704d474 service_manager::Main()
#45 0x5612f70445c2 content::ContentMain()
#46 0x5612f9ad7365 headless::(anonymous namespace)::RunContentMain()
#47 0x5612f9ad7210 headless::RunChildProcessIfNeeded()
#48 0x5612f704a8b6 headless::HeadlessShellMain()
#49 0x5612f5c978ed ChromeMain

 
Project Member

Comment 1 by bugdroid1@chromium.org, Aug 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/74ccc9ea10c5f94bcdddb1e0dc052f3f6fdcc762

commit 74ccc9ea10c5f94bcdddb1e0dc052f3f6fdcc762
Author: Pavel Feldman <pfeldman@chromium.org>
Date: Tue Aug 15 23:29:38 2017

Headless: load chrome_100, chrome_200 pak files in addition to resources.pak when --headless is running.

Bug:  755738 
Change-Id: I57ba12413e904ec266b5b683b9f489db2e466ec4
Reviewed-on: https://chromium-review.googlesource.com/616122
Reviewed-by: David Vallet <dvallet@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Pavel Feldman <pfeldman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#494602}
[modify] https://crrev.com/74ccc9ea10c5f94bcdddb1e0dc052f3f6fdcc762/headless/lib/headless_content_main_delegate.cc

Cc: kkaluri@chromium.org
Labels: Needs-Feedback
Tested this issue on Ubuntu 14.04 with chromium version #62.0.3188.0

Launched headless chrome with following command  "./chrome --headless --screenshot https://www.google.co.in"  and didn't see any errors in the terminal and chromium has navigated to google.co.in. Attaching the screenshot for reference.

pfeldman@ could you confirm whether this is the right way to test this scenario, if not please help us with steps to verify this issue.

Thank You...




screenshot.png
27.5 KB View Download
Components: Internals>Headless
Status: Fixed (was: Assigned)
It seems like this is fixed -- please reopen if that's not accurate.

Sign in to add a comment