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

MS ole32 needs RPCRT4.dll!NdrCreateServerInterfaceFromStub

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4.15
    • Component/s: None
    • Labels:
      None
    • Environment:

      VirutalBox 5.1.38.

      Description

      To reproduce the bug, simply:

      1. Go to system32.
      2. Delete our ole32.dll.
      3. Copy MS ole32.dll there.
      4. Open Run dialog by pressing Win + R.
      5. Type "regsvr32 ole32.dll" and press Enter.
      6. Click OK in the appeared messagebox to close it.
      7. Reboot ReactOS.

      After this, at the next boot, the system will fail to initializate desktop and will appear an error that NdrCreateServerInterfaceFromStub is missing in our rpcrt4.dll. In MS_ole32.log I see the following:

      (dll/ntdll/ldr/ldrpe.c:1047) Failed to snap RPCRT4.dll!NdrCreateServerInterfaceFromStub for ole32.dll
      

       

      After exporting that function as "stub", MS ole32 does no longer fail due to our rpcrt4 and lods successfully. Although appears another unrelated explorer crash, so desktop still fails to initializate, but nevertheless the rpcrt4 problem is fixed by adding that stub.

      Tested with 0.4.15-dev-138-g855bf46.

        Attachments

        1. MS_ole32_after.png
          MS_ole32_after.png
          11 kB
        2. MS_ole32_before.png
          MS_ole32_before.png
          11 kB
        3. MS_ole32.log
          42 kB

          Issue Links

            Activity

              People

              • Assignee:
                bug zilla Bug Zilla
                Reporter:
                Oleg Dubinskij Oleg Dubinskiy
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: