Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-15020

Crash when typing valid QML

    XMLWordPrintable

Details

    • fcd59af30ff085cf51ec6b083d671e436377e4d3

    Description

      1. Create a new Qt Quick Application project with minimum Qt version 5.3.
      2. In the project's main.qml file, typing the following lines above the MouseArea item:
            Timer {
                onTriggered: 
        
      3. Place the cursor behind "onTriggered: " and start recording a macro using "Tools" -> "Text Editing Macros" -> "Record Macro".
      4. Type
        console.log("
        
      5. Stop recording using "Tools" -> "Text Editing Macros" -> "Stop Recording Macro".
      6. Remove what you typed for the macro and place the cursor behind "onTriggered: " again.
      7. Play the macro using "Tools" -> "Text Editing Macros" -> "Play Last Macro".
        Creator crashes.

      The macro recording is not related to the crash. You just need to type very quickly, but since I'm not able to type that quickly, the crash can be reproduced more easily using the macro.

      Found and tested by Squish test tst_simple_debug and others.

      Attachments

        1. backtrace.txt
          42 kB
          Robert Löhning

        Issue Links

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

          Activity

            People

              rlohning Robert Löhning
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes