Comment 1 for bug 1462814

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Hmmm, it's not the issue I thought it was

Breakpoint 1, content::RenderProcessHostImpl::ShutdownForBadMessage (this=0x260bb00)
    at ../../../../third_party/chromium/src/content/browser/renderer_host/render_process_host_impl.cc:1054
1054 void RenderProcessHostImpl::ShutdownForBadMessage() {
(gdb) bt
#0 0x00007ffff2ffae20 in content::RenderProcessHostImpl::ShutdownForBadMessage() (this=0x260bb00)
    at ../../../../third_party/chromium/src/content/browser/renderer_host/render_process_host_impl.cc:1054
#1 0x00007ffff2eaa93f in content::(anonymous namespace)::AreURLsInPageNavigation(GURL const&, GURL const&, bool, content::RenderFrameHost*) (existing_url=..., new_url=..., renderer_says
_in_page=<optimised out>, rfh=rfh@entry=0x2610110) at ../../../../third_party/chromium/src/content/browser/frame_host/navigation_controller_impl.cc:141
#2 0x00007ffff2eaafb4 in content::NavigationControllerImpl::IsURLInPageNavigation(GURL const&, bool, content::RenderFrameHost*) const (this=<optimised out>, url=..., renderer_says_in_pa
ge=<optimised out>, rfh=rfh@entry=0x2610110) at ../../../../third_party/chromium/src/content/browser/frame_host/navigation_controller_impl.cc:1524
#3 0x00007ffff2eb6e55 in content::NavigatorImpl::DidNavigate(content::RenderFrameHostImpl*, FrameHostMsg_DidCommitProvisionalLoad_Params const&) (this=
    0xfb4910, render_frame_host=0x2610110, input_params=...) at ../../../../third_party/chromium/src/content/browser/frame_host/navigator_impl.cc:401
#4 0x00007ffff2ebc1d8 in content::RenderFrameHostImpl::OnDidCommitProvisionalLoad(IPC::Message const&) (this=this@entry=0x2610110, msg=...)
    at ../../../../third_party/chromium/src/content/browser/frame_host/render_frame_host_impl.cc:882
#5 0x00007ffff2ec3108 in content::RenderFrameHostImpl::OnMessageReceived(IPC::Message const&) (this=0x2610110, msg=...)
    at ../../../../third_party/chromium/src/content/browser/frame_host/render_frame_host_impl.cc:381
#6 0x00007ffff30018de in content::RenderProcessHostImpl::OnMessageReceived(IPC::Message const&) (this=0x260bb00, msg=...)
    at ../../../../third_party/chromium/src/content/browser/renderer_host/render_process_host_impl.cc:1552
#7 0x00007ffff39ccba0 in IPC::ChannelProxy::Context::OnDispatchMessage(IPC::Message const&) (this=0x2a372b0, message=...)
    at ../../../../third_party/chromium/src/ipc/ipc_channel_proxy.cc:294
#8 0x00007ffff2d34be1 in base::debug::TaskAnnotator::RunTask(char const*, char const*, base::PendingTask const&) (this=0x7fffffff9f08)
    at ../../../../third_party/chromium/src/base/callback.h:396
#9 0x00007ffff2d34be1 in base::debug::TaskAnnotator::RunTask(char const*, char const*, base::PendingTask const&) (this=this@entry=0xf59aa0, queue_function=queue_function@entry=0x7ffff5b
aff06 "MessageLoop::PostTask", run_function=run_function@entry=0x7ffff5baff25 "MessageLoop::RunTask", pending_task=...)
    at ../../../../third_party/chromium/src/base/debug/task_annotator.cc:62
#10 0x00007ffff2d539c4 in base::MessageLoop::RunTask(base::PendingTask const&) (this=this@entry=0xf59940, pending_task=...)
    at ../../../../third_party/chromium/src/base/message_loop/message_loop.cc:459
#11 0x00007ffff2d53ca1 in base::MessageLoop::DeferOrRunPendingTask(base::PendingTask const&) (this=this@entry=0xf59940, pending_task=...)
    at ../../../../third_party/chromium/src/base/message_loop/message_loop.cc:468
#12 0x00007ffff2d5457b in base::MessageLoop::DoWork() (this=0xf59940) at ../../../../third_party/chromium/src/base/message_loop/message_loop.cc:580
#13 0x00007ffff2cce198 in oxide::qt::MessagePump::RunOneTask() (this=0xf58a10) at ../../../../qt/core/browser/oxide_qt_message_pump.cc:67
#14 0x00007ffff7ba96f3 in QObject::event(QEvent*) (this=0xf58a10, e=<optimised out>) at kernel/qobject.cpp:1267
#15 0x00007ffff7b77af5 in QCoreApplication::notify(QObject*, QEvent*) (this=<optimised out>, receiver=<optimised out>, event=<optimised out>) at kernel/qcoreapplication.cpp:997
#16 0x00007ffff7b77c2b in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fffffffd540, receiver=0xf58a10, event=event@entry=0x7fffa40838a0)
    at kernel/qcoreapplication.cpp:935
#17 0x00007ffff7b79c9b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7fffa40838a0, receiver=<optimised out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#18 0x00007ffff7b79c9b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x41d300)
    at kernel/qcoreapplication.cpp:1552
#19 0x00007ffff7b7a298 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#20 0x00007ffff7bd0843 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5045f0) at kernel/qeventdispatcher_glib.cpp:271
#21 0x00007ffff0d66c3d in g_main_context_dispatch (context=0x7fffe00016f0) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3122
#22 0x00007ffff0d66c3d in g_main_context_dispatch (context=context@entry=0x7fffe00016f0) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3737
#23 0x00007ffff0d66f20 in g_main_context_iterate (context=context@entry=0x7fffe00016f0, block=block@entry=0, dispatch=dispatch@entry=1, self=<optimised out>)
    at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3808
#24 0x00007ffff0d66fcc in g_main_context_iteration (context=0x7fffe00016f0, may_block=0) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3869
#25 0x00007ffff7bd0cb0 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5043e0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#26 0x00007ffff7b77d0a in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>, int) (flags=..., flags@entry=..., maxtime=maxtime@entry=50)
    at kernel/qcoreapplication.cpp:1133
#27 0x00007ffff7fb6519 in QuickTestResult::wait(int) (ms=50) at /usr/include/x86_64-linux-gnu/qt5/QtTest/qtestsystem.h:58
#28 0x00007ffff7fb6519 in QuickTestResult::wait(int) (this=<optimised out>, ms=50) at quicktestresult.cpp:562
#29 0x00007ffff7fb9d4b in QuickTestResult::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x260bb00, _o@entry=0x14d8560, _c=QMetaObject::ReadProperty,
    _c@entry=QMetaObject::InvokeMetaMethod, _id=1, _id@entry=23, _a=0x7fffffffa560) at .moc/moc_quicktestresult_p.cpp:335
#30 0x00007ffff7fba0d7 in QuickTestResult::qt_metacall(QMetaObject::Call, int, void**) (this=0x14d8560, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0x7fffffffa560)
    at .moc/moc_quicktestresult_p.cpp:446
#31 0x00007ffff7131aee in CallMethod(QObject*, int, int, int, int*, QV8Engine*, QV4::CallData*) (object=0x260bb00, index=1, returnType=2, argCount=-23192, argTypes=0x0, engine=
    0x7ffff21bdc88 <main_arena+136>, callArgs=0x0) at jsruntime/qv4qobjectwrapper.cpp:1152
#32 0x00007ffff7134a4c in CallPrecise(QObject*, QQmlPropertyData const&, QV8Engine*, QV4::CallData*) (object=0x14d8560, data=..., engine=0xac5e70, callArgs=0x7fffd94f8560)
(gdb) f 1
#1 0x00007ffff2eaa93f in content::(anonymous namespace)::AreURLsInPageNavigation (existing_url=..., new_url=..., renderer_says_in_page=<optimised out>, rfh=rfh@entry=0x2610110)
    at ../../../../third_party/chromium/src/content/browser/frame_host/navigation_controller_impl.cc:141
141 bad_message::NC_IN_PAGE_NAVIGATION);
(gdb) p existing_url
$1 = (const GURL &) @0x2a5d720: {spec_ = "http://testsuite/empty.html", is_valid_ = true, parsed_ = {scheme = {begin = 0, len = 4}, username = {begin = 0, len = -1}, password = {
      begin = 0, len = -1}, host = {begin = 7, len = 9}, port = {begin = 0, len = -1}, path = {begin = 16, len = 11}, query = {begin = 0, len = -1}, ref = {begin = 0, len = -1},
    inner_parsed_ = 0x0}, inner_url_ = {impl_ = {data_ = {<base::DefaultDeleter<GURL>> = {<No data fields>}, ptr = 0x0}}}}
(gdb) p new_url
$2 = (const GURL &) @0x7fffffff9038: {spec_ = "about:blank", is_valid_ = true, parsed_ = {scheme = {begin = 0, len = 5}, username = {begin = 0, len = -1}, password = {begin = 0,
      len = -1}, host = {begin = 0, len = -1}, port = {begin = 0, len = -1}, path = {begin = 6, len = 5}, query = {begin = 0, len = -1}, ref = {begin = 0, len = -1},
    inner_parsed_ = 0x0}, inner_url_ = {impl_ = {data_ = {<base::DefaultDeleter<GURL>> = {<No data fields>}, ptr = 0x0}}}}