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 pointer derefence when sending block #556

Closed
alexsporn opened this issue Nov 24, 2023 · 2 comments
Closed

Nil pointer derefence when sending block #556

alexsporn opened this issue Nov 24, 2023 · 2 comments
Labels
bug Something isn't working test Hardening of all things
Milestone

Comments

@alexsporn
Copy link
Member

2023-11-24T12:18:37.1446341Z nodeD > [Main - 8d7e73ed] BlockDAG.MissingBlockAttached: BlockID(12.1-nodeB:12)
2023-11-24T12:18:37.1446576Z panic: runtime error: invalid memory address or nil pointer dereference
2023-11-24T12:18:37.1446773Z [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x11284d9]
2023-11-24T12:18:37.1446778Z 
2023-11-24T12:18:37.1446859Z goroutine 487550 [running]:
2023-11-24T12:18:37.1447065Z github.com/iotaledger/iota-core/pkg/model.(*Block).Data(...)
2023-11-24T12:18:37.1447511Z 	/actions-runner/_work/iota-core/iota-core/pkg/model/block.go:85
2023-11-24T12:18:37.1447830Z github.com/iotaledger/iota-core/pkg/network/protocols/core.(*Protocol).SendBlock(...)
2023-11-24T12:18:37.1448135Z 	/actions-runner/_work/iota-core/iota-core/pkg/network/protocols/core/protocol.go:53
2023-11-24T12:18:37.1448684Z github.com/iotaledger/iota-core/pkg/protocol.(*Protocol).runNetworkProtocol.func1({0x64, 0x3c, 0x25, 0xea, 0xab, 0xab, 0xd8, 0x7b, 0xf2, 0xb4, ...}, ...)
2023-11-24T12:18:37.1448997Z 	/actions-runner/_work/iota-core/iota-core/pkg/protocol/protocol_network.go:25 +0xf9
2023-11-24T12:18:37.1449220Z github.com/iotaledger/hive.go/runtime/event.(*Event2[...]).Trigger.func1.1()
2023-11-24T12:18:37.1449707Z 	/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/event/events.go:134 +0xb0
2023-11-24T12:18:37.1449929Z github.com/iotaledger/hive.go/runtime/workerpool.(*Task).run(0xc021299b00)
2023-11-24T12:18:37.1450472Z 	/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/workerpool/task.go:48 +0xb6
2023-11-24T12:18:37.1450761Z github.com/iotaledger/hive.go/runtime/workerpool.(*WorkerPool).workerReadLoop(0xc00c82f880)
2023-11-24T12:18:37.1451315Z 	/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/workerpool/workerpool.go:190 +0x3b
2023-11-24T12:18:37.1451589Z github.com/iotaledger/hive.go/runtime/workerpool.(*WorkerPool).worker(0xc00c82f880)
2023-11-24T12:18:37.1452164Z 	/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/workerpool/workerpool.go:170 +0x69
2023-11-24T12:18:37.1452495Z created by github.com/iotaledger/hive.go/runtime/workerpool.(*WorkerPool).startWorkers in goroutine 487505
2023-11-24T12:18:37.1453022Z 	/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/workerpool/workerpool.go:162 +0x32
2023-11-24T12:18:37.1453205Z FAIL	github.com/iotaledger/iota-core/pkg/tests	238.715s
2023-11-24T12:18:37.1453268Z FAIL
@alexsporn alexsporn added bug Something isn't working test Hardening of all things labels Nov 24, 2023
@alexsporn alexsporn added this to the 1.0 RC milestone Nov 24, 2023
@alexsporn alexsporn moved this to Backlog in iota-core Nov 24, 2023
@karimodm
Copy link
Contributor

karimodm commented Dec 4, 2023

Similar to #451

@jonastheis
Copy link
Contributor

Most likely fixed with 48b1db2 in #293

@github-project-automation github-project-automation bot moved this from Backlog to Done in iota-core Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working test Hardening of all things
Projects
Archived in project
Development

No branches or pull requests

3 participants