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

MS ole32 needs RPCRT4.dll!NdrCreateServerInterfaceFromStub

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.15
    • None
    • None
    • 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.log
          42 kB
        2. MS_ole32_after.png
          MS_ole32_after.png
          11 kB
        3. MS_ole32_before.png
          MS_ole32_before.png
          11 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: