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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.5.0, 5.6.1
    • Fix Version/s: 5.6.2
    • Component/s: Build tools: moc
    • Labels:
    • Environment:
      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

            Assignee:
            ogoffart Olivier Goffart (Woboq GmbH)
            Reporter:
            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