Android App Using Level DB Crashing due to SIGABRT
- Dominant language
- C++
- Stars
- 39.4k
- Forks
- 8.2k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Can anyone help me to analyze below stack trace and find whats going wrong??
LevelDb Version used in App: 1.19
```
07-31 09:28:35.762 16921 16921 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
07-31 09:28:35.762 16921 16921 F DEBUG : r0 00000000 r1 000041ee r2 00000006 r3 00000008
07-31 09:28:35.762 16921 16921 F DEBUG : r4 00004100 r5 000041ee r6 b2b0ec34 r7 0000010c
07-31 09:28:35.762 16921 16921 F DEBUG : r8 00000000 r9 b2b0ec90 sl 0000000b fp 18000000
07-31 09:28:35.762 16921 16921 F DEBUG : ip b2b0ec64 sp b2b0ec20 lr b44fa92d pc b44f441a cpsr 200f0030
07-31 09:28:35.770 16921 16921 F DEBUG :
07-31 09:28:35.770 16921 16921 F DEBUG : backtrace:
07-31 09:28:35.771 16921 16921 F DEBUG : #00 pc 0001a41a /system/lib/libc.so (abort+63)
07-31 09:28:35.771 16921 16921 F DEBUG : #01 pc 000024a5 /system/bin/app_process32 (art::SignalChain::Handler(int, siginfo*, void*)+740)
07-31 09:28:35.771 16921 16921 F DEBUG : #02 pc 00018a28 /system/lib/libc.so
07-31 09:28:35.771 16921 16921 F DEBUG : #03 pc 00020a7c /data/app/xxx-ePQS-81x6MmPXRKDntleNg==/lib/arm/libleveldb.so
07-31 09:28:35.771 16921 16921 F DEBUG : #04 pc 0002086d /data/app/xxx-ePQS-81x6MmPXRKDntleNg==/lib/arm/libleveldb.so
07-31 09:28:35.771 16921 16921 F DEBUG : #05 pc 00022fdb /data/app/xxx-ePQS-81x6MmPXRKDntleNg==/lib/arm/libleveldb.so (leveldb::Table::InternalGet(leveldb::ReadOptions const&, leveldb::Slice const&, void*, void (*)(void*, leveldb::Slice const&, leveldb::Slice const&))+170)
07-31 09:28:35.771 16921 16921 F DEBUG : #06 pc 0001a6e3 /data/app/xxx-ePQS-81x6MmPXRKDntleNg==/lib/arm/libleveldb.so (leveldb::TableCache::Get(leveldb::ReadOptions const&, unsigned long long, unsigned long long, leveldb::Slice const&, void*, void (*)(void*, leveldb::Slice const&, leveldb::Slice const&))+86)
07-31 09:28:35.771 16921 16921 F DEBUG : #07 pc 0001bba5 /data/app/xxx-ePQS-81x6MmPXRKDntleNg==/lib/arm/libleveldb.so (leveldb::Version::Get(leveldb::ReadOptions const&, leveldb::LookupKey const&, std::string*, leveldb::Version::GetStats*)+472)
07-31 09:28:35.771 16921 16921 F DEBUG : #08 pc 0001320b /data/app/xxx-ePQS-81x6MmPXRKDntleNg==/lib/arm/libleveldb.so (leveldb::DBImpl::Get(leveldb::ReadOptions const&, leveldb::Slice const&, std::string*)+166)
```
Contributor guide
Research direction
Start with the supplied native backtrace, especially leveldb::Table::InternalGet and the preceding TableCache::Get and Version::Get frames. Reproduce the SIGABRT on Android with LevelDB 1.19 and establish a symbolized cause and minimal reproduction; no source file or test is named.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, cpp
- Domain
- databases, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100