google / google/leveldb

[BUG] SIGSEGV: SkipList<char const*, MemTable::KeyComparator>::FindGreaterOrEqual

Open
#1,298 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
39.4k
Forks
8.2k
PR merge metrics
No merged PRs in 30d

Description

Hey,

My Android app is crashing with the following stack-trace:

```
Crashed: Thread: SIGSEGV 0x0031353136393230
#00 pc 0x8ea34 libleveldb.so (leveldb::SkipList::FindGreaterOrEqual(char const* const&, leveldb::SkipList::Node**) const [coding.h:93])
#01 pc 0x8e3d8 libleveldb.so (leveldb::MemTable::Get(leveldb::LookupKey const&, std::__ndk1::basic_string, std::__ndk1::allocator>*, leveldb::Status*) [skiplist.h:226])
#02 pc 0x8e3d8 libleveldb.so (leveldb::MemTable::Get(leveldb::LookupKey const&, std::__ndk1::basic_string, std::__ndk1::allocator>*, leveldb::Status*) [skiplist.h:226])
#03 pc 0x86c4c libleveldb.so (leveldb::DBImpl::Get(leveldb::ReadOptions const&, leveldb::Slice const&, std::__ndk1::basic_string, std::__ndk1::allocator>*) [db_impl.cc:1136])
```

I'm targeting c++20 and pointing to LevelDB v1.20 (from 2017)

Any help would be much appreciated.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.