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

boost crashes, when lotus-miner is restarted due to nil ptr dereference #965

Closed
nonsense opened this issue Nov 18, 2022 · 1 comment
Closed

Comments

@nonsense
Copy link
Member

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xa802bb]

goroutine 37040 [running]:
github.com/filecoin-project/go-jsonrpc.(*RPCConnectionError).Error(0x4601fa0?)
        /root/code/pkg/mod/github.com/filecoin-project/[email protected]/errors.go:15 +0x1b
github.com/filecoin-project/boost/storagemarket.(*Provider).AddPieceToSector(_, {_, _}, {{0xa8, 0xc4, 0x5, 0xb2, 0x6f, 0x48, 0x46, ...}, ...}, ...)
        /root/boost/storagemarket/provider.go:598 +0x482
github.com/filecoin-project/boost/storagemarket.(*Provider).addPiece(0xc01890c1e0, {0x461a980, 0xc000876640}, {0x460ff10, 0xc020ef0d20}, 0xc016d74c40)
        /root/boost/storagemarket/deal_execution.go:538 +0x645
github.com/filecoin-project/boost/storagemarket.(*Provider).execDealUptoAddPiece(0xc01890c1e0, {0x461a980, 0xc000876640}, 0xc016d74c40, 0xc01845ca80)
        /root/boost/storagemarket/deal_execution.go:197 +0x610
github.com/filecoin-project/boost/storagemarket.(*Provider).execDeal(0xc01890c1e0, 0xc016d74c40, 0xc01845ca80)
        /root/boost/storagemarket/deal_execution.go:108 +0x3c5
github.com/filecoin-project/boost/storagemarket.(*Provider).runDeal(0xc01890c1e0, 0xc016d74c40, 0xc01845ca80)
        /root/boost/storagemarket/deal_execution.go:51 +0x274
github.com/filecoin-project/boost/storagemarket.(*Provider).startDealThread.func1()
        /root/boost/storagemarket/provider_loop.go:545 +0xaa
created by github.com/filecoin-project/boost/storagemarket.(*Provider).startDealThread
        /root/boost/storagemarket/provider_loop.go:538 +0xbc
@nonsense
Copy link
Member Author

We are running a patched version of go-jsonrpc for now. Will re-open if this happens again.

@nonsense nonsense moved this to Done in Boost Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant