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

infinite loop in jom.exe

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • Qt Creator 2.4.0
    • Jom
    • None
    • Windows 7 32 & 64 bit CMake/NMake using cl.exe from VS2008 SP1.

    Description

      on some machines (~15%), when I run jom.exe it freezes and becomes stuck in an infinite loop consuming CPU in the kernel space. The loop is occurring very early on, even prior to hitting isSubJOM(QString) check. If I add some delay in the program by adding a few printfs to the main() and recompile it will work correctly on the machine it was previously failing on.

      int main(int argc, char* argv[])
      {
      qDebug("Hello, this is line one of jom.exe main");

      SetConsoleCtrlHandler(&ConsoleCtrlHandlerRoutine, TRUE);
      qDebug("After SetConsoleCtrlHandler method");
      Application app(argc, argv);
      qDebug("After Application init");
      QTextCodec::setCodecForLocale(QTextCodec::codecForName("IBM 850"));

      Attachments

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              chris-piekarski Chris Piekarski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes