New issue
Advanced search Search tips

Issue 855060 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug



Sign in to add a comment

DCHECK when reloading in the simulator via keyboard shortcut

Project Member Reported by rohitrao@chromium.org, Jun 21 2018

Issue description

Load a webpage in the simulator (I was on iPhone X 11.4).  Then press Cmd-R to reload the page.


[0621/112333.715020:FATAL:error_retry_state_machine.mm(89)] Check failed: false. Unexpected error retry state: 2
(lldb) bt
* thread #1, name = 'CrWebMain', queue = 'com.apple.main-thread', stop reason = EXC_BREAKPOINT (code=EXC_I386_BPT, subcode=0x0)
    frame #0: 0x000000011116a434 Chromium`base::debug::BreakDebugger() at debugger_posix.cc:269
    frame #1: 0x0000000110ecd6ab Chromium`logging::LogMessage::~LogMessage(this=0x00007ffee0ac0710) at logging.cc:855
    frame #2: 0x0000000110eca145 Chromium`logging::LogMessage::~LogMessage(this=0x00007ffee0ac0710) at logging.cc:586
    frame #3: 0x000000010fd882e9 Chromium`web::ErrorRetryStateMachine::DidFailNavigation(this=0x00007f8a78072d98, web_view_url=0x00007ffee0ac09c8, error_url=0x00007ffee0ac0930) at error_retry_state_machine.mm:89
  * frame #4: 0x000000010fe6f301 Chromium`::-[CRWWebController webView:didFailNavigation:withError:](self=0x00007f8a75603020, _cmd="webView:didFailNavigation:withError:", webView=0x00007f8a76019e00, navigation=0x00007f8a77c431d0, error=domain: "NSURLErrorDomain" - code: 18446744073709550617) at crw_web_controller.mm:4929
    frame #5: 0x00000001206faa5f WebKit`WebKit::NavigationState::NavigationClient::didFailNavigationWithError(WebKit::WebPageProxy&, WebKit::WebFrameProxy&, API::Navigation*, WebCore::ResourceError const&, API::Object*) + 179
    frame #6: 0x00000001208aff6c WebKit`WebKit::WebPageProxy::didFailLoadForFrame(unsigned long long, unsigned long long, WebCore::ResourceError const&, WebKit::UserData const&) + 390
    frame #7: 0x00000001208d0cbd WebKit`void IPC::handleMessage<Messages::WebPageProxy::DidFailLoadForFrame, WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(unsigned long long, unsigned long long, WebCore::ResourceError const&, WebKit::UserData const&)>(IPC::Decoder&, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(unsigned long long, unsigned long long, WebCore::ResourceError const&, WebKit::UserData const&)) + 167
    frame #8: 0x00000001206f6cdf WebKit`IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) + 127
    frame #9: 0x000000012092d44a WebKit`WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 24
    frame #10: 0x00000001206becc9 WebKit`IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) + 119
    frame #11: 0x00000001206c156b WebKit`IPC::Connection::dispatchOneMessage() + 177
    frame #12: 0x0000000129573409 JavaScriptCore`WTF::RunLoop::performWork() + 329
    frame #13: 0x0000000129573652 JavaScriptCore`WTF::RunLoop::performWork(void*) + 34
    frame #14: 0x000000011d91fbb1 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame #15: 0x000000011d9044af CoreFoundation`__CFRunLoopDoSources0 + 271
    frame #16: 0x000000011d903a6f CoreFoundation`__CFRunLoopRun + 1263
    frame #17: 0x000000011d90330b CoreFoundation`CFRunLoopRunSpecific + 635
    frame #18: 0x000000012364da73 GraphicsServices`GSEventRunModal + 62
    frame #19: 0x000000011b6ee057 UIKit`UIApplicationMain + 159
    frame #20: 0x000000010f13e813 Chromium`(anonymous namespace)::RunUIApplicationMain(argc=1, argv=0x00007ffee0ac21a0) at chrome_exe_main.mm:54
    frame #21: 0x000000010f13e2e3 Chromium`main(argc=1, argv=0x00007ffee0ac21a0) at chrome_exe_main.mm:78
    frame #22: 0x0000000124a65955 libdyld.dylib`start + 1

 
Owner: danyao@chromium.org
Status: Assigned (was: Untriaged)
DCHECK in error_retry_state_machine.mm

Comment 2 by danyao@chromium.org, Jun 21 2018

Does Cmd-R in simulator use the same code path as navigationManager->Reload?
Rohit, do you know what |[weakDispatcher reload];| does? I do know how to reason about CommandDispatcher behavior :(
Cc: marq@chromium.org
Marq, do you know what |[weakDispatcher reload];| does? I do know how to reason about CommandDispatcher behavior :(

Components: Mobile>iOSWeb
Components: -Mobile>WebView>Glue

Sign in to add a comment