Bug in chrome browser when open pdf
Reported by
gidb...@gmail.com,
Dec 7 2017
|
|||||
Issue descriptionChrome Versio: 62.0.3202.94 URL : http://www.mrsk-sib.ru/files/storage/00/03/66/65c52d.pdf Behavior in Firefox 3.x/4.x: working When the file is opened and when it is refreshed with Ctrl-F5 (or F5), then the file is not visible. Repeat some 10-15 times.
,
Dec 8 2017
I can't reproduce this on 64.0.3278.0 on Linux. With 62.0.3202.94 on Linux, even the initial load is blank. No need to reload. The reverse bisect from comment 1 is incorrect. r512536 couldn't possibly make a difference here.
,
Dec 9 2017
Since the bug happens in a flaky manner, bisecting is more difficult than normal. I think pressing ctrl + F5 can trigger the bug slightly more often.
,
Dec 9 2017
I've definitely observed failure at r512592. Since r512592 is known to exhibit this problem, I retried at that revision and it took 27 reloads to reproduce the issue again. Thus bisecting this is really unreliable. Trying this with a debug build, I got a crash in http_cache.cc after reloading ~10 times: [142347:142390:1208/165910.846116:FATAL:http_cache.cc(897)] Check failed: !entry->writers. #0 0x7f34f80b6c0d base::debug::StackTrace::StackTrace() #1 0x7f34f80b503c base::debug::StackTrace::StackTrace() #2 0x7f34f813cbfa logging::LogMessage::~LogMessage() #3 0x7f34f5d1d509 net::HttpCache::DoneWithEntry() #4 0x7f34f5d34b3f net::HttpCache::Transaction::DoneWithEntry() #5 0x7f34f5d34604 net::HttpCache::Transaction::~Transaction() #6 0x7f34f5d34b79 net::HttpCache::Transaction::~Transaction() #7 0x7f34f62d68b0 net::URLRequestHttpJob::DestroyTransaction() #8 0x7f34f62d660a net::URLRequestHttpJob::Kill() #9 0x7f34f62ac65a net::URLRequest::DoCancel() #10 0x7f34f62a4f4e net::URLRequest::CancelWithError() #11 0x7f34f29c0bb5 content::ResourceLoader::CancelRequestInternal() #12 0x7f34f29c139c content::ResourceLoader::OutOfBandCancel() #13 0x7f34f29bcae2 content::ResourceHandler::OutOfBandCancel() So I wonder if that may be the issue here. Calling it a day. I've spent a hour on and off hitting reload repeatedly.
,
Dec 9 2017
Also, I tried saving the PDF to /tmp and then loading file:///tmp/65c52d.pdf, and I have never seen that fail. So I suspect this is a bug in the network stack.
,
Dec 11 2017
(I was OoO Friday; I concur with c#2.)
,
Dec 11 2017
Assigning to myself based on the stack trace.
,
Dec 11 2017
Issue 784458 has been merged into this issue.
,
Dec 13 2017
Fix under review at: https://chromium-review.googlesource.com/c/chromium/src/+/825802
,
Dec 13 2017
Great. Thanks for looking into this.
,
Dec 14 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/7ed8d6ebc333c49e3abd5e185a3377a87877b98c commit 7ed8d6ebc333c49e3abd5e185a3377a87877b98c Author: Shivani Sharma <shivanisha@chromium.org> Date: Thu Dec 14 23:28:39 2017 HttpCache - Writers and Readers should be mutually exclusive. There is a combination of simultaneous transactions for an entry, namely a READ transaction followed by a READ-WRITE transaction that was violating the mutual exclusiveness of Readers and Writers. This violation was happening even less frequently because the second transaction being READ-WRITE can only happen for a range request. This CL fixes the issue. HttpCache.RangeGET_DoNotCreateWritersWhenReaderExists TEST: net_unittests --gtest_filter= Bug: 792818 Change-Id: I3a98fb8de2cd521210077e4baf9460fe91232eec Reviewed-on: https://chromium-review.googlesource.com/825802 Reviewed-by: Randy Smith <rdsmith@chromium.org> Commit-Queue: Shivani Sharma <shivanisha@chromium.org> Cr-Commit-Position: refs/heads/master@{#524229} [modify] https://crrev.com/7ed8d6ebc333c49e3abd5e185a3377a87877b98c/net/http/http_cache.cc [modify] https://crrev.com/7ed8d6ebc333c49e3abd5e185a3377a87877b98c/net/http/http_cache_unittest.cc
,
Dec 15 2017
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by sc00335...@techmahindra.com
, Dec 8 2017Components: Internals>Plugins>PDF
Labels: -Type-Bug -Pri-3 hasbisect-per-revision Triaged-ET ReleaseBlock-Stable M-64 Needs-Triage-M62 OS-Linux OS-Mac OS-Windows Pri-1 Type-Bug-Regression
Owner: wolenetz@chromium.org
Status: Assigned (was: Unconfirmed)