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: invalid memory address or nil pointer dereference #591

Open
mattisonchao opened this issue Jan 16, 2025 · 0 comments
Open

bug: invalid memory address or nil pointer dereference #591

mattisonchao opened this issue Jan 16, 2025 · 0 comments
Labels

Comments

@mattisonchao
Copy link
Member

│ panic: runtime error: invalid memory address or nil pointer dereference                                                                                                                                                                                                                                      │
│ [signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x1a69d05]                                                                                                                                                                                                                                     │
│                                                                                                                                                                                                                                                                                                              │
│ goroutine 134600539 [running]:                                                                                                                                                                                                                                                                               │
│ github.com/cockroachdb/pebble/objstorage/objstorageprovider.(*vfsReadHandle).ReadAt(0xc001675930?, {0x7fab48af95a0?, 0xc0003c80d8?}, {0x7fab48af95c0?, 0x1324?, 0x1324?}, 0x43ceb61?)                                                                                                                        │
│     /go/pkg/mod/github.com/cockroachdb/[email protected]/objstorage/objstorageprovider/vfs_readable.go:155 +0xc5                                                                                                                                                                                                 │
│ github.com/cockroachdb/pebble/sstable.(*Reader).readBlock(0xc002af2388, {0x2531250, 0x3675660}, {0x31?, 0x31?}, 0x0, {0x2532000, 0xc001675930}, 0xc002d84bb0, 0x0)                                                                                                                                           │
│     /go/pkg/mod/github.com/cockroachdb/[email protected]/sstable/reader.go:565 +0x322                                                                                                                                                                                                                            │
│ github.com/cockroachdb/pebble/sstable.(*singleLevelIterator).loadBlock(0xc001675608, 0x1)                                                                                                                                                                                                                    │
│     /go/pkg/mod/github.com/cockroachdb/[email protected]/sstable/reader_iter_single_lvl.go:398 +0x297                                                                                                                                                                                                            │
│ github.com/cockroachdb/pebble/sstable.(*singleLevelIterator).skipForward(0xc001675608)                                                                                                                                                                                                                       │
│     /go/pkg/mod/github.com/cockroachdb/[email protected]/sstable/reader_iter_single_lvl.go:1246 +0x4a                                                                                                                                                                                                            │
│ github.com/cockroachdb/pebble/sstable.(*singleLevelIterator).Next(0xc001675608)                                                                                                                                                                                                                              │
│     /go/pkg/mod/github.com/cockroachdb/[email protected]/sstable/reader_iter_single_lvl.go:1137 +0x114                                                                                                                                                                                                           │
│ github.com/cockroachdb/pebble/sstable.(*twoLevelIterator).Next(0xc001675608)                                                                                                                                                                                                                                 │
│     /go/pkg/mod/github.com/cockroachdb/[email protected]/sstable/reader_iter_two_lvl.go:794 +0x34                                                                                                                                                                                                                │
│ github.com/cockroachdb/pebble.(*levelIter).Next(0xc002d859e8)                                                                                                                                                                                                                                                │
│     /go/pkg/mod/github.com/cockroachdb/[email protected]/level_iter.go:911 +0x15b                                                                                                                                                                                                                                │
│ github.com/cockroachdb/pebble.(*mergingIter).nextEntry(0xc002d84de0, 0xc002d850a0, {0x0?, 0x47d5b2?, 0xc002c8f9f8?})                                                                                                                                                                                         │
│     /go/pkg/mod/github.com/cockroachdb/[email protected]/merging_iter.go:620 +0xbd                                                                                                                                                                                                                               │
│ github.com/cockroachdb/pebble.(*mergingIter).Next(0xc002d84de0)                                                                                                                                                                                                                                              │
│     /go/pkg/mod/github.com/cockroachdb/[email protected]/merging_iter.go:1254 +0x45                                                                                                                                                                                                                              │
│ github.com/cockroachdb/pebble.(*Iterator).nextUserKey(0xc002d84808)                                                                                                                                                                                                                                          │
│     /go/pkg/mod/github.com/cockroachdb/[email protected]/iterator.go:755 +0x169                                                                                                                                                                                                                                  │
│ github.com/cockroachdb/pebble.(*Iterator).nextWithLimit(0xc002d84808, {0x0, 0x0, 0x0})                                                                                                                                                                                                                       │
│     /go/pkg/mod/github.com/cockroachdb/[email protected]/iterator.go:1872 +0x2ba                                                                                                                                                                                                                                 │
│ github.com/cockroachdb/pebble.(*Iterator).Next(...)                                                                                                                                                                                                                                                          │
│     /go/pkg/mod/github.com/cockroachdb/[email protected]/iterator.go:1663                                                                                                                                                                                                                                        │
│ github.com/streamnative/oxia/server/kv.(*PebbleIterator).Next(0x0?)                                                                                                                                                                                                                                          │
│     /src/oxia/server/kv/kv_pebble.go:644 +0x1e                                                                                                                                                                                                                                                               │
│ github.com/streamnative/oxia/server.(*leaderController).rangeScan.func1()                                                                                                                                                                                                                                    │
│     /src/oxia/server/leader_controller.go:757 +0x367                                                                                                                                                                                                                                                         │
│ github.com/streamnative/oxia/common.DoWithLabels.func1({0x2531288?, 0xc0202f99b0?})                                                                                                                                                                                                                          │
│     /src/oxia/common/pprof.go:46 +0x13                                                                                                                                                                                                                                                                       │
│ runtime/pprof.Do({0x2531288?, 0xc003724ba0?}, {{0xc0021689c0?, 0xb?, 0x25051a0?}}, 0xc003540d50)                                                                                                                                                                                                             │
│     /usr/local/go/src/runtime/pprof/runtime.go:51 +0x8c                                                                                                                                                                                                                                                      │
│ github.com/streamnative/oxia/common.DoWithLabels({0x2531288, 0xc003724ba0}, 0xc003540e00, 0xc003540e30)                                                                                                                                                                                                      │
│     /src/oxia/common/pprof.go:42 +0x34d                                                                                                                                                                                                                                                                      │
│ github.com/streamnative/oxia/server.(*leaderController).rangeScan(0xc008270000, {0x2531288, 0xc003724ba0}, 0xc004c52c00, 0xc00215aa80, 0xc00215aaf0)                                                                                                                                                         │
│     /src/oxia/server/leader_controller.go:718 +0x270                                                                                                                                                                                                                                                         │
│ created by github.com/streamnative/oxia/server.(*leaderController).RangeScan in goroutine 134597048                                                                                                                                                                                                          │
│     /src/oxia/server/leader_controller.go:712 +0x1f1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant