aws-amplify / amplify-backend

Home to all tools related to Amplify's code-first DX (Gen 2) for building fullstack apps on AWS
Apache License 2.0
166 stars 55 forks source link

`npx ampx sandbox` invalid pointer IOT instruction (core dumped) #2049

Closed Kruncho closed 3 days ago

Kruncho commented 3 days ago

Environment information

System:
  OS: Linux 6.5 Manjaro Linux
  CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz
  Memory: 3.84 GB / 15.37 GB
  Shell: /usr/bin/zsh
Binaries:
  Node: 22.7.0 - /usr/bin/node
  Yarn: 1.22.22 - /usr/bin/yarn
  npm: 10.8.2 - /usr/bin/npm
  pnpm: undefined - undefined
NPM Packages:
  @aws-amplify/auth-construct: 1.3.1
  @aws-amplify/backend: 1.3.0
  @aws-amplify/backend-auth: 1.2.0
  @aws-amplify/backend-cli: 1.2.8
  @aws-amplify/backend-data: 1.1.4
  @aws-amplify/backend-deployer: 1.1.4
  @aws-amplify/backend-function: 1.5.0
  @aws-amplify/backend-output-schemas: 1.2.0
  @aws-amplify/backend-output-storage: 1.1.2
  @aws-amplify/backend-secret: 1.1.3
  @aws-amplify/backend-storage: 1.2.0
  @aws-amplify/cli-core: 1.1.3
  @aws-amplify/client-config: 1.3.2
  @aws-amplify/deployed-backend-client: 1.4.1
  @aws-amplify/form-generator: 1.0.3
  @aws-amplify/model-generator: 1.0.8
  @aws-amplify/platform-core: 1.1.0
  @aws-amplify/plugin-types: 1.3.0
  @aws-amplify/sandbox: 1.2.2
  @aws-amplify/schema-generator: 1.2.4
  aws-amplify: 6.6.2
  aws-cdk: 2.160.0
  aws-cdk-lib: 2.160.0
  typescript: 5.6.2
AWS environment variables:
  AWS_STS_REGIONAL_ENDPOINTS = regional
  AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1
  AWS_SDK_LOAD_CONFIG = 1
No CDK environment variables

Describe the bug

When I try to run the command npx ampx sandbox (with and without --identifier) the result is always the same error :

git:(main) ✗ npx ampx sandbox          

  Amplify Sandbox

  Identifier:   vincent
  Stack:    amplify-modernize-vincent-sandbox-5fbff7dfaa

  To specify a different sandbox identifier, use --identifier
munmap_chunk(): invalid pointer
[1]    32653 IOT instruction (core dumped)  npx ampx sandbox

The debug option didn't show me more info about that, just the timestamps.

This issue is clearly related to this one, but since it's closed I open up a new one : https://github.com/aws-amplify/amplify-backend/issues/1804

Thanks in advance for the support

Reproduction steps

Just initialize a project with gen 2 configuration and run npx ampx sandbox

ykethan commented 3 days ago

Hey @Kruncho, thank you for reaching this is currently being tracked on https://github.com/aws-amplify/amplify-backend/issues/1829. Refer to the comments providing additional information.

Closing this issue as duplicate