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

With 25Mb RAM: Infinite silent cycle in LoadLibrary internals (both RH & VMs)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • NTCore
    • None
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      Booting up ReactOS from LiveCD traps machine into infinite cycle, continuously reading CD, (with periodic sound of reading the CD), and machine does it as long as it turned on, no interruptions.
      This bug I've found initially in 2008-Sep version and it's alive till now, every recent version.
      Machine config is CPU:Core2Duo,RAM:4Gb
      Machine has no serial port to use for logging, I use SCREEN debugport to see what's happening.
      Keyboard driver (i8042prt.sys) which handles TAB+k for getting into KDB is not started at the moment of trapping into to infinite loop.
      Ejection of CDROM throws exception (/FIRSTCHANCE is set):

      kdb:> bt
      EIP (see later)
      Frames:
      //"top triplet":
      ntdll.dll 51b7 dll/ntdll/ldr/utils.c:1632 (LdrpProcessImportDirectoryEntry) // *ImportAddressList = LdrGetExportByName(ImportedModule->DllBase, pe_name->Name, pe_name->Hint);
      ntdll.dll 59cb dll/ntdll/ldr/utils.c:2067 (LdrFixupImports) //Status = LdrpProcessImportDirectoryEntry(Module, ImportedModule, ImportModuleDirectoryCurrent);
      ntdll.dll 5fc1 dll/ntdll/ldr/utils.c:2387 (LdrpLoadModule) //Status = LdrFixupImports(SearchPath, Module); / fixup the imported calls entry points */
      //"infinite triplets":
      ntdll.dll 618a dll/ntdll/ldr/utils.c:1498 (LdrpGetOrLoadModule) //Status = LdrpLoadModule(SearchPath, 0, &DllName, Module, NULL);
      ntdll.dll 5939 dll/ntdll/ldr/utils.c:2053 (LdrFixupImports) //Status = LdrpGetOrLoadModule(SearchPath, ImportedName, &ImportedModule, TRUE);
      ntdll.dll 5fc1 dll/ntdll/ldr/utils.c:2387 (LdrpLoadModule) //Status = LdrFixupImports(SearchPath, Module); / fixup the imported calls entry points */
      //"base":
      ntdll.dll 6668 dll/ntdll/ldr/utils.c:913 (LdrLoadDll@16)
      kernel32.dll 21530 dll/win32/kernel32/misc/ldr.c:287 (LoadLibraryExW@12)
      kernel32.dll 215aa dll/win32/kernel32/misc/ldr.c:163 (LoadLibraryW@4)
      gdi32.dll cf12 dll/win32/gdi32/objects/printdrv.c:196 (@LoadTheSpoolerDrv@0)
      gdi32.dll 88aa dll/win32/gdi32/objects/dc.c:23 (@IntCreateDICW@20)
      gdi32.dll 8b9d dll/win32/gdi32/objects/dc.c:195 (CreateDCW@16)
      user32.dll 2a55e dll/win32/user32/windows/cursoricon.c:580 (CURSORICON_CreateIconFromBMI)
      user32.dll 2aa93 dll/win32/user32/windows/cursoricon.c:810 (CreateIconFromResourceEx@28)
      user32.dll 2b347 dll/win32/user32/windows/cursoricon.c:943 (CURSORICON_Load)
      user32.dll 2bcf4 dll/win32/user32/windows/cursoricon.c:1873 (LoadImageW@24)
      user32.dll 2befe dll/win32/user32/windows/cursoricon.c:1355 (LoadCursorW@8)
      user32.dll 15fc6 dll/win32/user32/controls/regcontrol.c:71 (RegisterSystemControls@0)
      user32.dll 27dd0 dll/win32/user32/windows/class.c:1111 (RegisterClassExWOWW@20)
      user32.dll 28608 dll/win32/user32/windows/class.c:1241 (RegisterClassExW@4)
      win32csr.dll 5869 subsystems/win32/csrss/win32csr/desktopbg.c:149 (CsrCreateDesktop@8)
      csrsrv.dll 1672 subsystems/win32/csrss/csrsrv/api/wapi.c:94 (@CsrApiCallHandler@8)
      csrsrv.dll 1e9d subsystems/win32/csrss/csrsrv/api/wapi.c:358 (ClientConnectionThread@4)
      <00000000>

      EIP typical values:
      EIP:
      I ntdll.dll 26972 lib\sdk\crt\string\i386\/tcscmp.inc:20 (strcmp)
      II ntdll.dll 7bf2 dll\ntdll\dispatch\i386\dispatch.S:190 (RtlGetVersion@4)
      III ntdll.dll 68bc dll/ntdll/ldr/utils.c:1264 (LdrGetExportByName)

      Where "infinite triplets" calls are repeating several times, core of infinite cycle, depending of how much time passed until break.
      and "top triplet" is always the same.

      Attachments

        Issue Links

          Activity

            People

              bug zilla Bug Zilla
              Mna. Mna.
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: