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

segfault in main #46

Closed
n0izn0iz opened this issue Jan 12, 2022 · 1 comment
Closed

segfault in main #46

n0izn0iz opened this issue Jan 12, 2022 · 1 comment

Comments

@n0izn0iz
Copy link

Da problem

❯ cuetsy monolith.cue
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x1204078]

goroutine 1 [running]:
cuelang.org/go/internal/core/adt.(*Vertex).getNodeContext(0x2, 0xdde26ece00000003)
	/Users/norman/go/pkg/mod/cuelang.org/go@v0.4.0/internal/core/adt/eval.go:911 +0x18
cuelang.org/go/internal/core/adt.(*OpContext).Unify(0xc000222b60, 0x0, 0x5)
	/Users/norman/go/pkg/mod/cuelang.org/go@v0.4.0/internal/core/adt/eval.go:172 +0x4e
cuelang.org/go/internal/core/adt.(*Vertex).Finalize(...)
	/Users/norman/go/pkg/mod/cuelang.org/go@v0.4.0/internal/core/adt/composite.go:445
cuelang.org/go/cue.(*Instance).Value(0xc000465ce0)
	/Users/norman/go/pkg/mod/cuelang.org/go@v0.4.0/cue/instance.go:214 +0x85
main.main()
	/Users/norman/go/pkg/mod/github.com/grafana/cuetsy@v0.0.0-20220107153554-485eef9da816/cmd/cuetsy/main.go:40 +0x2ba

monolith.cue

Generated using

cue get go github.com/ipfs/go-ipfs-config
go run ./cmd/aggregate-cues cue.mod/gen/**/*.cue > monolith.cue
❯ cue version
cue version v0.4.1-rc.2 darwin/amd64
❯ go version
go version go1.17.1 darwin/amd64
@sdboyer
Copy link
Contributor

sdboyer commented Jan 19, 2022

i think you're looking for cue-lang/cue to file this against.

@sdboyer sdboyer closed this as completed Jan 19, 2022
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