You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to successfully build the sdk and the encryption sdk following the steps in the readme. However when trying to run the "string.exe" program from the included examples, it crashes with a fault, and a value of -1073741819 in the windows ERRORLEVEL variable in the command line. There following fault information is recorded in the windows event log:
I built the aws sdk according to the directions linked in the readme, using the -DBBUILD_ONLY="kms" option. I am not sure how to troubleshoot what is going wrong. When the aws sdk itself built, all the post-build and post install tests passed, and I did not see any warnings or errors in the build log. I did see couple warning in the build output of the encryption sdk but these were for the tests and not the libraries themselves:
C:\projects\aws\aws-encryption-sdk-c\aws-encryption-sdk-cpp\tests\unit\t_kms_mrk_keyring.cpp(88,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\projects\aws\build-
aws-encryption-sdk-c\aws-encryption-sdk-cpp\t_kms_mrk_keyring.vcxproj]
C:\projects\aws\aws-encryption-sdk-c\tests\unit\t_commitment.c(54,28): warning C4101: 'c': unreferenced local variable [C:\projects\aws\build-aws-encryption-sdk-c\tests\unit-test-suite.vcxproj]
The text was updated successfully, but these errors were encountered:
I am sure that the KMS setup and access is correct. I can use the exact same key and secret key with the python version of the encryption sdk code and it works successfully without error. I really need to get a build working using C++ in order to include an encryption feature into a C++ DLL. Thank you in advance.
I should also point out that I tried to debug it but for some reason I cannot get the visual studio debugger to pick up the command line argument so it errors out without hitting the crash.
We apologize for not responding to your issue sooner. We have not made time to troubleshoot this yet, but it is on our immediate roadmap. We also apologize for never directly responding to #717 but we are glad that you managed to resolve it. When we PR a fix, we will mention this issue (727).
I was able to successfully build the sdk and the encryption sdk following the steps in the readme. However when trying to run the "string.exe" program from the included examples, it crashes with a fault, and a value of -1073741819 in the windows ERRORLEVEL variable in the command line. There following fault information is recorded in the windows event log:
Log Name: Application
Source: Application Error
Date: 9/3/2021 9:15:34 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Description:
Faulting application name: string.exe, version: 0.0.0.0, time stamp: 0x6131371a
Faulting module name: aws-cpp-sdk-core.dll, version: 0.0.0.0, time stamp: 0x61313292
Exception code: 0xc0000005
Fault offset: 0x000000000003164d
Faulting process id: 0x2c40
Faulting application start time: 0x01d7a0c5c70d9949
Faulting application path: C:\projects\aws\build-aws-encryption-sdk-c\examples\Debug\string.exe
Faulting module path: c:\Program Files (x86)\aws-cpp-sdk-all\bin\aws-cpp-sdk-core.dll
Report Id: 2f970056-d0d2-4ddf-a18d-9d81e888afba
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
1000
0
2
100
0
0x80000000000000
1642354
Application
string.exe
0.0.0.0
6131371a
aws-cpp-sdk-core.dll
0.0.0.0
61313292
c0000005
000000000003164d
2c40
01d7a0c5c70d9949
C:\projects\aws\build-aws-encryption-sdk-c\examples\Debug\string.exe
c:\Program Files (x86)\aws-cpp-sdk-all\bin\aws-cpp-sdk-core.dll
2f970056-d0d2-4ddf-a18d-9d81e888afba
I built the aws sdk according to the directions linked in the readme, using the -DBBUILD_ONLY="kms" option. I am not sure how to troubleshoot what is going wrong. When the aws sdk itself built, all the post-build and post install tests passed, and I did not see any warnings or errors in the build log. I did see couple warning in the build output of the encryption sdk but these were for the tests and not the libraries themselves:
C:\projects\aws\aws-encryption-sdk-c\aws-encryption-sdk-cpp\tests\unit\t_kms_mrk_keyring.cpp(88,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\projects\aws\build-
aws-encryption-sdk-c\aws-encryption-sdk-cpp\t_kms_mrk_keyring.vcxproj]
C:\projects\aws\aws-encryption-sdk-c\tests\unit\t_commitment.c(54,28): warning C4101: 'c': unreferenced local variable [C:\projects\aws\build-aws-encryption-sdk-c\tests\unit-test-suite.vcxproj]
The text was updated successfully, but these errors were encountered: