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

[REG 5.4.2 -> 5.5.0] Malformed input file crashes moc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.6.2
    • 5.5.0, 5.6.1
    • Build tools: moc
    • Ubuntu 16.04 64 bit

    Description

      moc crashes when run on the attached malformed file.

      It's clear that moc can't generate something useful from this file but still it should not crash. Qt 5.4.2 finished safely with an error message:

      /tmp/crashmoc.h:0: Note: No relevant classes found. No output generated.
      

      Attachments

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

        Activity

          People

            ogoffart Olivier Goffart (Woboq GmbH)
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes