Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-59244

Check failed: used_count == used_items_

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.9.0 Beta 1, 5.12
    • Fix Version/s: None
    • Component/s: WebEngine
    • Labels:
      None
    • Environment:
      Archlinux

      Description

      On the current 5.9 with 55-based, when visiting http://www.whatarecookies.com/cookietest.asp I always got this:

      [21792:21792:0302/080239:FATAL:visitedlink_master.h(499)] Check failed: used_count == used_items_ (63 vs. 62)
      #0 0x7f21a9b4840c base::debug::StackTrace::StackTrace()
      #1 0x7f21a9b880d9 logging::LogMessage::~LogMessage()
      #2 0x7f21a9e0256c visitedlink::VisitedLinkMaster::DebugValidate()
      #3 0x7f21a9dffcc0 visitedlink::VisitedLinkMaster::OnTableLoadComplete()
      #4 0x7f21a9e0a6a2 _ZN4base8internal13FunctorTraitsIMN11visitedlink17VisitedLinkMasterEFvb13scoped_refptrINS3_18LoadFromFileResultEEEvE6InvokeIRKNS_7WeakPtrIS3_EEJbS6_EEEvS8_OT_DpOT0_
      #5 0x7f21a9e0980e _ZN4base8internal12InvokeHelperILb1EvE8MakeItSoIRKMN11visitedlink17VisitedLinkMasterEFvb13scoped_refptrINS5_18LoadFromFileResultEEERKNS_7WeakPtrIS5_EEJbS8_EEEvOT_OT0_DpOT1_
      #6 0x7f21a9e07b81 _ZN4base8internal7InvokerINS0_9BindStateIMN11visitedlink17VisitedLinkMasterEFvb13scoped_refptrINS4_18LoadFromFileResultEEEJNS_7WeakPtrIS4_EEEEEFvbS7_EE7RunImplIRKS9_RKSt5tupleIJSB_EEJLm0EEEEvOT_OT0_NS_13IndexSequenceIJXspT1_EEEEObOS7_
      #7 0x7f21a9e066de _ZN4base8internal7InvokerINS0_9BindStateIMN11visitedlink17VisitedLinkMasterEFvb13scoped_refptrINS4_18LoadFromFileResultEEEJNS_7WeakPtrIS4_EEEEEFvbS7_EE3RunEPNS0_13BindStateBaseEObOS7_
      #8 0x7f21a9e0adc9 base::internal::RunMixin<>::Run()
      #9 0x7f21a9e0a8ac _ZN4base8internal13FunctorTraitsINS_8CallbackIFvb13scoped_refptrIN11visitedlink17VisitedLinkMaster18LoadFromFileResultEEELNS0_8CopyModeE1ELNS0_10RepeatModeE1EEEvE6InvokeIRKSB_JRKbRKS7_EEEvOT_DpOT0_
      #10 0x7f21a9e09d4e _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIRKNS_8CallbackIFvb13scoped_refptrIN11visitedlink17VisitedLinkMaster18LoadFromFileResultEEELNS0_8CopyModeE1ELNS0_10RepeatModeE1EEEJRKbRKS9_EEEvOT_DpOT0_
      #11 0x7f21a9e08402 _ZN4base8internal7InvokerINS0_9BindStateINS_8CallbackIFvb13scoped_refptrIN11visitedlink17VisitedLinkMaster18LoadFromFileResultEEELNS0_8CopyModeE1ELNS0_10RepeatModeE1EEEJbS8_EEEFvvEE7RunImplIRKSC_RKSt5tupleIJbS8_EEJLm0ELm1EEEEvOT_OT0_NS_13IndexSequenceIJXspT1_EEEE
      #12 0x7f21a9e06909 _ZN4base8internal7InvokerINS0_9BindStateINS_8CallbackIFvb13scoped_refptrIN11visitedlink17VisitedLinkMaster18LoadFromFileResultEEELNS0_8CopyModeE1ELNS0_10RepeatModeE1EEEJbS8_EEEFvvEE3RunEPNS0_13BindStateBaseE
      #13 0x7f21a7287b49 base::internal::RunMixin<>::Run()
      #14 0x7f21a9d8b2c3 base::debug::TaskAnnotator::RunTask()
      #15 0x7f21a9bb1d31 base::MessageLoop::RunTask()
      #16 0x7f21a9bb1e67 base::MessageLoop::DeferOrRunPendingTask()
      #17 0x7f21a9bb2375 base::MessageLoop::DoWork()
      #18 0x7f21a71c8ee3 QtWebEngineCore::(anonymous namespace)::MessagePumpForUIQt::customEvent()
      #19 0x7f21a476885c QObject::event()
      #20 0x7f21a57d66c4 QApplicationPrivate::notify_helper()
      #21 0x7f21a57dee4f QApplication::notify()
      #22 0x7f21a4733afa QCoreApplication::notifyInternal2()
      #23 0x7f21a4739082 QCoreApplicationPrivate::sendPostedEvents()
      #24 0x7f21a4739815 QCoreApplication::sendPostedEvents()
      #25 0x7f21a47958cf postEventSourceDispatch()
      #26 0x7f21a268f5a7 g_main_context_dispatch
      #27 0x7f21a268f810 <unknown>
      #28 0x7f21a268f8bc g_main_context_iteration
      #29 0x7f21a4795951 QEventDispatcherGlib::processEvents()
      #30 0x7f21978c0dd7 QPAEventDispatcherGlib::processEvents()
      #31 0x7f21a473176a QEventLoop::processEvents()
      #32 0x7f21a4731c5f QEventLoop::exec()
      #33 0x7f21a473be80 QCoreApplication::exec()
      #34 0x7f21a51e4e31 QGuiApplication::exec()
      #35 0x7f21a57d6544 QApplication::exec()
      #36 0x55dd49238041 <unknown>
      #37 0x7f21a33dc291 __libc_start_main
      #38 0x55dd491ef57a <unknown>
      
      [1]    21792 abort (core dumped)  ./demobrowser http://www.whatarecookies.com/cookietest.asp
      

      Stack:

      #0  0x00007f21a33ef04f in raise () at /usr/lib/libc.so.6
      #1  0x00007f21a33f047a in abort () at /usr/lib/libc.so.6
      #2  0x00007f21a9b4645e in base::debug::(anonymous namespace)::DebugBreak() () at ../../3rdparty/chromium/base/debug/debugger_posix.cc:219
      #3  0x00007f21a9b4648c in base::debug::BreakDebugger() () at ../../3rdparty/chromium/base/debug/debugger_posix.cc:249
      #4  0x00007f21a9b88432 in logging::LogMessage::~LogMessage() (this=0x7fff27b25360, __in_chrg=<optimized out>) at ../../3rdparty/chromium/base/logging.cc:748
      #5  0x00007f21a9e0256c in visitedlink::VisitedLinkMaster::DebugValidate() (this=0x55dd4a9c9120) at ../../3rdparty/chromium/components/visitedlink/browser/visitedlink_master.h:499
      #6  0x00007f21a9dffcc0 in visitedlink::VisitedLinkMaster::OnTableLoadComplete(bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>) (this=0x55dd4a9c9120, success=true, load_from_file_result=...) at ../../3rdparty/chromium/components/visitedlink/browser/visitedlink_master.cc:744
      #7  0x00007f21a9e0a6a2 in base::internal::FunctorTraits<void (visitedlink::VisitedLinkMaster::*)(bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>), void>::Invoke<base::WeakPtr<visitedlink::VisitedLinkMaster> const&, bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult> >(void (visitedlink::VisitedLinkMaster::*)(bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>), base::WeakPtr<visitedlink::VisitedLinkMaster> const&, bool&&, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>&&) (method=
          (void (visitedlink::VisitedLinkMaster::*)(visitedlink::VisitedLinkMaster * const, bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>)) 0x7f21a9dff3d6 <visitedlink::VisitedLinkMaster::OnTableLoadComplete(bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>)>, receiver_ptr=..., args#0=<unknown type in /home/florian/code/qt5/qtbase/lib/libQt5WebEngineCore.so.5, CU 0x1703103e, DIE 0x1705993b>, args#1=<unknown type in /home/florian/code/qt5/qtbase/lib/libQt5WebEngineCore.so.5, CU 0x1703103e, DIE 0x1705e4ed>) at ../../3rdparty/chromium/base/bind_internal.h:214
      #8  0x00007f21a9e0980e in base::internal::InvokeHelper<true, void>::MakeItSo<void (visitedlink::VisitedLinkMaster::* const&)(bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>), base::WeakPtr<visitedlink::VisitedLinkMaster> const&, bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult> >(void (visitedlink::VisitedLinkMaster::* const&)(bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>), base::WeakPtr<visitedlink::VisitedLinkMaster> const&, bool&&, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>&&) (functor=
          @0x55dd4a9cacb0: (void (visitedlink::VisitedLinkMaster::*)(visitedlink::VisitedLinkMaster * const, bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>)) 0x7f21a9dff3d6 <visitedlink::VisitedLinkMaster::OnTableLoadComplete(bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>)>, weak_ptr=..., args#0=<unknown type in /home/florian/code/qt5/qtbase/lib/libQt5WebEngineCore.so.5, CU 0x1703103e, DIE 0x1705993b>, args#1=<unknown type in /home/florian/code/qt5/qtbase/lib/libQt5WebEngineCore.so.5, CU 0x1703103e, DIE 0x1705e4ed>) at ../../3rdparty/chromium/base/bind_internal.h:305
      #9  0x00007f21a9e07b81 in base::internal::Invoker<base::internal::BindState<void (visitedlink::VisitedLinkMaster::*)(bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>), base::WeakPtr<visitedlink::VisitedLinkMaster> >, void (bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>)>::RunImpl<void (visitedlink::VisitedLinkMaster::* const&)(bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>), std::tuple<base::WeakPtr<visitedlink::VisitedLinkMaster> > const&, 0ul>(void (visitedlink::VisitedLinkMaster::* const&)(bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>), std::tuple<base::WeakPtr<visitedlink::VisitedLinkMaster> > const&, base::IndexSequence<0ul>, bool&&, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>&&) (functor=
          @0x55dd4a9cacb0: (void (visitedlink::VisitedLinkMaster::*)(visitedlink::VisitedLinkMaster * const, bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>)) 0x7f21a9dff3d6 <visitedlink::VisitedLinkMaster::OnTableLoadComplete(bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>)>, bound=std::tuple containing = {...}, unbound_args#0=<unknown type in /home/florian/code/qt5/qtbase/lib/libQt5WebEngineCore.so.5, CU 0x1703103e, DIE 0x1705993b>, unbound_args#1=<unknown type in /home/florian/code/qt5/qtbase/lib/libQt5WebEngineCore.so.5, CU 0x1703103e, DIE 0x1705e4ed>)
          at ../../3rdparty/chromium/base/bind_internal.h:364
      #10 0x00007f21a9e066de in base::internal::Invoker<base::internal::BindState<void (visitedlink::VisitedLinkMaster::*)(bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>), base::WeakPtr<visitedlink::VisitedLinkMaster> >, void (bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>)>::Run(base::internal::BindStateBase*, bool&&, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>&&) (base=0x55dd4a9cac90, unbound_args#0=<unknown type in /home/florian/code/qt5/qtbase/lib/libQt5WebEngineCore.so.5, CU 0x1703103e, DIE 0x1705993b>, unbound_args#1=<unknown type in /home/florian/code/qt5/qtbase/lib/libQt5WebEngineCore.so.5, CU 0x1703103e, DIE 0x1705e4ed>) at ../../3rdparty/chromium/base/bind_internal.h:342
      #11 0x00007f21a9e0adc9 in base::internal::RunMixin<base::Callback<void (bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>), (base::internal::CopyMode)1, (base::internal::RepeatMode)1> >::Run(bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>) const (this=0x7f2154005440, args#0=true, args#1=...) at ../../3rdparty/chromium/base/callback.h:64
      #12 0x00007f21a9e0a8ac in base::internal::FunctorTraits<base::Callback<void (bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>), (base::internal::CopyMode)1, (base::internal::RepeatMode)1>, void>::Invoke<base::Callback<void (bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>), (base::internal::CopyMode)1, (base::internal::RepeatMode)1> const&, bool const&, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult> const&>(base::Callback<void (bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>), (base::internal::CopyMode)1, (base::internal::RepeatMode)1> const&, bool const&, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult> const&) (callback=..., args#0=@0x7f2154005450: true, args#1=...) at ../../3rdparty/chromium/base/bind_internal.h:265
      #13 0x00007f21a9e09d4e in base::internal::InvokeHelper<false, void>::MakeItSo<base::Callback<void (bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>), (base::internal::CopyMode)1, (base::internal::RepeatMode)1> const&, bool const&, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult> const&>(base::Callback<void (bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>), (base::internal::CopyMode)1, (base::internal::RepeatMode)1> const&, bool const&, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult> const&) (functor=..., args#0=@0x7f2154005450: true, args#1=...)
          at ../../3rdparty/chromium/base/bind_internal.h:286
      #14 0x00007f21a9e08402 in base::internal::Invoker<base::internal::BindState<base::Callback<void (bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>), (base::internal::CopyMode)1, (base::internal::RepeatMode)1>, bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult> >, void ()>::RunImpl<base::Callback<void (bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>), (base::internal::CopyMode)1, (base::internal::RepeatMode)1> const&, std::tuple<bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult> > const&, 0ul, 1ul>(base::Callback<void (bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>), (base::internal::CopyMode)1, (base::internal::RepeatMode)1> const&, std::tuple<bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult> > const&, base::IndexSequence<0ul, 1ul>) (functor=..., bound=std::tuple containing = {...})
          at ../../3rdparty/chromium/base/bind_internal.h:364
      #15 0x00007f21a9e06909 in base::internal::Invoker<base::internal::BindState<base::Callback<void (bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult>), (base::internal::CopyMode)1, (base::internal::RepeatMode)1>, bool, scoped_refptr<visitedlink::VisitedLinkMaster::LoadFromFileResult> >, void ()>::Run(base::internal::BindStateBase*) (base=0x7f2154005420) at ../../3rdparty/chromium/base/bind_internal.h:342
      #16 0x00007f21a7287b49 in base::internal::RunMixin<base::Callback<void (), (base::internal::CopyMode)1, (base::internal::RepeatMode)1> >::Run() const (this=0x7fff27b26d48) at ../../3rdparty/chromium/base/callback.h:64
      #17 0x00007f21a9d8b2c3 in base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask const&) (this=0x55dd4a805ff0, queue_function=0x7f21b269f198 "MessageLoop::PostTask", pending_task=...) at ../../3rdparty/chromium/base/debug/task_annotator.cc:54
      #18 0x00007f21a9bb1d31 in base::MessageLoop::RunTask(base::PendingTask const&) (this=0x55dd4a805dd0, pending_task=...) at ../../3rdparty/chromium/base/message_loop/message_loop.cc:405
      #19 0x00007f21a9bb1e67 in base::MessageLoop::DeferOrRunPendingTask(base::PendingTask) (this=0x55dd4a805dd0, pending_task=...) at ../../3rdparty/chromium/base/message_loop/message_loop.cc:414
      #20 0x00007f21a9bb2375 in base::MessageLoop::DoWork() (this=0x55dd4a805dd0) at ../../3rdparty/chromium/base/message_loop/message_loop.cc:513
      #21 0x00007f21a71c8ee3 in QtWebEngineCore::(anonymous namespace)::MessagePumpForUIQt::handleScheduledWork (this=0x55dd4a806730) at ../content_browser_client_qt.cpp:208
      #22 0x00007f21a71c8ee3 in QtWebEngineCore::(anonymous namespace)::MessagePumpForUIQt::customEvent(QEvent*) (this=0x55dd4a806730, ev=<optimized out>) at ../content_browser_client_qt.cpp:190
      #23 0x00007f21a476885c in QObject::event(QEvent*) (this=0x55dd4a806730, e=<optimized out>) at kernel/qobject.cpp:1268
      #24 0x00007f21a57d66c4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55dd4a4a5360, receiver=receiver@entry=0x55dd4a806730, e=e@entry=0x55dd4aa35250) at kernel/qapplication.cpp:3713
      #25 0x00007f21a57dee4f in QApplication::notify(QObject*, QEvent*) (this=0x7fff27b27410, receiver=0x55dd4a806730, e=0x55dd4aa35250) at kernel/qapplication.cpp:3085
      #26 0x00007f21a4733afa in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x55dd4a806730, event=event@entry=0x55dd4aa35250) at kernel/qcoreapplication.cpp:1013
      #27 0x00007f21a4739082 in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x55dd4aa35250, receiver=0x55dd4a806730) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
      #28 0x00007f21a4739082 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55dd4a4a54d0) at kernel/qcoreapplication.cpp:1673
      #29 0x00007f21a4739815 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1527
      #30 0x00007f21a47958cf in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55dd4a4d3e70) at kernel/qeventdispatcher_glib.cpp:276
      #31 0x00007f21a268f5a7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
      #32 0x00007f21a268f810 in  () at /usr/lib/libglib-2.0.so.0
      #33 0x00007f21a268f8bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
      #34 0x00007f21a4795951 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55dd4a4d4140, flags=...) at kernel/qeventdispatcher_glib.cpp:423
      #35 0x00007f21978c0dd7 in QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at qeventdispatcher_glib.cpp:121
      #36 0x00007f21a473176a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff27b27390, flags=..., flags@entry=...) at kernel/qeventloop.cpp:134
      #37 0x00007f21a4731c5f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff27b27390, flags=flags@entry=...) at kernel/qeventloop.cpp:212
      #38 0x00007f21a473be80 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1286
      #39 0x00007f21a51e4e31 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1662
      #40 0x00007f21a57d6544 in QApplication::exec() () at kernel/qapplication.cpp:2901
      #41 0x000055dd49238041 in main(int, char**) (argc=<optimized out>, argv=0x7fff27b27568) at main.cpp:64
      

      After removing my ~/.local/share/Qt/demobrowser (which might have been a bad idea in hindsight...) it works fine though.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-59244
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              michal Michal Klocek
              Reporter:
              the compiler Florian Bruhin
              Votes:
              3 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There is 1 open Gerrit change