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

Trying to debug samegame demos crashes it

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.4.3, 6.4
    • 6.4.2
    • QML: Tooling
    • Ubuntu 20.04 LTS
      self-built Qt 6.4.2
    • 4501cda65 (6.4)

      1. Open the samegame demo project in Creator.
        It's in examples/demos/samegame/samegame.pro of git://code.qt.io/qt/qtdoc.git
      2. Make sure the "Debug" build configuration is active.
      3. Run the project.
        The demo nicely shows its start screen.
      4. Close the running demo.
      5. Try debugging the project.
        Before the demo properly started, Creator informs you that it stopped with SIGSEGV. Creator shows a stack trace:
        1  QMetaObject::metacall(QObject *, QMetaObject::Call, int, void * *)                           0x7ffff652cb33 
        2  QMetaProperty::read(QObject const *) const                                                   0x7ffff652f046 
        3  QMetaProperty::readOnGadget(void const *) const                                              0x7ffff652f342 
        4  QQmlEngineDebugServiceImpl::propertyData(QObject *, int)                                     0x7ffff012c184 
        5  QQmlEngineDebugServiceImpl::buildObjectDump(QDataStream&, QObject *, bool, bool)             0x7ffff012cbb6 
        6  QQmlEngineDebugServiceImpl::processMessage(QByteArray const&)                                0x7ffff012dce2 
        7  QObject::event(QEvent *)                                                                     0x7ffff6571547 
        8  QCoreApplication::notifyInternal2(QObject *, QEvent *)                                       0x7ffff652005a 
        9  QCoreApplicationPrivate::sendPostedEvents(QObject *, int, QThreadData *)                     0x7ffff65269b5 
        10 postEventSourceDispatch(_GSource *, int ( *)(void *), void *)                                0x7ffff67e11a7 
        11 g_main_context_dispatch                                                                      0x7ffff58b817d 
        12 ??                                                                                           0x7ffff58b8400 
        13 g_main_context_iteration                                                                     0x7ffff58b84a3 
        14 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)                   0x7ffff67e0ab8 
        15 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)                                      0x7ffff652b5fb 
        16 QCoreApplication::exec()                                                                     0x7ffff6527926 
        17 main                                                                             main.cpp 22 0x55555555678d 
        

        1. left.log
          11 kB
        2. right.log
          79 kB
        For Gerrit Dashboard: QTBUG-111136
        # Subject Branch Project Status CR V

            ulherman Ulf Hermann
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes