Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: vcpkg has crashed; no additional details are available. #23967

Closed
UnknownObject000 opened this issue Apr 3, 2022 · 3 comments
Closed

Comments

@UnknownObject000
Copy link

Describe the bug
I want to upgrade my packages using vcpkg upgrade --no-dry-run and I got vcpkg has crashed error.

Environment

  • OS: Windows 11 build 22581.ni_release
  • Compiler: Visual Studio 2022 (VC16)

To Reproduce
Steps to reproduce the behavior:
./vcpkg upgrade --no-dry-run

Expected behavior
Upgrade my packages instead of just crash

Failure logs
PS F:\vcpkg> vcpkg upgrade --no-dry-run
A suitable version of cmake was not found (required v3.22.2). Downloading portable cmake v3.22.2...
Extracting cmake...
A suitable version of 7zip was not found (required v21.7.0). Downloading portable 7zip v21.7.0...
Extracting 7zip...
Error: vcpkg has crashed; no additional details are available.
The source line is D:\a_work\1\s\src\vcpkg\archives.cpp(100)

@DethRaid
Copy link
Contributor

DethRaid commented Apr 3, 2022

I just got the exact same issue, except I'm on Windows 10 OS build 19044.1586

I upgraded vcpkg to get the latest version of DirectXTex, but I guess vcpkg is broken rn

@DethRaid
Copy link
Contributor

DethRaid commented Apr 3, 2022

Looks like other people have run into this - see #21117 . PhoebeHui repro'd the issue last year, but I don't see anything about fixing it. Looks like other people have been hitting the issue in the last two days

That issue suggests re-running ./bootstrap-vcpkg.bat after git pulling to update your local vcpkg. I ran the bootstrap script and can now build my project

My feedback on this issue: VCPKG should say something far more helpful than "vcpkg has crashed; no additional details are available." Maybe it could say "old version of the vcpkg executable detected! Please run ./bootstrap-vcpkg.bat to upgrade"

@UnknownObject000
Copy link
Author

Looks like other people have run into this - see #21117 . PhoebeHui repro'd the issue last year, but I don't see anything about fixing it. Looks like other people have been hitting the issue in the last two days

That issue suggests re-running ./bootstrap-vcpkg.bat after git pulling to update your local vcpkg. I ran the bootstrap script and can now build my project

My feedback on this issue: VCPKG should say something far more helpful than "vcpkg has crashed; no additional details are available." Maybe it could say "old version of the vcpkg executable detected! Please run ./bootstrap-vcpkg.bat to upgrade"

Thank you for the advice, my vcpkg can successfully running now. I think you're right, if they give more information when such thing happens then I don't need to open this issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants