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

"font.<property>:" causes crash in Qml debugger

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.3.1, 6.4.0 Beta2
    • QML: Tooling
    • None
    • Linux/X11

    Description

      Having a "font.pointSize:", "font.family:" or similar assignments in an Item causes a crash in the qml debugger.

      This can be reproduced when debugging the qml file embedded in a C++ application or via the plain qml tool.

      import QtQuick
      import QtQuick.Window
      
      Window {
          visible: true
      
          Text {
              font.pointSize: 24 // <- Causes crash in qml debugegr
          }
      }
      
      Thread 1 (Thread 0x7ffff3546900 (LWP 27321)):
      #0  0x00007ffff776bedf in ?? () from /home/alportal/Qt/6.4.0/gcc_64/lib/libQt6Gui.so.6
      No symbol table info available.
      #1  0x00007ffff7a2764f in QFont::family() const () from /home/alportal/Qt/6.4.0/gcc_64/lib/libQt6Gui.so.6
      No symbol table info available.
      #2  0x00007ffff0c9560a in QQuickFontValueType::family() const () from /home/alportal/Qt/6.4.0/gcc_64/lib/libQt6Quick.so.6
      No symbol table info available.
      #3  0x00007ffff0c95bb0 in ?? () from /home/alportal/Qt/6.4.0/gcc_64/lib/libQt6Quick.so.6
      No symbol table info available.
      #4  0x00007ffff6b79493 in QMetaProperty::read(QObject const*) const () from /home/alportal/Qt/6.4.0/gcc_64/lib/libQt6Core.so.6
      No symbol table info available.
      #5  0x00007ffff07b7037 in ?? () from /home/alportal/Qt/6.4.0/gcc_64/plugins/qmltooling/libqmldbg_debugger.so
      No symbol table info available.
      #6  0x00007ffff07b787c in ?? () from /home/alportal/Qt/6.4.0/gcc_64/plugins/qmltooling/libqmldbg_debugger.so
      No symbol table info available.
      #7  0x00007ffff07b7a05 in ?? () from /home/alportal/Qt/6.4.0/gcc_64/plugins/qmltooling/libqmldbg_debugger.so
      No symbol table info available.
      #8  0x00007ffff07b135d in ?? () from /home/alportal/Qt/6.4.0/gcc_64/plugins/qmltooling/libqmldbg_debugger.so
      No symbol table info available.
      #9  0x00007ffff6bb97fc in QObject::event(QEvent*) () from /home/alportal/Qt/6.4.0/gcc_64/lib/libQt6Core.so.6
      No symbol table info available.
      #10 0x00007ffff6b6987a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/alportal/Qt/6.4.0/gcc_64/lib/libQt6Core.so.6
      No symbol table info available.
      #11 0x00007ffff6b6c7cd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /home/alportal/Qt/6.4.0/gcc_64/lib/libQt6Core.so.6
      No symbol table info available.
      #12 0x00007ffff6e0da63 in ?? () from /home/alportal/Qt/6.4.0/gcc_64/lib/libQt6Core.so.6
      No symbol table info available.
      #13 0x00007ffff63c117d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      No symbol table info available.
      #14 0x00007ffff63c1400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      No symbol table info available.
      #15 0x00007ffff63c14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      No symbol table info available.
      #16 0x00007ffff6e0d3ea in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/alportal/Qt/6.4.0/gcc_64/lib/libQt6Core.so.6
      No symbol table info available.
      #17 0x00007ffff6b75c4b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/alportal/Qt/6.4.0/gcc_64/lib/libQt6Core.so.6
      No symbol table info available.
      #18 0x00007ffff6b7172e in QCoreApplication::exec() () from /home/alportal/Qt/6.4.0/gcc_64/lib/libQt6Core.so.6
      No symbol table info available.
      #19 0x0000555555556a28 in main (argc=1, argv=0x7fffffffe098) at ../qtquickcontrols2/main.cpp:38
              app = <incomplete type>
              __PRETTY_FUNCTION__ = "int main(int, char**)"
              engine = <incomplete type>
              url = {d = 0x555555634a50}
              buttonHandler = {<QObject> = {<No data fields>}, static staticMetaObject = {d = {superdata = {direct = 0x7ffff7093c20 <QObject::staticMetaObject>}, stringdata = 0x555555558160 <qt_meta_stringdata_CppMessageButtonHander>, data = 0x5555555581c0 <qt_meta_data_CppMessageButtonHander>, static_metacall = 0x555555556bdc <CppMessageButtonHander::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x55555555ab80 <qt_incomplete_metaTypeArray<qt_meta_stringdata_CppMessageButtonHander_t, QtPrivate::TypeAndForceComplete<CppMessageButtonHander, std::integral_constant<bool, true> >, QtPrivate::TypeAndForceComplete<void, std::integral_constant<bool, false> > >>, extradata = 0x0}}}
              ret = 0
      

      Attachments

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              portale Alessandro Portale
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes