Win error 0xC0000142 since windows-2022 runner version 20240603.1.0 #10008
Replies: 2 comments
-
After hours of debug and tests, it seems that the VC++ runtime has been broken in the upgraded windows-2022 image. I reported the bug as issue #10020 |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is definitely a bug in the windows-2024 runner. Many people complain in #10004 and #10020. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a build failure on runner windows-2022 since the upgrade
In the latter case, running an .exe that was just built, as part of the same job, now fails and exits with status -1073741502 (0xC0000142).
I cannot find an exact match for this error code. From Google, it seems to be a general error code when Windows is unable to start an application. Not very informative...
Context
The job is a "nightly build" of an open source project (https://github.com/tsduck/tsduck).
The executable is built and run inside the job. Its execution fails with status 0xC0000142.
It is a simple console application, a command-line tool named
tsxml.exe
. As the name implies, it manipulates XML files and outputs another XML file. The input XML files are part of the source files. The output XML file is part of the deliverables.The command is run as part of the MSBuild project files as an
AfterTargets='Build'
for the executabletsxml.exe
.Works fine everywhere else
When the same build job is run on my Windows 11 system with Microsoft Visual Studio Community 2022 Version 17.10.1, it works fine.
This build job has been run for years on GitHub and on local systems, Windows 10 and 11.
The only key difference is the migration of the GitHub Windows runner. Any similar issue? Any idea?
Logs
Build logs from the Windows GitHub runners:
The failed command has a very long command line. It appears in the log as:
Any idea would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions