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

Native shell on ReactOS breaks when non-existing command

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None

    Description

      ReactOS-bootcd-0.4.17-dev-1129-g05c8323-x86-gcc-lin-rel

      When I enter a non-existent command, on ReactOS this native.exe program breaks; while on WinXP and WinServer2003 it shows message "not recognized" .

       

      I manually entered it into the registry and copied native.exe to system32 (not used .reg scripts).

       

      In nativeshell_0.12.rar is source.

       

      when I try not-existing command, row:

       

      (sdk/lib/rtl/heap.c:2323) HEAP: Trying to free an invalid address 0006F370!
      (ntoskrnl/ke/i386/exp.c:1032) Kill native.exe, ExceptionCode: c0000005, ExceptionAddress: 7C94E410, BaseAddress: 01000000, P0: 0, P1: 55732

      explains it!

      Also, now I see that sysinternal's autoruns too can set "Boot execute" for native programs.

      Attachments

        1. NS_RO1.png
          NS_RO1.png
          7 kB
        2. NS_Win.png
          NS_Win.png
          9 kB
        3. native_log.log
          32 kB
        4. native_on_2003.png
          native_on_2003.png
          9 kB
        5. registry.png
          registry.png
          32 kB
        6. nativeshell_0.12.rar
          36 kB
        7. native.exe
          20 kB
        8. autoruns.png
          autoruns.png
          18 kB
        9. help.png
          help.png
          13 kB
        10. image-2026-10-19-09-31-12-336.png
          image-2026-10-19-09-31-12-336.png
          19 kB
        11. native2.log
          17 kB
        12. native3.log
          17 kB
        13. log2lines.png
          log2lines.png
          17 kB
        14. t1.png
          t1.png
          18 kB
        15. t2.png
          t2.png
          17 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tompex tompex
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: