Closed MMitsuha closed 3 years ago
@caizhe666, could you get vcpkg latest source and see if this issue still repro?
Yes, I tried the latest version(2021-08-12-85ab112d5ee102bc6eac8cdbbfdd173a71374e04) and still crashed
@caizhe666,t thanks for your reply!
Could you execute 'vcpkg install cryptopp:x64-windows --debug' and attach the failure logs?
C:\Users\宫水 三叶>vcpkg install cryptopp:x64-windows --debug
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'manifests' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] BuiltinRegistry initialized with: ""
[DEBUG] Using vcpkg-root: D:\Programs\vcpkg
[DEBUG] Using installed-root: D:\Programs\vcpkg\installed
[DEBUG] BuiltinRegistry initialized with: ""
[DEBUG] Using buildtrees-root: D:\Programs\vcpkg\buildtrees
[DEBUG] Using downloads-root: D:\Programs\vcpkg\downloads
[DEBUG] Using packages-root: D:\Programs\vcpkg\packages
[DEBUG] Using scripts-root: D:\Programs\vcpkg\scripts
[DEBUG] Using ports-root: D:\Programs\vcpkg\ports
[DEBUG] Using versions-root: D:\Programs\vcpkg\versions
[DEBUG] Default binary cache path is: C:\Users\宫水 三叶\AppData\Local\vcpkg\archives
Computing installation plan...
[DEBUG] Found path: D:\Programs\cmake-3.21.1-windows-x86_64\bin\cmake.exe
[DEBUG] CreateProcessW("D:\Programs\cmake-3.21.1-windows-x86_64\bin\cmake.exe" --version)
[DEBUG] cmd_execute_and_stream_data() returned 0 after 51472 us
[DEBUG] CreateProcessW("D:\Programs\cmake-3.21.1-windows-x86_64\bin\cmake.exe" -DVCPKG_ROOT_DIR=D:/Programs/vcpkg -DPACKAGES_DIR=D:/Programs/vcpkg/packages -DBUILDTREES_DIR=D:/Programs/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=D:/Programs/vcpkg/installed -DDOWNLOADS=D:/Programs/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "D:\Programs\vcpkg\buildtrees\0.vcpkg_tags.cmake")
[DEBUG] cmd_execute_and_stream_data() returned 0 after 29759 us
The following packages will be built and installed:
cryptopp[core]:x64-windows -> 8.5.0
[DEBUG] CreateProcessW("C:\Program Files (x86)\Microsoft Visual Studio/Installer/vswhere.exe" -all -prerelease -legacy -products * -format xml)
[DEBUG] cmd_execute_and_stream_data() returned 0 after 46152 us
Detecting compiler hash for triplet x64-windows...
[DEBUG] Found path: D:\Programs\Git\cmd\git.exe
[DEBUG] CreateProcessW("D:\Programs\vcpkg\downloads\tools\git-2.32.0.2-windows\mingw32\bin\git.exe" --version)
[DEBUG] cmd_execute_and_stream_data() returned 0 after 32288 us
-- Using HTTP(S)_PROXY in environment variables.
[DEBUG] CreateProcessW("D:\Programs\vcpkg\downloads\tools\powershell-core-7.1.3-windows\pwsh.exe" --version)
[DEBUG] cmd_execute_and_stream_data() returned 0 after 347124 us
[DEBUG] CreateProcessW(cmd /c "C:\VS_IDE\VC\Auxiliary/Build\vcvarsall.bat" -vcvars_ver=14.2 amd64 2>&1 <NUL & echo cdARN4xjKueKScMy9C6H & set)
[DEBUG] cmd_execute_and_stream_data() returned 0 after 1279480 us
[DEBUG] command line: cmd /c "C:\VS_IDE\VC\Auxiliary/Build\vcvarsall.bat" -vcvars_ver=14.2 amd64 2>&1 <NUL & echo cdARN4xjKueKScMy9C6H & set
[DEBUG] **********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.10.4
** Copyright (c) 2021 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
cdARN4xjKueKScMy9C6H
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\宫水 三叶\AppData\Roaming
CommandPromptType=Native
CommonProgramFiles=C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=WINKILLER
ComSpec=C:\WINDOWS\system32\cmd.exe
DevEnvDir=C:\VS_IDE\Common7\IDE\
ExtensionSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs
Framework40Version=v4.0
FrameworkDir=C:\Windows\Microsoft.NET\Framework64\
FrameworkDir64=C:\Windows\Microsoft.NET\Framework64\
FrameworkVersion=v4.0.30319
FrameworkVersion64=v4.0.30319
HOMEDRIVE=C:
HOMEPATH=\Users\宫水 三叶
HTMLHelpDir=C:\Program Files (x86)\HTML Help Workshop
IFCPATH=C:\VS_IDE\VC\Tools\MSVC\14.29.30037\ifc\x64
INCLUDE=C:\VS_IDE\VC\Tools\MSVC\14.29.30037\ATLMFC\include;C:\VS_IDE\VC\Tools\MSVC\14.29.30037\include;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt
LIB=C:\VS_IDE\VC\Tools\MSVC\14.29.30037\ATLMFC\lib\x64;C:\VS_IDE\VC\Tools\MSVC\14.29.30037\lib\x64;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64
LIBPATH=C:\VS_IDE\VC\Tools\MSVC\14.29.30037\ATLMFC\lib\x64;C:\VS_IDE\VC\Tools\MSVC\14.29.30037\lib\x64;C:\VS_IDE\VC\Tools\MSVC\14.29.30037\lib\x86\store\references;C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.19041.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0;C:\Windows\Microsoft.NET\Framework64\v4.0.30319
LOCALAPPDATA=C:\Users\宫水 三叶\AppData\Local
LOGONSERVER=\\WINKILLER
NETFXSDKDir=C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW
Platform=x64
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_ARCHITEW6432=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=3c03
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files (x86)
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\Users\宫水三~1\AppData\Local\Temp
TMP=C:\Users\宫水三~1\AppData\Local\Temp
UCRTVersion=10.0.19041.0
UniversalCRTSdkDir=C:\Program Files (x86)\Windows Kits\10\
USERDOMAIN=WINKILLER
USERDOMAIN_ROAMINGPROFILE=WINKILLER
USERNAME=宫水 三叶
USERPROFILE=C:\Users\宫水 三叶
VCIDEInstallDir=C:\VS_IDE\Common7\IDE\VC\
VCINSTALLDIR=C:\VS_IDE\VC\
VCToolsInstallDir=C:\VS_IDE\VC\Tools\MSVC\14.29.30037\
VCToolsRedistDir=C:\VS_IDE\VC\Redist\MSVC\14.29.30036\
VCToolsVersion=14.29.30037
VisualStudioVersion=16.0
VS160COMNTOOLS=C:\VS_IDE\Common7\Tools\
VSCMD_ARG_app_plat=Desktop
VSCMD_ARG_HOST_ARCH=x64
VSCMD_ARG_TGT_ARCH=x64
VSCMD_ARG_VCVARS_VER=14.2
VSCMD_VER=16.10.4
VSINSTALLDIR=C:\VS_IDE\
windir=C:\WINDOWS
http_proxy=127.0.0.1:10809
Path=C:\VS_IDE\Common7\IDE\\Extensions\Microsoft\IntelliCode\CLI;C:\VS_IDE\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64;C:\VS_IDE\Common7\IDE\VC\VCPackages;C:\VS_IDE\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\VS_IDE\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\VS_IDE\MSBuild\Current\bin\Roslyn;C:\VS_IDE\Team Tools\Performance Tools\x64;C:\VS_IDE\Team Tools\Performance Tools;D:\VS\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019\\x64;D:\VS\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019\;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\;C:\Program Files (x86)\HTML Help Workshop;C:\VS_IDE\Common7\Tools\devinit;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\VS_IDE\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\VS_IDE\Common7\IDE\;C:\VS_IDE\Common7\Tools\;D:\Programs\vcpkg\downloads\tools\powershell-core-7.1.3-windows;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0\;C:\VS_IDE\VC\Tools\Llvm\x64\bin;C:\VS_IDE\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\VS_IDE\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja;C:\VS_IDE\Common7\IDE\VC\Linux\bin\ConnectionManagerExe
VSLANG=1033
VSCMD_SKIP_SENDTELEMETRY=1
VCPKG_COMMAND=D:/Programs/vcpkg/vcpkg.exe
WindowsLibPath=C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.19041.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0
WindowsSdkBinPath=C:\Program Files (x86)\Windows Kits\10\bin\
WindowsSdkDir=C:\Program Files (x86)\Windows Kits\10\
WindowsSDKLibVersion=10.0.19041.0\
WindowsSdkVerBinPath=C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\
WindowsSDKVersion=10.0.19041.0\
WindowsSDK_ExecutablePath_x64=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\
WindowsSDK_ExecutablePath_x86=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\
X_VCPKG_RECURSIVE_DATA={}
__devinit_path=C:\VS_IDE\Common7\Tools\devinit\devinit.exe
__DOTNET_ADD_64BIT=1
__DOTNET_PREFERRED_BITNESS=64
__VSCMD_PREINIT_PATH=D:\Programs\vcpkg\downloads\tools\powershell-core-7.1.3-windows;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0\
__VSCMD_script_err_count=0
[DEBUG] CreateProcessW("D:\Programs\cmake-3.21.1-windows-x86_64\bin\cmake.exe" -DCURRENT_PORT_DIR=D:/Programs/vcpkg/scripts/detect_compiler -DCURRENT_BUILDTREES_DIR=D:/Programs/vcpkg/buildtrees/detect_compiler -DCURRENT_PACKAGES_DIR=D:/Programs/vcpkg/packages/detect_compiler_x64-windows -D_HOST_TRIPLET=x64-windows -DCMD=BUILD -DDOWNLOADS=D:/Programs/vcpkg/downloads -DTARGET_TRIPLET=x64-windows -DTARGET_TRIPLET_FILE=D:/Programs/vcpkg/triplets/x64-windows.cmake -DVCPKG_BASE_VERSION=2021-08-12 -DVCPKG_CONCURRENCY=5 -DVCPKG_PLATFORM_TOOLSET=v142 -DGIT=D:/Programs/vcpkg/downloads/tools/git-2.32.0.2-windows/mingw32/bin/git.exe -DVCPKG_ROOT_DIR=D:/Programs/vcpkg -DPACKAGES_DIR=D:/Programs/vcpkg/packages -DBUILDTREES_DIR=D:/Programs/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=D:/Programs/vcpkg/installed -DDOWNLOADS=D:/Programs/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "D:\Programs\vcpkg\scripts\ports.cmake")
[DEBUG] -- Found external ninja('1.10.2').
[DEBUG] -- Configuring x64-windows
[DEBUG] [1/1] cmd /c "cd .. && "D:/Programs/cmake-3.21.1-windows-x86_64/bin/cmake.exe" "D:/Programs/vcpkg/scripts/detect_compiler" "-DCMAKE_MAKE_PROGRAM=C:/VS_IDE/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Programs/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/Programs/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/Programs/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/Programs/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/Programs/vcpkg/packages/detect_compiler_x64-windows""
[DEBUG] -- The C compiler identification is MSVC 19.29.30040.0
[DEBUG] -- The CXX compiler identification is MSVC 19.29.30040.0
[DEBUG] #COMPILER_HASH#25287e2c7349fbf4ad33f198aeee9d09587ac27f
[DEBUG] #COMPILER_C_HASH#a8df3cc0e948163fc35b07cdb25b9d9194654537
[DEBUG] #COMPILER_C_VERSION#19.29.30040.0
[DEBUG] #COMPILER_C_ID#MSVC
[DEBUG] #COMPILER_CXX_HASH#a8df3cc0e948163fc35b07cdb25b9d9194654537
[DEBUG] #COMPILER_CXX_VERSION#19.29.30040.0
[DEBUG] #COMPILER_CXX_ID#MSVC
[DEBUG] -- Configuring done
[DEBUG] -- Generating done
[DEBUG] CMake Warning:
[DEBUG] Manually-specified variables were not used by the project:
[DEBUG]
[DEBUG] BUILD_SHARED_LIBS
[DEBUG] CMAKE_INSTALL_BINDIR
[DEBUG] CMAKE_INSTALL_LIBDIR
[DEBUG] VCPKG_TARGET_ARCHITECTURE
[DEBUG] _VCPKG_ROOT_DIR
[DEBUG]
[DEBUG]
[DEBUG] -- Build files have been written to: D:/Programs/vcpkg/buildtrees/detect_compiler/x64-windows-rel
[DEBUG]
[DEBUG] cmd_execute_and_stream_data() returned 0 after 4988325 us
[DEBUG]
[DEBUG] Detected compiler hash for triplet x64-windows: 25287e2c7349fbf4ad33f198aeee9d09587ac27f
[DEBUG] <abientries for cryptopp:x64-windows>
[DEBUG] CONTROL|3a5c3922a10dd3f4c8ebf8768a29fdfed46ee315db19a6ae886c12ac913ad84f
[DEBUG] cmake|3.21.1
[DEBUG] cmake.patch|95d208756ce0647f11ad82f830637517aac18468e07996972b94b7528028ac27
[DEBUG] features|core
[DEBUG] patch.patch|3442c43b783a163b4d6f189a91f16b95adecf8d3959f305d725bded1b6f49f84
[DEBUG] portfile.cmake|1a201e1a9651ae8654ea595b8c11f70363bc09bbef8a467272bacd252f7bceb8
[DEBUG] ports.cmake|5bf26f518b06eedb893b9eb3eba1ca65b3ef696922f443dfb9589441a6579365
[DEBUG] post_build_checks|2
[DEBUG] powershell|7.1.3
[DEBUG] triplet|x64-windows
[DEBUG] triplet_abi|4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-b569c9954a47274946415ff01b1a344c8549f3fc19cb931d50bc09d1e5630c1d-25287e2c7349fbf4ad33f198aeee9d09587ac27f
[DEBUG] vcpkg_check_linkage|e5ad99ba10a67fae84fbf9b077a1d136a0a751343fbc8ec18c7bd83cab7eba6b
[DEBUG] vcpkg_configure_cmake|7ef59fb404a8ff25d9fe36e8a1a081de7f6b5aa9b52628207e1a955365f30a1f
[DEBUG] vcpkg_fixup_cmake_targets|8d64d53103181c0efa934964830b3e75f250995d4515277159f449393dae5e68
[DEBUG] vcpkg_from_git|7f36474ce22a245ceeac2c09c3ff03c867b6ed3adebe7c1c875bd338793573e8
[DEBUG] vcpkg_from_github|2f5640e66a80bd2dced292099108f6b8a5ca4f5a27efc230e622424627c8fa72
[DEBUG] vcpkg_install_cmake|a04ca69ec49d413d16091484556ec2c9429a4e1e002cbfd2fc20bb24644aa88c
[DEBUG] </abientries>
Using cached binary package: C:\Users\宫水 三叶\AppData\Local\vcpkg\archives\cc\cc943721124154c72d1dbefa22ec6e53f1963cf3f95b75156b523c3ae5361d36.zip
[DEBUG] CreateProcessW("D:\Programs\vcpkg\downloads\tools\7zip-19.00-windows\Files\7-Zip\7z.exe" x "C:\Users\宫水 三叶\AppData\Local\vcpkg\archives\cc\cc943721124154c72d1dbefa22ec6e53f1963cf3f95b75156b523c3ae5361d36.zip" "-oD:\Programs\vcpkg\packages\cryptopp_x64-windows" -y)
[DEBUG] cmd_execute_and_stream_data() returned 0 after 2208797 us
Starting package 1/1: cryptopp:x64-windows
Building package cryptopp[core]:x64-windows...
Building package cryptopp[core]:x64-windows... done
Installing package cryptopp[core]:x64-windows...
vcpkg crashes when it runs to the end of the above TXT file
I just tried to reinstall cmake, which solved the problem. Thanks for your help. If I still have problems, I will open another issue
Describe the bug vcpkg has crashed
Environment
To Reproduce Steps to reproduce the behavior:
Expected behavior CRASHED,It crashes on any terminal!
Failure logs
Additional context install-x64-windows-rel-out.log:
install-x64-windows-dbg-out.log: