Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-13268

LdrpInit causes busy-wait if secondary thread is started during process initialization

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.6
    • NTCore
    • None

    Description

      When starting LibreOffice's soffice.exe portal application, CPU usage goes to 100% and it takes over two minutes for the app to finish loading. Breaking into the debugger shows that we're waiting for LdrpProcessInitialized to become 2.
      The while (!LdrpProcessInitialized) condition in this loop is never true and ZwDelayExecution never executed, so this ends up being a busy wait. With that check fixed, soffice finishes loading in about 10 seconds.

      Attachments

        Issue Links

          Activity

            People

              ThFabba ThFabba
              ThFabba ThFabba
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: