-
Notifications
You must be signed in to change notification settings - Fork 143
Closed
Description
Task summary
- Make sure that
./bin/gossamer build-spec
does not error like this
kishan@kishan-T480:~/code/gossamer$ ./bin/gossamer build-spec
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xedf993]
goroutine 1 [running]:
main.setDotGlobalConfigName(0xc0000da580, 0x0, 0xc00000c3c0)
github.com/ChainSafe/gossamer/cmd/gossamer/config.go:531 +0x73
main.setDotGlobalConfig(0xee5120, 0x0, 0xc00000c3c0)
github.com/ChainSafe/gossamer/cmd/gossamer/config.go:433 +0xb8
main.createBuildSpecConfig(0x118988e)
github.com/ChainSafe/gossamer/cmd/gossamer/config.go:227 +0xec
main.buildSpecAction(0xc0000da580)
github.com/ChainSafe/gossamer/cmd/gossamer/main.go:367 +0xfd
main.FixFlagOrder.func1(0xc0000da580)
github.com/ChainSafe/gossamer/cmd/gossamer/flags.go:546 +0x48
github.com/urfave/cli.HandleAction({0xfb2fa0, 0xc000600940}, 0xa)
github.com/urfave/[email protected]/app.go:524 +0xa8
github.com/urfave/cli.Command.Run({{0x1186a6a, 0xa}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x12945df, 0x40}, {0x0, ...}, ...}, ...)
github.com/urfave/[email protected]/command.go:173 +0x652
github.com/urfave/cli.(*App).Run(0xc00097aa80, {0xc000032040, 0x2, 0x2})
github.com/urfave/[email protected]/app.go:277 +0x705
main.main()
github.com/ChainSafe/gossamer/cmd/gossamer/main.go:148 +0x35
Specification reference
Other information and links
qdm12 and danforbes
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done