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

Assert failure in ListView with flickableDirection: Flickable.HorizontalAndVerticalFlick

    XMLWordPrintable

Details

    • qtdeclarative/stable: a76e297b30686557de1a773ba9752b23b9700b13

    Description

      When setting "flickableDirection: Flickable.HorizontalAndVerticalFlick", a ListView can assert soon after flicking:
      ASSERT: "time >= 0" in file util/qquicktimeline.cpp, line 190

      See the attached testcase. To reproduce, simply start flicking a bit.

      Program received signal SIGABRT, Aborted.
      0x00007ffff4601ab5 in raise () from /lib64/libc.so.6
      (gdb) bt
      #0 0x00007ffff4601ab5 in raise () from /lib64/libc.so.6
      #1 0x00007ffff4602fb6 in abort () from /lib64/libc.so.6
      #2 0x00007ffff55f449c in qt_message_fatal (context=..., message=Traceback (most recent call last):
      File "/home/thomas/.local-prefix/share/gdb-printers/qt4.py", line 40, in to_string
      dataAsCharPointer = self.val['d']['data'].cast(gdb.lookup_type("char").pointer())
      RuntimeError: cannot resolve overloaded method `data': no arguments supplied
      ) at global/qlogging.cpp:868
      #3 0x00007ffff55f2797 in QMessageLogger::fatal (this=0x7fffffffb710, msg=0x7ffff58b6230 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:356
      #4 0x00007ffff55edd44 in qt_assert (assertion=0x7ffff7a896af "time >= 0", file=0x7ffff7a89648 "util/qquicktimeline.cpp", line=190) at global/qglobal.cpp:1955
      #5 0x00007ffff7843170 in QQuickTimeLinePrivate::value (this=0x700280, op=..., time=-2147483648, base=0, changed=0x7fffffffb7ff) at util/qquicktimeline.cpp:190
      #6 0x00007ffff7844937 in QQuickTimeLinePrivate::advance (this=0x700280, t=-2147483632) at util/qquicktimeline.cpp:772
      #7 0x00007ffff78445a9 in QQuickTimeLine::updateCurrentTime (this=0x6fed10, v=32) at util/qquicktimeline.cpp:696
      #8 0x00007ffff741e3d7 in QAbstractAnimationJob::setCurrentTime (this=0x6fed20, msecs=32) at animations/qabstractanimationjob.cpp:456
      #9 0x00007ffff741d0c3 in QQmlAnimationTimer::updateAnimationsTime (this=0x8b1f80, delta=16) at animations/qabstractanimationjob.cpp:117
      #10 0x00007ffff55da44f in QUnifiedTimer::updateAnimationTimers (this=0x664cb0, currentTick=-1) at animation/qabstractanimation.cpp:289
      #11 0x00007ffff55dc16a in QAnimationDriver::advanceAnimation (this=0x664cc8, timeStep=-1) at animation/qabstractanimation.cpp:779
      #12 0x00007ffff55dc197 in QAnimationDriver::advance (this=0x664cc8) at animation/qabstractanimation.cpp:792
      #13 0x00007ffff55dc445 in QDefaultAnimationDriver::timerEvent (this=0x664cc8, e=0x7fffffffc550) at animation/qabstractanimation.cpp:891
      #14 0x00007ffff5813e5d in QObject::event (this=0x664cc8, e=0x7fffffffc550) at kernel/qobject.cpp:1051
      #15 0x00007ffff6979fd2 in QApplicationPrivate::notify_helper (this=0x620480, receiver=0x664cc8, e=0x7fffffffc550) at kernel/qapplication.cpp:3398
      #16 0x00007ffff69776ae in QApplication::notify (this=0x7fffffffcac0, receiver=0x664cc8, e=0x7fffffffc550) at kernel/qapplication.cpp:2829
      #17 0x00007ffff57d95c1 in QCoreApplication::notifyInternal (this=0x7fffffffcac0, receiver=0x664cc8, event=0x7fffffffc550) at kernel/qcoreapplication.cpp:767
      #18 0x00007ffff57dce37 in QCoreApplication::sendEvent (receiver=0x664cc8, event=0x7fffffffc550) at kernel/qcoreapplication.h:203
      #19 0x00007ffff584a62e in QTimerInfoList::activateTimers (this=0x62f9b0) at kernel/qtimerinfo_unix.cpp:644
      #20 0x00007ffff584b824 in timerSourceDispatch (source=0x62f950) at kernel/qeventdispatcher_glib.cpp:185
      #21 0x00007ffff341abd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
      #22 0x00007ffff341b3b0 in ?? () from /lib64/libglib-2.0.so.0
      #23 0x00007ffff341b650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
      #24 0x00007ffff584c24d in QEventDispatcherGlib::processEvents (this=0x62bf00, flags=...) at kernel/qeventdispatcher_glib.cpp:423
      #25 0x00007ffff153f366 in QPAEventDispatcherGlib::processEvents (this=0x62bf00, flags=...) at eventdispatchers/qeventdispatcher_glib.cpp:123
      #26 0x00007ffff57d65cd in QEventLoop::processEvents (this=0x7fffffffc890, flags=...) at kernel/qeventloop.cpp:136
      #27 0x00007ffff57d689b in QEventLoop::exec (this=0x7fffffffc890, flags=...) at kernel/qeventloop.cpp:212
      --Type <return> to continue, or q <return> to quit--
      #28 0x00007ffff57d9c49 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1020
      #29 0x00007ffff5e1273a in QGuiApplication::exec () at kernel/qguiapplication.cpp:1191
      #30 0x00007ffff69771db in QApplication::exec () at kernel/qapplication.cpp:2673
      #31 0x0000000000406af2 in main (argc=2, argv=0x7fffffffd098) at main.cpp:522

      Tested with:
      qtbase: v5.0.0-299-g3d9a400
      qtjsbackend: v5.0.0-2-gce0de18
      qtdeclarative: v5.0.0-35-gd89f1db

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            tmcguire Thomas McGuire
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes