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

segfault when changing system time in QUnifiedTimer/QThreadData

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.13.2
    • None
    • x64
    • Linux/X11

    Description

      When I change the system time to a time in the future (2040), my application segfaults.

      I'm using Debian Buster.

      #0  QThreadStorageData::get (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qvector.h:87
      #1  0x00007f43cc59d145 in QThreadStorage<QUnifiedTimer*>::hasLocalData (this=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:141
      #2  QUnifiedTimer::instance (create=<optimized out>) at animation/qabstractanimation.cpp:236
      #3  0x00007f43cc59e4c2 in QUnifiedTimer::pauseAnimationTimer (timer=<optimized out>, duration=499) at animation/qabstractanimation.cpp:482
      #4  0x00007f43cc59e78d in QUnifiedTimer::restart (this=0x5638102d1970) at animation/qabstractanimation.cpp:747
      #5  0x00007f43cc79402b in QObject::event (this=0x5638102d1970, e=<optimized out>) at kernel/qobject.cpp:1232
      #6  0x00007f43cc76a489 in QCoreApplication::notifyInternal2 (receiver=0x5638102d1970, event=event@entry=0x7ffd26d0c3f0)
          at ../../include/QtCore/5.11.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
      #7  0x00007f43cc7bab38 in QCoreApplication::sendEvent (event=0x7ffd26d0c3f0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
      #8  QTimerInfoList::activateTimers (this=0x56380f4bfa10) at kernel/qtimerinfo_unix.cpp:643
      #9  0x00007f43cc7bb394 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
      #10 0x00007f43cb9e7f2e in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
      #11 0x00007f43cb9e81c8 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
      #12 0x00007f43cb9e825c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
      #13 0x00007f43cc7bb743 in QEventDispatcherGlib::processEvents (this=0x56380f4bd810, flags=...) at kernel/qeventdispatcher_glib.cpp:424
      #14 0x00007f43c6f9e491 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
      #15 0x00007f43cc76915b in QEventLoop::exec (this=this@entry=0x7ffd26d0c670, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
      #16 0x00007f43cc771132 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
      

      Attachments

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

        Activity

          People

            cnn Qt Core & Network
            pauldotknopf Paul Knopf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes