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

QMLLS crashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.8, 6.10
    • 6.8.3
    • QML: Tooling
    • None
    • Linux/Wayland
    • e29d00056 (dev), ab39e11d0 (6.9)

    Description

      Using this simple qml, qmlls will crash
       

      import QtQuick
      Rectangle {            
          MouseArea {           
              id: handler
              anchors.fill: parent
              drag.axis: Drag.XAxis
              drag.minimumX: 0
              }
      }
       

       

      #0  0x00007fb8bcc2996c in QQmlJSScope::hasEnumerationKey(QString const&) const () from tools/Qt6/bin/../../../lib/libQt6QmlCompiler.so.6
      #1  0x000055e2bd6c5059 in QQmlLSUtils::resolveIdentifierExpressionType(QQmlJS::Dom::DomItem const&, QQmlLSUtils::ResolveOptions) ()
      #2  0x000055e2bd6baeac in QQmlLSUtils::resolveExpressionType(QQmlJS::Dom::DomItem const&, QQmlLSUtils::ResolveOptions) ()
      #3  0x000055e2bd71855b in HighlightingVisitor::highlightBySemanticAnalysis(QQmlJS::Dom::DomItem const&, QQmlJS::SourceLocation) ()
      #4  0x000055e2bd713ca1 in HighlightingVisitor::operator()(QQmlJS::Dom::Path, QQmlJS::Dom::DomItem const&, bool) ()
      .... 

      Attachments

        For Gerrit Dashboard: QTBUG-136552
        # Subject Branch Project Status CR V

        Activity

          People

            semih.yavuz Semih Yavuz
            roussinm Maxime Roussin-Bélanger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes