#๐ segfault in codegen
1 messages ยท Page 1 of 1 (latest)
Can anyone reproduce this?
% dagger -m github.com/shykes/daggerverse/tailscale functions
โ load functions ERROR [6.21s]
โ [6.21s] loading module
โ Error: failed to get loaded module ID: input:1: git.commit.tree.directory.asModu
โ .serve failed to load module types: failed to call module "tailscale" to get fun
โ ions: failed to get function output directory: process "/runtime" did not comple
โ successfully: exit code: 2
โ serve ERROR [1.53s]
โ exec /runtime ERROR [0.33s]
โ panic: runtime error: invalid memory address or nil pointer dereference
โ [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x2899dc]
โ
โ goroutine 1 [running]:
โ main.(*Client).Container(0x0, {0x0, 0x0, 0x400007a5b0?})
โ /src/dagger.gen.go:3496 +0x2c
โ main.init()
โ /src/main.go:16 +0x34
โข Cloud URL: https://dagger.cloud/runs/0a4afb7f-497e-4f83-a4e1-9bb2795a1ae0
โข Engine: 002636d876e8 (version devel ())
โง 6.72s โ 35 โ
2 โ 3
Looks like I found the reason... Although I don't understand why
Appending to queue to create issue for; glad you found the workaround but obviously a bug, no reason you shouldn't be able to have that var