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

MacroExpander goes into infinite loop when setting %{CurrentRun:Executable:Path} as RC's working directory

    XMLWordPrintable

Details

    • f6c276daf03c59326bdf1fec3a44c48307912fae (qt-creator/qt-creator/4.9)

    Description

      I have a big project that uses CMake and ninja for the build system. When QtC retrieves information about project, it hangs for a several minutes: UI not responsive. It happens on project opening, after build etc.

      Profiling with callgrind I see, that some work done in the Utils::AbstractMacroExpander::expandNestedMacros.

      I attached the callgrind log.

      Attachments

        1. callgrind.tar.gz
          513 kB
        2. crash_stack_trace.txt
          7.98 MB
        3. hang_stack_trace.txt
          542 kB

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              krnekit Nikita Krupenko
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes