-
Notifications
You must be signed in to change notification settings - Fork 4k
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
cdk deploy: v8 internal error thrown with expired credentials and broken bootstrap stack #20848
Comments
I was able to resolve by updating cdk version based on the recommendation from cdk synth. *** Newer version of CDK is available [2.29.0] *** However allowing the credentials to expire generated a similar stack trace.
This time updating the ENVs for credentials resolved the issue. |
You're running into an internal V8 error. I have no idea how that gets caused by expired AWS credentials. |
If you can find a consistent way to reproduce this, let us know. Otherwise, I'm not sure there's much we can do to help here. Following the Python workshop works for me and I've never come across this particular error when using expired credentials |
I updated to CDK version 2.31.0 (build b67950d). I did figure out a way to replicate the stack trace. If the CDK bootstrap stack either does not exist or is corrupted in the region I can generate the below stack trace. I was having some trouble with the CDK originally, so that may have been the issue all along.
|
A little more experimentation, and I think it's expired creds and broken bootstrap. |
I aslo tested with typescript cdk, slightly different behavior. I get the stacktrace regardless of credentials if bootstrap stack is broken. |
I believe this PR will fix issues related to expired credentials throwing unhelpful errors #21052 |
Is your Python CDK app performing AWS calls? We generally recommend you don't do that. |
I cannot reproduce this behavior, and I also don't see how it can be caused by expired credentials (as none of the code in the call stack performs AWS calls). It's also not clear what broken bootstrap means. I'm sorry, but this must be something specific to your computer, and as such not really fixable by us. Closing. |
|
Describe the bug
When following python workshop
cdk deploy
failed with opaque stack trace.This occurred after credentials had expired.
Then updated credentials and CDK diff ran successfully
CDK deploy still did not run.
CDK synth also ran successfully
Expected Behavior
Updateed files to deploy and/or error message indicating issue.
Current Behavior
Stack Trace:
2259252@USSTP00044562 MINGW64 /c/Projects/AWS/CDK-python/cdk_workshop (master)
$ cdk deploy
Fatal error in , line 0
Check failed: AddGrowableFunctionTable( &record->dynamic_table, record->runtime_function, record->runtime_function_count, record->runtime_function_count, reinterpret_cast(start), reinterpret_cast(reinterpret_cast<uint8_t*>(start) + size_in_bytes)).
#FailureMessage Object: 0000009D8055E9E0
1: 00007FF6EE2B79CF v8::internal::CodeObjectRegistry::~CodeObjectRegistry+114207
2: 00007FF6EE1D3E9F std::basic_ostream<char,std::char_traits >::operator<<+65103
3: 00007FF6EEEB26C2 V8_Fatal+162
4: 00007FF6EE4F146E v8::internal::AssemblerBase::RecordComment+926
5: 00007FF6EEA66C7C v8::internal::Isolate::Init+3644
6: 00007FF6EE7174B9 v8::internal::Deserializerv8::internal::LocalIsolate::GetChecksum+585
7: 00007FF6EEB6FA44 v8::Isolate::Initialize+340
8: 00007FF6EE1FE2C1 v8::internal::Isolate::stack_guard+52417
9: 00007FF6EE27AA7C node::Start+204
10: 00007FF6EE09897C RC4_options+348284
11: 00007FF6EF0FFDB8 v8::internal::compiler::RepresentationChanger::Uint32OverflowOperatorFor+14472
12: 00007FF8930D4034 BaseThreadInitThunk+20
13: 00007FF8934C3691 RtlUserThreadStart+33
Reproduction Steps
Followed this tutorial, previous page worked as expected:
https://cdkworkshop.com/30-python/40-hit-counter/600-permissions.html
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.28.1 (build d035432)
Framework Version
No response
Node.js Version
v16.15.1
OS
Windows2019
Language
Python
Language Version
Python 3.8.0
Other information
No response
The text was updated successfully, but these errors were encountered: