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

panic: Something in this program imports go4.org/unsafe/assume-no-moving-gc #523

Open
alanmoleapfive opened this issue Apr 27, 2022 · 10 comments

Comments

@alanmoleapfive
Copy link

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.18 runtime. If you want to risk it, run with environment variable ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.18 set. Notably, if go1.18 adds a moving garbage collector, this program is unsafe to use.

@chewxy
Copy link
Member

chewxy commented Apr 28, 2022

Looking into this

@wzzhu
Copy link
Contributor

wzzhu commented Jul 14, 2022

This is a blocking issue, as go is approaching 1.19. The tensor package really needs a non-moving gc?

@aranggitoar
Copy link

Is there update on this, @chewxy?

Just encountered the same panic message on a linux/AMD64 machine, though it says go1.20 now.

@chewxy
Copy link
Member

chewxy commented Jul 19, 2023

yeah this is removed in the upcoming version

@aranggitoar
Copy link

Great, thank you! Waiting for the upcoming release.

@jxsl13
Copy link

jxsl13 commented Sep 19, 2023

same problem with macOS arm64 - go 1.21

@markogjergji
Copy link

also same problem with windows amd64 go 1.21.0
What can I do?

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.

@chiefMarlin
Copy link

chiefMarlin commented Dec 8, 2023

Still having this issue running on go version go1.21.4 darwin/arm64
Are there any updates ?
@chewxy

Thanks

@pythonian23
Copy link

Also having this issue on go version go1.21.5 linux/amd64 and gorgonia.org/gorgonia v0.9.18

@darkprof83
Copy link

Also having this issue on go version go1.22.0 linux/amd64 and gorgonia.org/gorgonia v0.9.18

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

9 participants