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

unsafe runtime due to go4.org/unsafe/assume-no-moving-gc #31

Open
emadshanab opened this issue Dec 11, 2023 · 1 comment
Open

unsafe runtime due to go4.org/unsafe/assume-no-moving-gc #31

emadshanab opened this issue Dec 11, 2023 · 1 comment

Comments

@emadshanab
Copy link

echo "ASN1111" | metabigor netd --asn -o /tmp/result.txt

panic: Something in this program imports go4.org/unsafe/assume-no-moving-gc to declare that it assumes a non-moving garbage collector, but your version of go4.org/unsafe/assume-no-moving-gc hasn't been updated to assert that it's safe against the go1.21 runtime. If you want to risk it, run with environment variable ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.21 set. Notably, if go1.21 adds a moving garbage collector, this program is unsafe to use.

goroutine 1 [running]:
go4.org/unsafe/assume-no-moving-gc.init.0()
/root/go/pkg/mod/go4.org/unsafe/assume-no-moving-gc@v0.0.0-20211027215541-db492cf91b37/untested.go:25 +0x1da
`

@j3ssie
Copy link
Owner

j3ssie commented Dec 15, 2023

Due to the outdated reliance on go4.org/unsafe/assume-no-moving-gc, this has been eliminated in the most recent version.
Please download the latest binary from https://github.com/j3ssie/metabigor/releases, and this should resolve the issue.

@j3ssie j3ssie changed the title this program is unsafe to use unsafe runtime due to go4.org/unsafe/assume-no-moving-gc Dec 15, 2023
@j3ssie j3ssie changed the title unsafe runtime due to go4.org/unsafe/assume-no-moving-gc unsafe runtime due to go4.org/unsafe/assume-no-moving-gc Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants