Skip to content

Instantly share code, notes, and snippets.

@tommetge
Created June 21, 2012 22:10
Show Gist options
  • Save tommetge/2968885 to your computer and use it in GitHub Desktop.
Save tommetge/2968885 to your computer and use it in GitHub Desktop.
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
what(): boost::lock_error
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff3d82700 (LWP 5667)]
0x00000000006a4904 in leveldb::GetLengthPrefixedSlice(char const*) ()
(gdb) bt
#0 0x00000000006a4904 in leveldb::GetLengthPrefixedSlice(char const*) ()
#1 0x00000000006a4af4 in leveldb::MemTable::KeyComparator::operator()(char const*, char const*) const ()
#2 0x00000000006a51d0 in leveldb::SkipList<char const*, leveldb::MemTable::KeyComparator>::FindGreaterOrEqual(char const* const&, leveldb::SkipList<char const*, leveldb::MemTable::KeyComparator>::Node**) const ()
#3 0x00000000006a52cc in leveldb::SkipList<char const*, leveldb::MemTable::KeyComparator>::Insert(char const* const&) ()
#4 0x00000000006a4eb0 in leveldb::MemTable::Add(unsigned long, leveldb::ValueType, leveldb::Slice const&, leveldb::Slice const&) ()
#5 0x00000000006afcdc in leveldb::(anonymous namespace)::MemTableInserter::Put(leveldb::Slice const&, leveldb::Slice const&) ()
#6 0x00000000006b0019 in leveldb::WriteBatch::Iterate(leveldb::WriteBatch::Handler*) const ()
#7 0x00000000006b02e4 in leveldb::WriteBatchInternal::InsertInto(leveldb::WriteBatch const*, leveldb::MemTable*) ()
#8 0x000000000069f24a in leveldb::DBImpl::Write(leveldb::WriteOptions const&, leveldb::WriteBatch*) ()
#9 0x0000000000485e8d in WriteTransaction::commit (this=0x7ffff0f6ce00, sync=true) at src/localfs/storage.cpp:159
#10 0x00000000004853c5 in Storage::format (this=0x7fffffffdbe0) at src/localfs/storage.cpp:101
#11 0x000000000044a828 in boost::_mfi::mf0<void, Storage>::operator() (this=0x7fffec0016e8, t=...) at /usr/include/boost/bind/mem_fn_template.hpp:70
#12 0x0000000000446fc2 in boost::_bi::list1<boost::reference_wrapper<Storage> >::operator()<boost::_mfi::mf0<void, Storage>, boost::_bi::list0> (this=0x7fffec0016f8, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
#13 0x0000000000443ef3 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, Storage>, boost::_bi::list1<boost::reference_wrapper<Storage> > >::operator() (this=0x7fffec0016e8) at /usr/include/boost/bind/bind_template.hpp:20
#14 0x0000000000440507 in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, Storage>, boost::_bi::list1<boost::reference_wrapper<Storage> > >, void>::invoke (function_obj_ptr=...)
at /usr/include/boost/function/function_template.hpp:153
#15 0x00000000005d9e1f in operator() (this=<optimized out>) at /usr/include/boost/function/function_template.hpp:760
#16 Mordor::Fiber::entryPoint () at mordor/fiber.cpp:336
#17 0x00007ffff5e8f310 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#18 0x0000000000000000 in ?? ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment