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

Issue 621206 link

Starred by 3 users

Issue metadata

Status: Verified
Owner:
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

Not able to access offline copy of news.yahoo.com

Project Member Reported by bustamante@chromium.org, Jun 17 2016

Issue description

Version: 53.0.2770.0
OS: Android L

I navitgated to news.yahoo.com and see the offline copy created (699Kb) but after going offline and attempting to access the page.  I get an offline error page, along with the "Offline" tag in the omnibox

See the attached screenshot.

What steps will reproduce the problem?
(1) Open Chrome 53.0.2770.0 with offline pages enabled
(2) Navigate to news.yahoo.com while online
(3) Go offline and navigate to news.yahoo.com again

What is the expected output?

The offline copy should load.

What do you see instead?

An offline error page, with the offline tag in the omnibox.

Please use labels and text to provide additional information.

 
Screenshot_2016-06-17-14-20-30.png
79.9 KB View Download
Cc: dim...@chromium.org
 Issue 620893  has been merged into this issue.
This is a duplicate of another bug:  620893 , however this bug report is better so I will dup that one.

I also have checked that an actual archive file is in fact created, so this is an offline copy of the error page.

Suspect last N not checking error codes?

Labels: -Pri-2 Pri-1

Comment 4 by romax@chromium.org, Jun 23 2016

I looked into the issue a little bit, seems like it took the error page as a snapshot and showed it, which should be fixed in 615578. But we would still not see the offline copy, since on many pages (and this one as well) the serialization of MHTML file would fail/crash, and no page would be saved.
Are you able to produce a crash dump and provide something that can be investigated? That would be very useful.
#4, can you explain why this page would fail/crash?

Comment 7 by romax@chromium.org, Jun 23 2016

signal 11 (SIGSEGV), code 1, fault addr 0xfbadbeef in tid 5969 (CrRendererMain)
pid: 5954, tid: 5969, name: CrRendererMain  >>> org.chromium.chrome:sandboxed_process4 <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xfbadbeef
     r0 0000001f  r1 00000000  r2 00004001  r3 00000001
     r4 00000000  r5 98e63cb0  r6 42a69b80  r7 fbadbeef
     r8 00000000  r9 479ee2c8  sl 98e63cb0  fp b38c8dbc
     ip 9d552f14  sp b38c8c78  lr 9c75f4ef  pc 9c75f4ee

Stack Trace:
  RELADDR   FUNCTION                                                                                                                                                                                                                                                                                                                                                                                                                     FILE:LINE
  009544ee  blink::FrameSerializer::serializeCSSRule(blink::CSSRule*)                                                                                                                                                                                                                                                                                                                                                                    /usr/local/google/work/chromium/src/third_party/WebKit/Source/core/frame/FrameSerializer.cpp:381
  009541d1  blink::FrameSerializer::serializeCSSStyleSheet(blink::CSSStyleSheet&, blink::KURL const&)                                                                                                                                                                                                                                                                                                                                    /usr/local/google/work/chromium/src/third_party/WebKit/Source/core/frame/FrameSerializer.cpp:324
  00953e29  blink::FrameSerializer::serializeFrame(blink::LocalFrame const&)                                                                                                                                                                                                                                                                                                                                                             /usr/local/google/work/chromium/src/third_party/WebKit/Source/core/frame/FrameSerializer.cpp:297
  000b68d3  blink::WebFrameSerializer::generateMHTMLParts(blink::WebString const&, blink::WebLocalFrame*, blink::WebFrameSerializer::MHTMLPartsGenerationDelegate*)                                                                                                                                                                                                                                                                      /usr/local/google/work/chromium/src/third_party/WebKit/Source/web/WebFrameSerializer.cpp:220
  00b25325  content::RenderFrameImpl::OnSerializeAsMHTML(FrameMsg_SerializeAsMHTML_Params const&)                                                                                                                                                                                                                                                                                                                                        /usr/local/google/work/chromium/src/content/renderer/render_frame_impl.cc:5138
  v------>  void base::DispatchToMethodImpl<content::RenderFrameImpl*, void (content::RenderFrameImpl::*)(FrameMsg_SerializeAsMHTML_Params const&), FrameMsg_SerializeAsMHTML_Params, 0u>(content::RenderFrameImpl* const&, void (content::RenderFrameImpl::*)(FrameMsg_SerializeAsMHTML_Params const&), std::__1::tuple<FrameMsg_SerializeAsMHTML_Params> const&, base::IndexSequence<0u>)                                              /usr/local/google/work/chromium/src/base/tuple.h:126
  v------>  void base::DispatchToMethod<content::RenderFrameImpl*, void (content::RenderFrameImpl::*)(FrameMsg_SerializeAsMHTML_Params const&), FrameMsg_SerializeAsMHTML_Params>(content::RenderFrameImpl* const&, void (content::RenderFrameImpl::*)(FrameMsg_SerializeAsMHTML_Params const&), std::__1::tuple<FrameMsg_SerializeAsMHTML_Params> const&)                                                                               /usr/local/google/work/chromium/src/base/tuple.h:133
  v------>  void IPC::DispatchToMethod<content::RenderFrameImpl, void (content::RenderFrameImpl::*)(FrameMsg_SerializeAsMHTML_Params const&), void, std::__1::tuple<FrameMsg_SerializeAsMHTML_Params> >(content::RenderFrameImpl*, void (content::RenderFrameImpl::*)(FrameMsg_SerializeAsMHTML_Params const&), void*, std::__1::tuple<FrameMsg_SerializeAsMHTML_Params> const&)                                                         /usr/local/google/work/chromium/src/ipc/ipc_message_templates.h:26
  00b25199  bool IPC::MessageT<FrameMsg_SerializeAsMHTML_Meta, std::__1::tuple<FrameMsg_SerializeAsMHTML_Params>, void>::Dispatch<content::RenderFrameImpl, content::RenderFrameImpl, void, void (content::RenderFrameImpl::*)(FrameMsg_SerializeAsMHTML_Params const&)>(IPC::Message const*, content::RenderFrameImpl*, content::RenderFrameImpl*, void*, void (content::RenderFrameImpl::*)(FrameMsg_SerializeAsMHTML_Params const&))  /usr/local/google/work/chromium/src/ipc/ipc_message_templates.h:121
  00b203f7  content::RenderFrameImpl::OnMessageReceived(IPC::Message const&)                                                                                                                                                                                                                                                                                                                                                             /usr/local/google/work/chromium/src/content/renderer/render_frame_impl.cc:1554
  00021ac7  IPC::MessageRouter::RouteMessage(IPC::Message const&)                                                                                                                                                                                                                                                                                                                                                                        /usr/local/google/work/chromium/src/ipc/message_router.cc:52
  00420b9b  content::ChildThreadImpl::ChildThreadMessageRouter::RouteMessage(IPC::Message const&)                                                                                                                                                                                                                                                                                                                                        /usr/local/google/work/chromium/src/content/child/child_thread_impl.cc:322
  00021aa5  IPC::MessageRouter::OnMessageReceived(IPC::Message const&)                                                                                                                                                                                                                                                                                                                                                                   /usr/local/google/work/chromium/src/ipc/message_router.cc:44
  00422247  content::ChildThreadImpl::OnMessageReceived(IPC::Message const&)                                                                                                                                                                                                                                                                                                                                                             /usr/local/google/work/chromium/src/content/child/child_thread_impl.cc:668
  0001783b  IPC::ChannelProxy::Context::OnDispatchMessage(IPC::Message const&)                                                                                                                                                                                                                                                                                                                                                           /usr/local/google/work/chromium/src/ipc/ipc_channel_proxy.cc:284
  v------>  base::Callback<void (), (base::internal::CopyMode)1>::Run() const                                                                                                                                                                                                                                                                                                                                                            /usr/local/google/work/chromium/src/base/callback.h:397
  0007281f  base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask const&)                                                                                                                                                                                                                                                                                                                                                   /usr/local/google/work/chromium/src/base/debug/task_annotator.cc:51
  0001b4a7  scheduler::TaskQueueManager::ProcessTaskFromWorkQueue(scheduler::internal::WorkQueue*, scheduler::internal::TaskQueueImpl::Task*)                                                                                                                                                                                                                                                                                            /usr/local/google/work/chromium/src/components/scheduler/base/task_queue_manager.cc:289
  0001a87b  scheduler::TaskQueueManager::DoWork(base::TimeTicks, bool)                                                                                                                                                                                                                                                                                                                                                                   /usr/local/google/work/chromium/src/components/scheduler/base/task_queue_manager.cc:201
  0001bfbd  void base::internal::RunnableAdapter<void (scheduler::TaskQueueManager::*)(base::TimeTicks, bool)>::Run<base::WeakPtr<scheduler::TaskQueueManager> const&, base::TimeTicks const&, bool const&>(base::WeakPtr<scheduler::TaskQueueManager> const&, base::TimeTicks const&, bool const&)                                                                                                                                      /usr/local/google/work/chromium/src/base/bind_internal.h:187
  v------>  base::Callback<void (), (base::internal::CopyMode)1>::Run() const                                                                                                                                                                                                                                                                                                                                                            /usr/local/google/work/chromium/src/base/callback.h:397
  0007281f  base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask const&)                                                                                                                                                                                                                                                                                                                                                   /usr/local/google/work/chromium/src/base/debug/task_annotator.cc:51
  000883b1  base::MessageLoop::RunTask(base::PendingTask const&)                                                                                                                                                                                                                                                                                                                                                                         /usr/local/google/work/chromium/src/base/message_loop/message_loop.cc:493
  0008854b  base::MessageLoop::DeferOrRunPendingTask(base::PendingTask const&)                                                                                                                                                                                                                                                                                                                                                           /usr/local/google/work/chromium/src/base/message_loop/message_loop.cc:502
  000886a1  base::MessageLoop::DoWork()                                                                                                                                                                                                                                                                                                                                                                                                  /usr/local/google/work/chromium/src/base/message_loop/message_loop.cc:624
  00089ef5  base::MessagePumpDefault::Run(base::MessagePump::Delegate*)                                                                                                                                                                                                                                                                                                                                                                  /usr/local/google/work/chromium/src/base/message_loop/message_pump_default.cc:33
  000881b5  base::MessageLoop::RunHandler()                                                                                                                                                                                                                                                                                                                                                                                              /usr/local/google/work/chromium/src/base/message_loop/message_loop.cc:457
  0009f29b  base::RunLoop::Run()                                                                                                                                                                                                                                                                                                                                                                                                         /usr/local/google/work/chromium/src/base/run_loop.cc:35
  00087b51  base::MessageLoop::Run()                                                                                                                                                                                                                                                                                                                                                                                                     /usr/local/google/work/chromium/src/base/message_loop/message_loop.cc:295
  00b50f57  content::RendererMain(content::MainFunctionParams const&)                                                                                                                                                                                                                                                                                                                                                                    /usr/local/google/work/chromium/src/content/renderer/renderer_main.cc:197
  00c039e1  content::ContentMainRunnerImpl::Run()                                                                                                                                                                                                                                                                                                                                                                                        /usr/local/google/work/chromium/src/content/app/content_main_runner.cc:785
  v------>  content::Start(_JNIEnv*, base::android::JavaParamRef<_jclass*> const&)                                                                                                                                                                                                                                                                                                                                                       /usr/local/google/work/chromium/src/content/app/android/content_main.cc:45
  00c02c71  Java_org_chromium_content_app_ContentMain_nativeStart                                                                                                                                                                                                                                                                                                                                                                        /usr/local/google/work/chromium/src/out/Default/gen/content/public/android/content_jni_headers/content/jni/ContentMain_jni.h:37
  01141a45  offset 0xbc8000) (int org.chromium.content.app.ContentMain.nativeStart()+72                                                                                                                                                                                                                                                                                                                                                  /data/app/org.chromium.chrome-1/oat/arm/base.odex
  01141ac5  offset 0xbc8000) (int org.chromium.content.app.ContentMain.start()+48                                                                                                                                                                                                                                                                                                                                                        /data/app/org.chromium.chrome-1/oat/arm/base.odex
  0113de65  offset 0xbc8000) (void org.chromium.content.app.ChildProcessService$2.run()+4760                                                                                                                                                                                                                                                                                                                                             /data/app/org.chromium.chrome-1/oat/arm/base.odex
  7273b8d1  offset 0x1ec8000                                                                                                                                                                                                                                                                                                                                                                                                             /data/dalvik-cache/arm/system@framework@boot.oat

Seems to ASSERT because the CSS serializer doesn't know how to handle CSSRule::FONT_FACE_RULE
er, sorry CSSRule::NAMESPACE_RULE.
I have a reduced repro case for the crash in #7, will open a new bug
see issue #622938
Labels: -Restrict-View-Google
Owner: dewittj@chromium.org
Status: Assigned (was: Untriaged)
Assigning for verification of initial repro
Status: Fixed (was: Assigned)
I believe original repro was a dupe of bug 615578 and was fixed by https://codereview.chromium.org/2093543002

I've tried to verify on news.yahoo.com page in Canary 54.0.2793.0 and it works as expected.
Status: Verified (was: Fixed)
Verified Fixed in 54.0.2812.0

Sign in to add a comment