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

Unable to deploy IDL #1033

Closed
sg3510 opened this issue Nov 17, 2021 · 4 comments
Closed

Unable to deploy IDL #1033

sg3510 opened this issue Nov 17, 2021 · 4 comments
Labels
cli help wanted Extra attention is needed m1 Issues related to the Apple M1

Comments

@sg3510
Copy link

sg3510 commented Nov 17, 2021

If I try to deploy IDL with
anchor idl init
or
anchor idl upgrade

I will get
⠉ [0/1] Finalizing transaction 3jPXVy82BkDBECQjJGosovijikHATZY9ejVxTYM2SNYub2EN8kqTvAZLf2LiGbSVJsH163tX6SmE6RrohHzaZNiM anchor(81839,0x205b37600) malloc: *** error for object 0x60000112c150: pointer being freed was not allocated anchor(81839,0x205b37600) malloc: *** set a breakpoint in malloc_error_break to debug zsh: abort anchor idl upgrade --filepath --provider.cluster devnet

solana --version is 1.8.4
anchor --version is 0.18.2

This is on an M1 mac and happens for all test projects.

@sg3510
Copy link
Author

sg3510 commented Nov 17, 2021

I sometimes am able to deploy if I try running anchor idl init 20 times in a row.

@sg3510
Copy link
Author

sg3510 commented Nov 17, 2021

Seems to be rust related on m1 - I am able to deploy IDL fine on x64 EC2 instance

@coudron
Copy link
Contributor

coudron commented Nov 17, 2021

+1
Seeing the same thing on m1

node v16.1.0
anchor-cli 0.18.0
solana-cli 1.8.2 (src:devbuild; feat:52865992)

@armaniferrante armaniferrante added cli help wanted Extra attention is needed labels Nov 17, 2021
@fanatid
Copy link
Contributor

fanatid commented Nov 18, 2021

I think we need the label m1 because some issues are related only to m1 processor.

@armaniferrante armaniferrante added the m1 Issues related to the Apple M1 label Nov 18, 2021
@Henry-E Henry-E closed this as completed Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli help wanted Extra attention is needed m1 Issues related to the Apple M1
Projects
None yet
Development

No branches or pull requests

5 participants