daily pastebin goal
22%
SHARE
TWEET

segfault in YacProposalStorage copy ctor

a guest Nov 28th, 2018 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #0  0x00007ffff59a5428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
  2. #1  0x00007ffff59a702a in __GI_abort () at abort.c:89
  3. #2  0x00007ffff599dbd7 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0xb96794 "false",
  4.     file=file@entry=0xb96db0 "/usr/local/include/boost/variant/detail/forced_return.hpp", line=line@entry=47,
  5.     function=function@entry=0xb980e0 <void boost::detail::variant::forced_return<void>()::__PRETTY_FUNCTION__> "T boost::detail::variant::forced_return() [with T = void]") at assert.c:92
  6. #3  0x00007ffff599dc82 in __GI___assert_fail (assertion=0xb96794 "false", file=0xb96db0 "/usr/local/include/boost/variant/detail/forced_return.hpp", line=47,
  7.     function=0xb980e0 <void boost::detail::variant::forced_return<void>()::__PRETTY_FUNCTION__> "T boost::detail::variant::forced_return() [with T = void]") at assert.c:101
  8. #4  0x0000000000470441 in boost::detail::variant::forced_return<void> () at /usr/local/include/boost/variant/detail/forced_return.hpp:47
  9. #5  0x00000000008a5d73 in boost::detail::variant::visitation_impl<mpl_::int_<20>, boost::detail::variant::visitation_impl_step<boost::mpl::l_iter<boost::mpl::l_end>, boost::mpl::l_iter<boost::mpl::l_end> >, boost::detail::variant::copy_into, void const*, boost::variant<iroha::consensus::yac::CommitMessage, iroha::consensus::yac::RejectMessage>::has_fallback_type_> ()
  10.     at /usr/local/include/boost/variant/detail/visitation_impl.hpp:191
  11. #6  0x00000000008a4e66 in boost::detail::variant::visitation_impl<mpl_::int_<0>, boost::detail::variant::visitation_impl_step<boost::mpl::l_iter<boost::mpl::l_item<mpl_::long_<2l>, iroha::consensus::yac::CommitMessage, boost::mpl::l_item<mpl_::long_<1l>, iroha::consensus::yac::RejectMessage, boost::mpl::l_end> > >, boost::mpl::l_iter<boost::mpl::l_end> >, boost::detail::variant::copy_into, void const*, boost::variant<iroha::consensus::yac::CommitMessage, iroha::consensus::yac::RejectMessage>::has_fallback_type_> (internal_which=603979896, logical_which=603979896,
  12.     visitor=..., storage=0x7fff24007248, no_backup_flag=...) at /usr/local/include/boost/variant/detail/visitation_impl.hpp:267
  13. #7  0x00000000008a3a7e in boost::variant<iroha::consensus::yac::CommitMessage, iroha::consensus::yac::RejectMessage>::internal_apply_visitor_impl<boost::detail::variant::copy_into, void const*> (internal_which=603979896, logical_which=603979896, visitor=..., storage=0x7fff24007248) at /usr/local/include/boost/variant/variant.hpp:2397
  14. #8  0x00000000008a2a46 in boost::variant<iroha::consensus::yac::CommitMessage, iroha::consensus::yac::RejectMessage>::internal_apply_visitor<boost::detail::variant::copy_into> (
  15.     this=0x7fff24007240, visitor=...) at /usr/local/include/boost/variant/variant.hpp:2419
  16. #9  0x00000000008a147f in boost::variant<iroha::consensus::yac::CommitMessage, iroha::consensus::yac::RejectMessage>::variant (this=0x7fff94ff8438, operand=...)
  17.     at /usr/local/include/boost/variant/variant.hpp:1809
  18. #10 0x00000000008ac9f6 in boost::optional_detail::optional_base<boost::variant<iroha::consensus::yac::CommitMessage, iroha::consensus::yac::RejectMessage> >::construct (this=0x7fff94ff8430,
  19.     val=...) at /usr/local/include/boost/optional/optional.hpp:350
  20. #11 0x00000000008ac36d in boost::optional_detail::optional_base<boost::variant<iroha::consensus::yac::CommitMessage, iroha::consensus::yac::RejectMessage> >::optional_base (
  21.     this=0x7fff94ff8430, rhs=...) at /usr/local/include/boost/optional/optional.hpp:162
  22. #12 0x00000000008abc21 in boost::optional<boost::variant<iroha::consensus::yac::CommitMessage, iroha::consensus::yac::RejectMessage> >::optional (this=0x7fff94ff8430, rhs=...)
  23.     at /usr/local/include/boost/optional/optional.hpp:877
  24. #13 0x00000000008ab1aa in iroha::consensus::yac::YacProposalStorage::YacProposalStorage (this=0x7fff94ff8430) at /opt/iroha/irohad/consensus/yac/storage/yac_proposal_storage.hpp:42
  25. #14 0x00000000008ddf91 in __gnu_cxx::__ops::_Iter_pred<iroha::consensus::yac::YacVoteStorage::getProposalStorage(const iroha::consensus::Round&)::<lambda(auto:5)> >::operator()<__gnu_cxx::__normal_iterator<iroha::consensus::yac::YacProposalStorage*, std::vector<iroha::consensus::yac::YacProposalStorage> > >(__gnu_cxx::__normal_iterator<iroha::consensus::yac::YacProposalStorage*, std::vector<iroha::consensus::yac::YacProposalStorage, std::allocator<iroha::consensus::yac::YacProposalStorage> > >) (this=0x7fff94ff84d0, __it=...)
  26.     at /usr/include/c++/5/bits/predefined_ops.h:234
  27. #15 0x00000000008ddef2 in std::__find_if<__gnu_cxx::__normal_iterator<iroha::consensus::yac::YacProposalStorage*, std::vector<iroha::consensus::yac::YacProposalStorage> >, __gnu_cxx::__ops::_Iter_pred<iroha::consensus::yac::YacVoteStorage::getProposalStorage(const iroha::consensus::Round&)::<lambda(auto:5)> > >(__gnu_cxx::__normal_iterator<iroha::consensus::yac::YacProposalStorage*, std::vector<iroha::consensus::yac::YacProposalStorage, std::allocator<iroha::consensus::yac::YacProposalStorage> > >, __gnu_cxx::__normal_iterator<iroha::consensus::yac::YacProposalStorage*, std::vector<iroha::consensus::yac::YacProposalStorage, std::allocator<iroha::consensus::yac::YacProposalStorage> > >, __gnu_cxx::__ops::_Iter_pred<iroha::consensus::yac::YacVoteStorage::getProposalStorage(const iroha::consensus::Round&)::<lambda(auto:5)> >, std::random_access_iterator_tag) (__first=..., __last=..., __pred=...) at /usr/include/c++/5/bits/stl_algo.h:148
  28. #16 0x00000000008ddd39 in std::__find_if<__gnu_cxx::__normal_iterator<iroha::consensus::yac::YacProposalStorage*, std::vector<iroha::consensus::yac::YacProposalStorage> >, __gnu_cxx::__ops::_Iter_pred<iroha::consensus::yac::YacVoteStorage::getProposalStorage(const iroha::consensus::Round&)::<lambda(auto:5)> > >(__gnu_cxx::__normal_iterator<iroha::consensus::yac::YacProposalStorage*, std::vector<iroha::consensus::yac::YacProposalStorage, std::allocator<iroha::consensus::yac::YacProposalStorage> > >, __gnu_cxx::__normal_iterator<iroha::consensus::yac::YacProposalStorage*, std::vector<iroha::consensus::yac::YacProposalStorage, std::allocator<iroha::consensus::yac::YacProposalStorage> > >, __gnu_cxx::__ops::_Iter_pred<iroha::consensus::yac::YacVoteStorage::getProposalStorage(const iroha::consensus::Round&)::<lambda(auto:5)> >) (__first=..., __last=..., __pred=...) at /usr/include/c++/5/bits/stl_algo.h:162
  29. #17 0x00000000008ddca3 in std::find_if<__gnu_cxx::__normal_iterator<iroha::consensus::yac::YacProposalStorage*, std::vector<iroha::consensus::yac::YacProposalStorage> >, iroha::consensus::yac::YacVoteStorage::getProposalStorage(const iroha::consensus::Round&)::<lambda(auto:5)> >(__gnu_cxx::__normal_iterator<iroha::consensus::yac::YacProposalStorage*, std::vector<iroha::consensus::yac::YacProposalStorage, std::allocator<iroha::consensus::yac::YacProposalStorage> > >, __gnu_cxx::__normal_iterator<iroha::consensus::yac::YacProposalStorage*, std::vector<iroha::consensus::yac::YacProposalStorage, std::allocator<iroha::consensus::yac::YacProposalStorage> > >, iroha::consensus::yac::YacVoteStorage::<lambda(auto:5)>) (__first=..., __last=..., __pred=...)
  30.     at /usr/include/c++/5/bits/stl_algo.h:3816
  31. #18 0x00000000008dd6ee in iroha::consensus::yac::YacVoteStorage::getProposalStorage (this=0x14be9f0, round=...) at /opt/iroha/irohad/consensus/yac/storage/impl/yac_vote_storage.cpp:41
  32. #19 0x00000000008ddb59 in iroha::consensus::yac::YacVoteStorage::isCommitted (this=0x14be9f0, round=...) at /opt/iroha/irohad/consensus/yac/storage/impl/yac_vote_storage.cpp:73
  33. #20 0x000000000089b4a6 in iroha::consensus::yac::Yac::votingStep (this=0x14be9e0, vote=...) at /opt/iroha/irohad/consensus/yac/impl/yac.cpp:106
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top