Skip to content

fix: panic for nil pointer dereference runRangeCheck#105

Merged
pk910 merged 2 commits intomasterfrom
bbusa/fix-panic
Aug 11, 2025
Merged

fix: panic for nil pointer dereference runRangeCheck#105
pk910 merged 2 commits intomasterfrom
bbusa/fix-panic

Conversation

@barnabasbusa
Copy link
Contributor

fixing this panic:

time="2025-07-11T15:07:14Z" level=error msg="task execution panic: runtime error: invalid memory address or nil pointer dereference, stack: goroutine 254 [running]:\nruntime/debug.Stack()\n\t/opt/hostedtoolcache/go/1.24.4/x64/src/runtime/debug/stack.go:26 +0x5e\ngithub.com/ethpandaops/assertoor/pkg/coordinator/scheduler.(*TaskScheduler).ExecuteTask.func6()\n\t/home/runner/work/assertoor/assertoor/pkg/coordinator/scheduler/task_execution.go:143 +0xd2\npanic({0x1388940?, 0x2526620?})\n\t/opt/hostedtoolcache/go/1.24.4/x64/src/runtime/panic.go:792 +0x132\ngithub.com/ethpandaops/assertoor/pkg/coordinator/tasks/check_consensus_slot_range.(*Task).runRangeCheck(0xc00158e370)\n\t/home/runner/work/assertoor/assertoor/pkg/coordinator/tasks/check_consensus_slot_range/task.go:102 +0x59\ngithub.com/ethpandaops/assertoor/pkg/coordinator/tasks/check_consensus_slot_range.(*Task).Execute(0xc00158e370, {0x1affe30, 0xc00158e500})\n\t/home/runner/work/assertoor/assertoor/pkg/coordinator/tasks/check_consensus_slot_range/task.go:80 +0xf3\ngithub.com/ethpandaops/assertoor/pkg/coordinator/scheduler.(*TaskScheduler).ExecuteTask(0xc001377ba0, {0x1affea0, 0xc001585340}, 0x13d0440?, 0xc00155f550)\n\t/home/runner/work/assertoor/assertoor/pkg/coordinator/scheduler/task_execution.go:156 +0xa26\ngithub.com/ethpandaops/assertoor/pkg/coordinator/scheduler.(*TaskScheduler).RunTasks(0xc001377ba0, {0x1affe30, 0xc0000f26e0}, 0x68c61714000)\n\t/home/runner/work/assertoor/assertoor/pkg/coordinator/scheduler/scheduler.go:88 +0x225\ngithub.com/ethpandaops/assertoor/pkg/coordinator/test.(*Test).Run(0xc0000d2a50, {0x1affe30, 0xc0000f26e0})\n\t/home/runner/work/assertoor/assertoor/pkg/coordinator/test/test.go:211 +0x27f\ngithub.com/ethpandaops/assertoor/pkg/coordinator.(*TestRunner).runTest(0x0?, {0x1affe30, 0xc0000f26e0}, {0x1b0c7e0, 0xc0000d2a50})\n\t/home/runner/work/assertoor/assertoor/pkg/coordinator/testrunner.go:200 +0x106\ngithub.com/ethpandaops/assertoor/pkg/coordinator.(*TestRunner).RunTestExecutionLoop.func1({0x1b0c7e0?, 0xc0000d2a50?})\n\t/home/runner/work/assertoor/assertoor/pkg/coordinator/testrunner.go:159 +0x72\ncreated by github.com/ethpandaops/assertoor/pkg/coordinator.(*TestRunner).RunTestExecutionLoop in goroutine 35\n\t/home/runner/work/assertoor/assertoor/pkg/coordinator/testrunner.go:168 +0x2dc\n" RunID=1 TestID=w

@barnabasbusa barnabasbusa requested a review from pk910 August 5, 2025 15:27
@pk910 pk910 merged commit 9611c8d into master Aug 11, 2025
8 checks passed
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

Successfully merging this pull request may close these issues.

2 participants