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

Crash when closing a QML app with debugger session

    XMLWordPrintable

Details

    Description

      Using Qt Creator and its QML Inspector to open a debugger session for a QML file, you get the following assert when closing the viewer:
      ASSERT: "runningLeafAnimations >= 0" in file /home/lasse/dev/qt/qt-qml/src/corelib/animation/qabstractanimation.cpp, line 324

      In this case, I was debugging examples/dial/dial-example.qml. If I run the example without debugging, no crashes occur - hence the assumption that it's the debugger.

      Stacktrace:

      0 __kernel_vsyscall 0 0xb7fe2430
      1 *__GI_raise raise.c 64 0xb5ee14d1
      2 *__GI_abort abort.c 92 0xb5ee4932
      3 qt_message_output qglobal.cpp 2253 0xb61d57e3
      4 qt_message qglobal.cpp 2299 0xb61d59dc
      5 qFatal qglobal.cpp 2482 0xb61d5dfa
      6 qt_assert qglobal.cpp 2016 0xb61d537c
      7 QUnifiedTimer::unregisterRunningAnimation qabstractanimation.cpp 324 0xb61bb234
      8 QUnifiedTimer::unregisterAnimation qabstractanimation.cpp 284 0xb61bb05a
      9 ~QAbstractAnimation qabstractanimation.cpp 459 0xb61bb8bf
      10 ~FrameBreakAnimation qdeclarativeview.cpp 73 0xb7cd4fec
      11 QObjectPrivate::deleteChildren qobject.cpp 1974 0xb6318a2e
      12 ~QObject qobject.cpp 971 0xb631680e
      13 ~QDeclarativeDebugService qdeclarativedebugservice_p.h 55 0xb7cd407f
      14 ~QDeclarativeViewDebugServer qdeclarativeview.cpp 89 0xb7cd433c
      15 ~QGlobalStaticDeleter qglobal.h 1811 0xb7cd46af
      16 __run_exit_handlers exit.c 78 0xb5ee605f
      17 *__GI_exit exit.c 100 0xb5ee60cf
      18 __libc_start_main libc-start.c 252 0xb5ecdb5e
      19 _start start.S 119 0x0804c2c1

      Attachments

        Issue Links

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

          Activity

            People

              bealam Bea Lam (closed Nokia identity) (Inactive)
              holmsted Lasse Holmstedt
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes