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

Potential bug inside prowriter.cpp

    XMLWordPrintable

Details

    • eb93ad3553908210e92a80a6d5711d34d66fbf54

    Description

      When trying to fix tst_profilewriter I'm running into trouble inside prowriter.cpp:

      • change the lines (5)

      ProFile *proFile = parser.parsedProBlock(QLatin1String(BASE_DIR "/test.pro"), input);

      to

      ProFile *proFile = parser.parsedProBlock(input, QLatin1String(BASE_DIR "/test.pro"));

      to follow the expected order of arguments of parsedProBlock()

      • recompile the tst_profilewriter and execute it

      Current result:

      • test runs into QList::at(-1) which crashes the test

      Attachments

        1. backtrace
          8 kB
          Christian Stenger

        Activity

          People

            buddenha Oswald Buddenhagen
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: