Forum Discussion

prashant_gohel's avatar
prashant_gohel
Icon for New Contributor rankNew Contributor
7 months ago

Failed to launch NIOSV Command Shell. Getting (0xc0000142) application error.

Hello,

I'm having trouble with the Nios V Command Shell; specifically, I cannot start the shell (niosv-shell.exe) or the RiscFree IDE. Sometimes the program starts, and sometimes it does not.

Operating system: Windows 10 19045.5737 version 22H2.

Tool: Quartus Prime Pro 23.4

I'm getting an application error 0xc0000142: I've already reinstalled the Quartus tool a few times.


Also followed the steps from the link below.
https://thegeekpage.com/how-to-solve-application-error-0xc0000142-in-windows-10/

still getting the same issue.

45 Replies

    • DivyaG_Altera's avatar
      DivyaG_Altera
      Icon for New Contributor rankNew Contributor

      Hi Prashant,

      Since I’m unable to reproduce this issue, it’s hard to pinpoint the cause. I’ve checked the environment variable on my system and it mostly matches with yours, perhaps you could try updating the SOPC_KIT_NIOS2 under user variable to reference your current installation?

      Regards,

      Divya

      • prashant_gohel's avatar
        prashant_gohel
        Icon for New Contributor rankNew Contributor

        Hi Divya,

        Thank you for your response.

        I have updated the SOPC_KIT_NIOS2 path as suggested, but unfortunately, the issue persists—I am still encountering the application error.

        My Windows system operates under administrative restrictions. Could there be any background services or registry settings that require additional permissions to run the application properly?

        I have also attempted to run the application using "Run as Administrator," but the error remains the same.

  • Hi Prashant,

    We are not aware of any known issue and I cannot reproduce this at my end. It's interesting to see that two versions (23.4 and 24.3) far apart from each other show the exact same behavior. Do you only see this problem on a Windows machine ?

    Can you share a screenshot of how the environment variables are setup.

    Regards,

    Divya

    • prashant_gohel's avatar
      prashant_gohel
      Icon for New Contributor rankNew Contributor

      Hi Divya,


      We haven't tried on Linux system. As we only use windows system for Quartus tool.

      Best Regards,
      Prashant Gohel

  • Hi divya,

    Also the similar issue faced in some of my colleague system, in which we have intall Quartus 24.3 prime pro first time.

    Best Regards,
    Prashant Gohel

  • Hi Divya,

    Thank you for the reply,

    Yes, I have make sure that there is no outdated files in installation directory.

    Best Regards,
    Prashant Gohel

  • Hi Prashant,

    It appears you’ve already reinstalled the tools, yet the issue still persists.

    Are there any other files remaining in the Quartus installation directory? Could you perform a completely clean install to ensure no outdated files are left behind?

    Let me know if that works.

    Regards,

    Divya