Untitled

mail@pastecode.io avatar
unknown
plain_text
22 days ago
2.7 kB
2
Indexable
Never
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x108bfb3]

goroutine 1 [running]:
github.com/compose-spec/compose-go/loader.load({0x2638c80, 0xc0000d20a0}, {{0x0, 0x0}, {0xc00059c1c0, 0x24}, {0xc000760270, 0x1, 0x1}, 0xc000760000}, ...)
        github.com/compose-spec/compose-go@v1.18.3/loader/loader.go:343 +0x893
github.com/compose-spec/compose-go/loader.LoadWithContext({0x2638c80, 0xc0000d20a0}, {{0x0, 0x0}, {0xc00059c1c0, 0x24}, {0xc000760270, 0x1, 0x1}, 0xc000760000}, ...)
        github.com/compose-spec/compose-go@v1.18.3/loader/loader.go:242 +0x2a5
github.com/compose-spec/compose-go/cli.ProjectFromOptions(0xc0005a0000)
        github.com/compose-spec/compose-go@v1.18.3/cli/options.go:402 +0x4f2
github.com/docker/compose/v2/cmd/compose.(*ProjectOptions).ToProject(0xc000303480, {0xc0004d3150, 0x0, 0x1}, {0xc00079f890?, 0xc00079f868?, 0x40fe27?})
        github.com/docker/compose/v2/cmd/compose/compose.go:221 +0xfb
github.com/docker/compose/v2/cmd/compose.(*ProjectOptions).WithServices.func1({0x2638c80?, 0xc0000d20a0}, {0xc0004d3150, 0x0, 0x1})
        github.com/docker/compose/v2/cmd/compose/compose.go:156 +0x1fa
github.com/docker/compose/v2/cmd/compose.Adapt.func1({0x2638c80?, 0xc0000d20a0?}, 0x2?, {0xc0004d3150?, 0x1?, 0xc00079f950?})
        github.com/docker/compose/v2/cmd/compose/compose.go:108 +0x36
github.com/docker/compose/v2/cmd/compose.AdaptCmd.func1(0xc000004900, {0xc0004d3150, 0x0, 0x1})
        github.com/docker/compose/v2/cmd/compose/compose.go:87 +0x21c
github.com/docker/compose/v2/cmd/cmdtrace.wrapRunE.func2(0xc000004900?, {0xc0004d3150?, 0x0?, 0x1?})
        github.com/docker/compose/v2/cmd/cmdtrace/cmd_span.go:80 +0x73
github.com/spf13/cobra.(*Command).execute(0xc000004900, {0xc0004e8590, 0x1, 0x1})
        github.com/spf13/cobra@v1.7.0/command.go:940 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0xc0004eaf00)
        github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/cobra@v1.7.0/command.go:992
github.com/docker/cli/cli-plugins/plugin.RunPlugin(0x188?, 0xc000004600, {{0x22d0b8e, 0x5}, {0x22daca9, 0xb}, {0x2611938, 0x7}, {0x0, 0x0}, ...})
        github.com/docker/cli@v24.0.5+incompatible/cli-plugins/plugin/plugin.go:51 +0x130
github.com/docker/cli/cli-plugins/plugin.Run(0x240e410, {{0x22d0b8e, 0x5}, {0x22daca9, 0xb}, {0x2611938, 0x7}, {0x0, 0x0}, {0x0, ...}, ...})
        github.com/docker/cli@v24.0.5+incompatible/cli-plugins/plugin/plugin.go:64 +0xee
main.pluginMain()
        github.com/docker/compose/v2/cmd/main.go:37 +0xdf
main.main()
        github.com/docker/compose/v2/cmd/main.go:75 +0x198
Leave a Comment