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

[AMD64] Both x86 and amd64 executables fail to run with "Machine Type Mismatch" error in user mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • None
    • None

    Description

      Description

      On a freshly compiled 64-bit ReactOS build (AMD64), it is impossible to launch any executable files in user mode.

      When attempting to run either 64-bit (VBoxWindowsAdditions-amd64.exe) or 32-bit (VBoxWindowsAdditions-x86.exe) binaries, explorer.exe throws a "Machine Type Mismatch" error dialog stating:
      "The image file ??\D:\... is valid, but is for a machine type other than the current machine."

      This blocks the installation of essential drivers, including VirtualBox Guest Additions.

      Environment

      • ReactOS Version: 0.4.17-amd64-dev (Build 20261001-0.4.17-dev-966-gf06eace)
      • Compiler: GCC 13.2.0 (RosBE 2.3.0 AMD64)
      • Environment: VirtualBox VM (configured for x64 OS)

      Debug log

      err:(/win32ss/user/user32/windows/messagebox.c:1048) MessageBox: L"The image file \\??\\D:\\VBoxWindowsAdditions-x86.exe is valid, but is for a machine type other than the current machine.\r\n"
      err:(/win32ss/user/user32/windows/window.c:496) CreateWindowExW RegisterSystemControls
      WARNING:  MmLockPageableDataSection at /ntoskrnl/mm/ARM3/drvmgmt.c:62 is UNIMPLEMENTED!
      WARNING:  MmUnlockPageableImageSection at /ntoskrnl/mm/ARM3/drvmgmt.c:39 is UNIMPLEMENTED!
      (/dll/win32/kernel32/client/proc.c:3548) Invalid image architecture: 14c
      err:(/win32ss/user/user32/windows/messagebox.c:1048) MessageBox: L"The image file D:\\VBoxWindowsAdditions-x86.exe is valid, but is for a machine type other than the current machine.\r\n"
      err:(/win32ss/user/user32/windows/messagebox.c:1048) MessageBox: L"The image file \\??\\D:\\VBoxWindowsAdditions-amd64.exe is valid, but is for a machine type other than the current machine.\r\n"
      (/dll/win32/kernel32/client/proc.c:3548) Invalid image architecture: 14c
      err:(/win32ss/user/user32/windows/messagebox.c:1048) MessageBox: L"The image file D:\\VBoxWindowsAdditions-amd64.exe is valid, but is for a machine type other than the current machine.\r\n"
      

      Steps to reproduce

      1. Boot into ReactOS 0.4.17-amd64-dev desktop.
      2. Insert VirtualBox Guest Additions ISO.
      3. Try to execute either VBoxWindowsAdditions-amd64.exe or VBoxWindowsAdditions-x86.exe.
      4. Observe the "Machine Type Mismatch" error blocking the execution.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              PavelCheloveckov PavelCheloveckov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: