Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nil reference in rollkit #6

Open
Senna46 opened this issue Dec 12, 2024 · 2 comments
Open

nil reference in rollkit #6

Senna46 opened this issue Dec 12, 2024 · 2 comments

Comments

@Senna46
Copy link
Contributor

Senna46 commented Dec 12, 2024

Panic related to rollkit when starting cosmos-sdk server

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x313acf1]
goroutine 1 [running]:
github.com/rollkit/rollkit/block.NewManager({0x4a91b00, 0xc0023f4300}, {0x3b9aca00, 0x37e11d600, 0x0, 0x19, 0x0, 0x0, 0xdf8475800}, 0xc00241ef00, ...)
        /root/go/pkg/mod/github.com/rollkit/rollkit@v0.14.1/block/manager.go:236 +0x391
github.com/rollkit/rollkit/node.initBlockManager({_, _}, {{0xc00125ca90, 0xc}, {0xc0010006d0, 0x4}, {{0xc0023d2d60, 0x16}, {0x0, 0x0}, ...}, ...}, ...)
        /root/go/pkg/mod/github.com/rollkit/rollkit@v0.14.1/node/full.go:283 +0x22c
github.com/rollkit/rollkit/node.newFullNode({_, _}, {{0xc00125ca90, 0xc}, {0xc0010006d0, 0x4}, {{0xc0023d2d60, 0x16}, {0x0, 0x0}, ...}, ...}, ...)
        /root/go/pkg/mod/github.com/rollkit/rollkit@v0.14.1/node/full.go:164 +0x9a5
github.com/rollkit/rollkit/node.NewNode({_, _}, {{0xc00125ca90, 0xc}, {0xc0010006d0, 0x4}, {{0xc0023d2d60, 0x16}, {0x0, 0x0}, ...}, ...}, ...)
        /root/go/pkg/mod/github.com/rollkit/rollkit@v0.14.1/node/node.go:37 +0x14e
github.com/rollkit/cosmos-sdk-starter/server.startNode({0x4a88808, 0xc0028f0640}, 0xc0004b3900, {0x4adfda8, 0xc00115f008}, 0xc001640280)
        /root/go/pkg/mod/github.com/rollkit/cosmos-sdk-starter@v0.1.0/server/start.go:281 +0x54c
github.com/rollkit/cosmos-sdk-starter/server.startInProcess[...](_, {{{0xc0010c4f40, 0x6}, 0x0, {0xc0010c57d8, 0x7}, {0x3baa54a, 0x1}, {0x3baa54a, 0x1}, ...}, ...}, ...)
        /root/go/pkg/mod/github.com/rollkit/cosmos-sdk-starter@v0.1.0/server/start.go:102 +0x14d
github.com/rollkit/cosmos-sdk-starter/server.StartHandler[...](_, {{0x0, 0x0, 0x0}, {0x4ab9e38, 0xc00163d620}, 0x0, {0x0, 0x0}, {0x4adfe70, ...}, ...}, ...)
        /root/go/pkg/mod/github.com/rollkit/cosmos-sdk-starter@v0.1.0/server/start.go:62 +0x368
github.com/cosmos/cosmos-sdk/server.StartCmdWithOptions.func2.1()
        /root/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/server/start.go:198 +0x63
github.com/cosmos/cosmos-sdk/server.wrapCPUProfile(0xc001640280, 0xc000bb39f8)
        /root/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/server/start.go:570 +0x1b3
github.com/cosmos/cosmos-sdk/server.StartCmdWithOptions.func2(0xc0014e0908, {0x6e0ee20?, 0x0?, 0x0?})
        /root/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/server/start.go:197 +0x212
github.com/spf13/cobra.(*Command).execute(0xc0014e0908, {0x6e0ee20, 0x0, 0x0})
        /root/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:985 +0xaaa
github.com/spf13/cobra.(*Command).ExecuteC(0xc000cf6908)
        /root/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
        /root/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1041
github.com/spf13/cobra.(*Command).ExecuteContext(...)
        /root/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1034
github.com/cosmos/cosmos-sdk/server/cmd.Execute(0xc000cf6908, {0x3b338f4, 0x5}, {0xc00125ca90, 0xc})
        /root/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/server/cmd/execute.go:34 +0x187
main.main()
        /root/gluon/cmd/gluond/main.go:16 +0x3d
3:38PM ERR  error="exit status 2" module=cosmovisor
@Senna46
Copy link
Contributor Author

Senna46 commented Dec 12, 2024

@Senna46
Copy link
Contributor Author

Senna46 commented Dec 23, 2024

Disable rollkit code until mainnet. #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant