google / google/leveldb

Crash in DecodeEntry during compaction on Android

Open
#616 2 comments 3 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
39.4k
Forks
8.2k
PR merge metrics
No merged PRs in 30d

Description

Hi,

Noticed following crash in couple of Android device during compaction:
```
libleveldb.so!leveldb::Block::Iter::ParseNextKey [block.cc : 58 + 0x0]
libleveldb.so!leveldb::::TwoLevelIterator::SkipEmptyDataBlocksForward [iterator_wrapper.h : 48 + 0x5]
libleveldb.so!leveldb::::TwoLevelIterator::Next [iterator_wrapper.h : 45 + 0x9]
libleveldb.so!leveldb::::MergingIterator::Next [iterator_wrapper.h : 45 + 0x7]
libleveldb.so!leveldb::DBImpl::DoCompactionWork [db_impl.cc : 1006 + 0x7]
libleveldb.so!leveldb::DBImpl::BackgroundCompaction [db_impl.cc : 736 + 0x9]
libleveldb.so!leveldb::DBImpl::BackgroundCall [db_impl.cc : 674 + 0x5]
libleveldb.so!leveldb::::PosixEnv::BGThreadWrapper [env_posix.cc : 581 + 0x3]
libc.so + 0x46da3
libc.so + 0x19b0d
libleveldb.so!leveldb::::PosixFileLock::~PosixFileLock [basic_string.h : 249 + 0x17]
```

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.