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]: read index data panic #1003

Closed
stone1100 opened this issue Dec 14, 2023 · 0 comments
Closed

[bug]: read index data panic #1003

stone1100 opened this issue Dec 14, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@stone1100
Copy link
Member

stone1100 commented Dec 14, 2023

Describe the bug
panic when read kv bucket data

To Reproduce (Required)
Steps to reproduce the behavior:

Expected behavior (Required)
A clear and concise description of what you expected to happen.

What's your LinDB version? (Required)
main branch

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
unexpected fault address 0x101b78035
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x2 addr=0x101b78035 pc=0x100fc8414]

goroutine 20 [running]:
runtime.throw({0x101061a14?, 0x100c244c0?})
/usr/local/go/src/runtime/panic.go:1077 +0x40 fp=0x14000203c70 sp=0x14000203c40 pc=0x100bf05b0
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:875 +0x22c fp=0x14000203cd0 sp=0x14000203c70 pc=0x100c0859c
github.com/lindb/lindb/pkg/trie.(*selectVector).Select(0xdfb1913d7?, 0x16121c0?)
/Users/jacklhuang/Documents/github/lindb/pkg/trie/select.go:71 +0x44 fp=0x14000203d10 sp=0x14000203ce0 pc=0x100fc8414
github.com/lindb/lindb/pkg/trie.(*trie).firstLabelPos(...)
/Users/jacklhuang/Documents/github/lindb/pkg/trie/trie.go:183
github.com/lindb/lindb/pkg/trie.(*trie).Get(0x140001768c0, {0x14000010198, 0x5, 0x5})
/Users/jacklhuang/Documents/github/lindb/pkg/trie/trie.go:76 +0x44 fp=0x14000203d70 sp=0x14000203d10 pc=0x100fc8d24
github.com/lindb/lindb/index/model.(*TrieBucket).GetValue(...)
/Users/jacklhuang/Documents/github/lindb/index/model/trie_bucket.go:155
github.com/lindb/lindb/index.(*indexKVStore).getOrCreateValue(0x14000169900, 0x1041390?, {0x14000010198, 0x5, 0x5}, 0x0)
/Users/jacklhuang/Documents/github/lindb/index/kv_store.go:307 +0x29c fp=0x14000203e20 sp=0x14000203d70 pc=0x1010364bc
github.com/lindb/lindb/index.(*indexKVStore).GetValue(0xbebc200?, 0x10f520?, {0x14000010198?, 0x101125bc8?, 0x101172080?})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant