Skip to content

Application cannot start new process Error: 0xc0000142 #18874

Open
@xmasmc

Description

@xmasmc

Windows Terminal version

1.22.11141.0

Windows build number

10.0.22631.5262

Other Software

ingres 10, compiled with Viscual C++ 2010

Steps to reproduce

Using database 4GL software (ingres 10), which works perfect in old cmd windows with legacy mode. Without legacy mode, I have the problem, if the software try to start a new process with CreateProcess() it fails, error message:
cmd.exe - Application Error The application was unable to start correctly (0xc0000142). Click OK to close the application.
Sytemcalls with system() inside the 4GL code works.
Exact the same problem with windows terminal 1.22.11141.0 and with preview 1.23.11132.0
I make a small test C program, compiled with VC 2010, using nearly the same code, as inside the ingres application (CreateProcess...) works without problems.

Expected Behavior

no error message and starting the process like cmd with legacy mode

Actual Behavior

error message:
cmd.exe - Application Error The application was unable to start correctly (0xc0000142). Click OK to close the application.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.Needs-AttentionThe core contributors need to come back around and look at this ASAP.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingProduct-ConhostFor issues in the Console codebase

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions