oxia icon indicating copy to clipboard operation
oxia copied to clipboard

flaky-test: panic: runtime error: invalid memory address or nil pointer dereference

Open lsytj0413 opened this issue 9 months ago • 0 comments

{"endExclusive":"__oxia/session/0000000000000000//","shard":"0","startInclusive":"__oxia/session/0000000000000000/"} shard=2 term=2
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x16187db]

goroutine 1201 [running]:
github.com/streamnative/oxia/server.(*leaderController).list.func1()
	/home/runner/work/oxia/oxia/server/leader_controller.go:657 +0x23b
github.com/streamnative/oxia/common.DoWithLabels.func1({0x1c08700?, 0xc000a773b0?})
	/home/runner/work/oxia/oxia/common/pprof.go:46 +0x2f
runtime/pprof.Do({0x1c084d0, 0x3422c60}, {{0xc000d96900?, 0xc000b49c98?, 0x413e85?}}, 0xc000b49d20)
	/opt/hostedtoolcache/go/1.23.6/x64/src/runtime/pprof/runtime.go:51 +0x118
github.com/streamnative/oxia/common.DoWithLabels({0x1c084d0, 0x3422c60}, 0xc000b49f40, 0xc000b49dd8)
	/home/runner/work/oxia/oxia/common/pprof.go:42 +0x585
github.com/streamnative/oxia/server.(*leaderController).list(0xc000ff7c20, {0x1c084d0, 0x3422c60}, 0xc000d96840, 0xc001190fc0)
	/home/runner/work/oxia/oxia/server/leader_controller.go:642 +0x3b1
created by github.com/streamnative/oxia/server.(*leaderController).ListSliceNoMutex in goroutine 1007
	/home/runner/work/oxia/oxia/server/leader_controller.go:689 +0x216
FAIL	github.com/streamnative/oxia/server	8.824s

See https://github.com/streamnative/oxia/actions/runs/13687064942/job/38272783891

lsytj0413 avatar Mar 06 '25 01:03 lsytj0413