Skip to content

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

@mcohen-encircle

Description

@mcohen-encircle

Hey,

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

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

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

Any help would be much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions