You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cue version
cue version v0.5.0
go version go1.20.3
-buildmode exe
-compiler gc
-trimpath true
CGO_ENABLED 1
GOARCH amd64
GOOS darwin
GOAMD64 v1
Does this issue reproduce with the latest stable release?
Yes
What did you do?
cd $(mktemp -d)
(
set -e
cue mod init
go mod init mod.test
go get istio.io/api/networking/v1beta1@v0.0.0-20230511193058-044e6e6ce64a
cue get go istio.io/api/networking/v1beta1
)
What did you expect to see?
No segfault, and definitions that work.
Interestingly, the definitions are still generated in my cue.mod directory but perhaps I'm missing some?
If I try to make use of a definition by importing them, I get errors:
cue get go google.golang.org/protobuf/types/known/durationpb
However at this point, you will realize that the generated definitions of a lot of #SomeDefinition: _, presumably because of the segfault that aborted the above operation.
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest stable release?
Yes
What did you do?
What did you expect to see?
No segfault, and definitions that work.
Interestingly, the definitions are still generated in my
cue.mod
directory but perhaps I'm missing some?If I try to make use of a definition by importing them, I get errors:
What did you see instead?
This also segfaults on the latest alpha, and segfaults on 0.4.3.
The text was updated successfully, but these errors were encountered: