New issue
Advanced search Search tips

Issue 862469 link

Starred by 1 user

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

DCHECK failure in MojoAsyncResourceHandler::CalculateRecentlyReceivedBytes()

Project Member Reported by thestig@chromium.org, Jul 11

Issue description

Chrome Version: r574006 ToT
OS: Linux

What steps will reproduce the problem?
(1) Build a DCHECK enabled browser_tests
(2) Move the files in chrome/test/data/pdf out of the way.
(3) Put http://www.netl.doe.gov/publications/proceedings/03/ubc/presentations/Goeckner-pres.pdf in chrome/test/data/pdf
(4) Run: browser_tests --gtest_filter=PDFTestFiles/PDFExtensionLoadTest.Load/*

What is the expected result?

Test passes

What happens instead?

Test crashes with a DCHECK failure.

[ RUN      ] PDFTestFiles/PDFExtensionLoadTest.Load/1
...
[219437:219447:0710/180819.652565:FATAL:mojo_async_resource_handler.cc(628)] Check failed: 0 <= bytes_to_report (0 vs. -1347584)
#0 0x7f11267474ad base::debug::StackTrace::StackTrace()
#1 0x7f112645536c base::debug::StackTrace::StackTrace()
#2 0x7f11264c43aa logging::LogMessage::~LogMessage()
#3 0x7f111deaa9ca content::MojoAsyncResourceHandler::CalculateRecentlyReceivedBytes()
#4 0x7f111deabb37 content::MojoAsyncResourceHandler::OnResponseCompleted()
#5 0x7f111de9c591 content::LayeredResourceHandler::OnResponseCompleted()
#6 0x7f111de95391 content::InterceptingResourceHandler::OnResponseCompleted()
#7 0x7f111de9c591 content::LayeredResourceHandler::OnResponseCompleted()
#8 0x7f111de8a08a content::CrossSiteDocumentResourceHandler::OnResponseCompleted()
#9 0x7f111dea22f0 content::MimeSniffingResourceHandler::OnResponseCompleted()
#10 0x7f111de9c591 content::LayeredResourceHandler::OnResponseCompleted()
#11 0x7f111df0d102 content::ResourceLoader::ResponseCompleted()
#12 0x7f111df0def9 content::ResourceLoader::OnReadCompleted()
#13 0x7f1125b930ab net::URLRequest::NotifyReadCompleted()
...

[1/1] PDFTestFiles/PDFExtensionLoadTest.Load/1 (CRASHED)
1 test crashed:
    PDFTestFiles/PDFExtensionLoadTest.Load/1 (../../chrome/browser/pdf/pdf_extension_test.cc:391)

 
Owner: rajendrant@chromium.org
Status: Assigned (was: Untriaged)
Status: Started (was: Assigned)

Sign in to add a comment