Open GoogleCodeExporter opened 9 years ago
Using Leveldb on internal firewall company, in my case it is nearly impossible
to reproduce, it happens sometimes. No open fd or mem leak detected by valgrind
or tracked with lsof. The rest of thread are waiting on epoll_wait or similar.
Thread 1 (Thread 0xefdfdb90 (LWP 19442)):
#0 0x08435bf1 in leveldb::Block::Iter::SeekToFirst() ()
#1 0x08430f47 in leveldb::(anonymous
namespace)::TwoLevelIterator::SkipEmptyDataBlocksForward() ()
#2 0x0842d97a in leveldb::(anonymous
namespace)::MergingIterator::SeekToFirst() ()
#3 0x08419e0a in
leveldb::DBImpl::DoCompactionWork(leveldb::DBImpl::CompactionState*) ()
#4 0x0841a90d in leveldb::DBImpl::BackgroundCompaction() ()
#5 0x0841b117 in leveldb::DBImpl::BackgroundCall() ()
#6 0x08437ce8 in leveldb::(anonymous
namespace)::PosixEnv::BGThreadWrapper(void*) ()
#7 0x47ebc51f in start_thread () from /lib/libpthread.so.0
#8 0x47df201e in clone () from /lib/libc.so.6
Disassembly:
0x08435b70 <+0>: push %ebp
0x08435b71 <+1>: mov %esp,%ebp
0x08435b73 <+3>: push %edi
0x08435b74 <+4>: push %esi
0x08435b75 <+5>: push %ebx
0x08435b76 <+6>: sub $0x4c,%esp
0x08435b79 <+9>: mov 0x8(%ebp),%esi
0x08435b7c <+12>: lea 0x2c(%esi),%eax
0x08435b7f <+15>: mov %eax,-0x40(%ebp)
0x08435b82 <+18>: movl $0x0,0xc(%esp)
0x08435b8a <+26>: mov 0x2c(%esi),%eax
0x08435b8d <+29>: mov -0xc(%eax),%eax
0x08435b90 <+32>: movl $0x0,0x4(%esp)
0x08435b98 <+40>: mov %eax,0x8(%esp)
0x08435b9c <+44>: mov -0x40(%ebp),%eax
0x08435b9f <+47>: mov %eax,(%esp)
0x08435ba2 <+50>: call 0x811a89c <_ZNSs9_M_mutateEjjj@plt>
0x08435ba7 <+55>: mov 0x18(%esi),%edx
0x08435baa <+58>: mov 0x1c(%esi),%ecx
0x08435bad <+61>: movl $0x0,0x28(%esi)
0x08435bb4 <+68>: lea (%edx,%ecx,1),%edi
0x08435bb7 <+71>: mov (%edi),%eax
0x08435bb9 <+73>: mov %eax,-0x10(%ebp)
0x08435bbc <+76>: lea (%edx,%eax,1),%eax
0x08435bbf <+79>: mov %eax,0x30(%esi)
0x08435bc2 <+82>: sub 0x18(%esi),%eax
0x08435bc5 <+85>: movl $0x0,0x34(%esi)
0x08435bcc <+92>: lea (%edx,%eax,1),%ebx
0x08435bcf <+95>: cmp %edi,%ebx
0x08435bd1 <+97>: mov %eax,0x24(%esi)
0x08435bd4 <+100>: jb 0x8435be8 <_ZN7leveldb5Block4Iter11SeekToFirstEv+120>
0x08435bd6 <+102>: mov 0x20(%esi),%eax
0x08435bd9 <+105>: mov %ecx,0x24(%esi)
0x08435bdc <+108>: mov %eax,0x28(%esi)
0x08435bdf <+111>: add $0x4c,%esp
0x08435be2 <+114>: pop %ebx
0x08435be3 <+115>: pop %esi
0x08435be4 <+116>: pop %edi
0x08435be5 <+117>: pop %ebp
0x08435be6 <+118>: ret
0x08435be7 <+119>: nop
0x08435be8 <+120>: mov %edi,%eax
0x08435bea <+122>: sub %ebx,%eax
0x08435bec <+124>: cmp $0x2,%eax
0x08435bef <+127>: jle 0x8435c3d <_ZN7leveldb5Block4Iter11SeekToFirstEv+205>
=> 0x08435bf1 <+129>: movzbl (%ebx),%eax
0x08435bf4 <+132>: mov %eax,-0x10(%ebp)
Original comment by Raist...@gmail.com
on 6 Oct 2014 at 5:32
Original issue reported on code.google.com by
vlankh...@google.com
on 22 Aug 2014 at 12:40