#๐Ÿ†˜ segfault in codegen

1 messages ยท Page 1 of 1 (latest)

vast gale
#

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

urban girder
#

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