gorgonia icon indicating copy to clipboard operation
gorgonia copied to clipboard

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

Open alanmoleapfive opened this issue 3 years ago • 10 comments

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.

alanmoleapfive avatar Apr 27 '22 06:04 alanmoleapfive

Looking into this

chewxy avatar Apr 28 '22 01:04 chewxy

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

wzzhu avatar Jul 14 '22 01:07 wzzhu

Is there update on this, @chewxy?

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

aranggitoar avatar Jul 17 '23 12:07 aranggitoar

yeah this is removed in the upcoming version

chewxy avatar Jul 19 '23 02:07 chewxy

Great, thank you! Waiting for the upcoming release.

aranggitoar avatar Jul 21 '23 04:07 aranggitoar

same problem with macOS arm64 - go 1.21

jxsl13 avatar Sep 19 '23 12:09 jxsl13

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.

markogjergji avatar Oct 31 '23 21:10 markogjergji

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

Thanks

chiefMarlin avatar Dec 08 '23 14:12 chiefMarlin

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

pythonian23 avatar Dec 12 '23 05:12 pythonian23

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

darkprof83 avatar May 04 '24 15:05 darkprof83