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

[BUG]: SEGV #138

Open
1 task done
mvandeberg opened this issue Sep 11, 2024 · 0 comments
Open
1 task done

[BUG]: SEGV #138

mvandeberg opened this issue Sep 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mvandeberg
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

This stack trace was reported in Discord:

block_store-1  | panic: runtime error: invalid memory address or nil pointer dereference
block_store-1  | [signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x91eae0]
block_store-1  |
block_store-1  | goroutine 897 [running]:
block_store-1  | github.com/koinos/koinos-block-store/internal/bstore.(*RequestHandler).GetBlocksByHeight(0xc00b1901b0, 0xc00b2284b0)
block_store-1  |        /koinos-block-store/internal/bstore/reqhandler.go:267 +0x1a0
block_store-1  | github.com/koinos/koinos-block-store/internal/bstore.(*RequestHandler).HandleRequest(0xc00b1901b0, 0xc00b0dba80)
block_store-1  |        /koinos-block-store/internal/bstore/reqhandler.go:556 +0x265
block_store-1  | main.main.func1({0xa29bc0?, 0x1?}, {0xc00b9953b0, 0x30, 0x30})
block_store-1  |        /koinos-block-store/cmd/koinos-block-store/main.go:178 +0x1ce
block_store-1  | github.com/koinos/koinos-mq-golang.(*RequestHandler).handleRPCDelivery(0xc00b1b2050, {0xbd4b80, 0xc00b196ac0}, {0xae7fac, 0xb}, 0xc00b278000)
block_store-1  |        /go/pkg/mod/github.com/koinos/[email protected]/request_handler.go:245 +0xad
block_store-1  | github.com/koinos/koinos-mq-golang.(*RequestHandler).deliveryConsumerLoop(0xc00b1b2050, {0xbd4b80, 0xc00b196ac0})
block_store-1  |        /go/pkg/mod/github.com/koinos/[email protected]/request_handler.go:303 +0xfa
block_store-1  | created by github.com/koinos/koinos-mq-golang.(*RequestHandler).connectLoop
block_store-1  |        /go/pkg/mod/github.com/koinos/[email protected]/request_handler.go:95 +0x5a

Expected behavior

The block store should not panic

Steps to reproduce

No response

Environment

- OS:

Anything else?

No response

@mvandeberg mvandeberg added the bug Something isn't working label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant