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

Malformed qml file crashes qtquickcompiler and qmlcachegen

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.6.2, 5.8.0 Beta, 5.9, 5.10.1
    • Fix Version/s: None
    • Labels:
    • Environment:
      Ubuntu 16.10 64 bit

      Description

      Run qtqtuickcompiler on the attached file:

      ./qtquickcompiler -s /tmp/0.qml /dev/null
      

      It will crash.

      qtquickcompiler might not be able to generate valid C++ from this file, but it should never crash.

        Attachments

        1. backtrace.txt
          18 kB
        2. 0.qml
          0.3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            shausman Simon Hausmann
            Reporter:
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes