TBD54566975 / ftl

FTL - Towards a 𝝺-calculus for large-scale systems
https://tbd54566975.github.io/ftl/
Apache License 2.0
21 stars 7 forks source link

cursed panic #2845

Open worstell opened 3 weeks ago

worstell commented 3 weeks ago
> panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x1008f555c]

goroutine 414 [running]:
github.com/TBD54566975/ftl/go-runtime/schema.analyzersWithDependencies()
    /Users/dli/Development/ftl/go-runtime/schema/extract.go:303 +0x120
github.com/TBD54566975/ftl/go-runtime/schema.Extract({0x14000b5a2d0?, 0x101ab454c?})
    /Users/dli/Development/ftl/go-runtime/schema/extract.go:119 +0xd8
github.com/TBD54566975/ftl/go-runtime/compile.Build({0x10257b838, 0x14000d920f0}, {0x14000634b10, 0x1a}, {0x14000b5a2d0, 0x30}, 0x14000e2f750, {0x14a84bf20, 0x14001212020}, {0x0, ...}, ...)
    /Users/dli/Development/ftl/go-runtime/compile/build.go:273 +0x910
github.com/TBD54566975/ftl/internal/buildengine.buildGoModule({0x10257b838?, _}, {_, _}, _, {{{0x14000b5a2d0, 0x30}, {0x140008af748, 0x2}, {0x140008af74c, ...}, ...}, ...}, ...)
    /Users/dli/Development/ftl/internal/buildengine/build_go.go:12 +0x84
github.com/TBD54566975/ftl/internal/buildengine.buildModule({0x10257b838, _}, {_, _}, _, {{{0x14000b5a2d0, 0x30}, {0x140008af748, 0x2}, {0x140008af74c, ...}, ...}, ...}, ...)
    /Users/dli/Development/ftl/internal/buildengine/build.go:49 +0x588
github.com/TBD54566975/ftl/internal/buildengine.Build(...)
    /Users/dli/Development/ftl/internal/buildengine/build.go:26
github.com/TBD54566975/ftl/internal/buildengine.(*Engine).build(0x14000a20180, {0x10257b838, 0x140012f00c0}, {0x140008ae865, 0x5}, 0x140001374d0, 0x140006584d0)
    /Users/dli/Development/ftl/internal/buildengine/engine.go:739 +0x354
github.com/TBD54566975/ftl/internal/buildengine.(*Engine).tryBuild(0x14000a20180, {0x10257b838, 0x140012f00c0}, 0x14000ee0d50, {0x140008ae865, 0x5}, 0x140001374d0, 0x140006584d0, 0x14000ee0d20)
    /Users/dli/Development/ftl/internal/buildengine/engine.go:706 +0x294
github.com/TBD54566975/ftl/internal/buildengine.(*Engine).buildWithCallback.func2()
    /Users/dli/Development/ftl/internal/buildengine/engine.go:641 +0x3a0
golang.org/x/sync/errgroup.(*Group).Go.func1()
    /Users/dli/go/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 422
    /Users/dli/go/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98
worstell commented 1 week ago

going to unassign this with @stuartwdouglas's change in, and wait for the next recurrence