maidsafe-archive / MaidSafe

This is the super-project in which each MaidSafe library resides. Some information is common to all libraries, and is detailed here. Library-specific information can be found in each library's wiki.
Other
583 stars 102 forks source link

PdTest.FUNC_StoreAndGetChunks error #40

Closed JBMaidSafe closed 12 years ago

JBMaidSafe commented 12 years ago

BoundedString error is thrown from ChunkService::Store when running the FUNC_StoreAndGetChunks test, due to an empty chunk version as per the following -

#0  0xb77b1424 in __kernel_vsyscall ()
#1  0xb75a81df in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb75ab825 in __GI_abort () at abort.c:91
#3  0x08ed553d in __gnu_cxx::__verbose_terminate_handler() ()
#4  0x08ed0523 in __cxxabiv1::__terminate(void (*)()) ()
#5  0x08ed055f in std::terminate() ()
#6  0x08ed04ae in __cxa_throw ()
#7  0x08cb315e in boost::throw_exception<std::system_error> (e=...) at /home/maidsafe/MaidSafe/MaidSafe/src/third_party_libs/boost/boost/throw_exception.hpp:67
#8  0x08cb2645 in maidsafe::DoThrowError (code=...) at /home/maidsafe/MaidSafe/MaidSafe/src/common/src/maidsafe/common/error.cc:72
#9  0x088ddf46 in maidsafe::ThrowError (code=...) at /home/maidsafe/MaidSafe/MaidSafe/src/common/include/maidsafe/common/error.h:561
#10 0x0898bd54 in maidsafe::detail::BoundedString<24u, 24u>::string (this=0x8a7b62d4) at /home/maidsafe/MaidSafe/MaidSafe/src/common/include/maidsafe/common/bounded_string.h:122
#11 0x089bd189 in maidsafe::HexSubstr<24u, 24u> (non_hex=...) at /home/maidsafe/MaidSafe/MaidSafe/src/common/include/maidsafe/common/utils.h:182
#12 0x08a0d935 in maidsafe::pd::vault::ChunkService::Store (this=0xb0c58c70, sender=..., request=..., response=0x8a7b6e04) at /home/maidsafe/MaidSafe/MaidSafe/src/pd/src/maidsafe/pd/vault/chunk_service.cc:336
#13 0x08970d95 in maidsafe::pd::vault::Node::OnMessageReceived(maidsafe::pd::RpcMessageType const&, std::string const&, maidsafe::pd::Contact const&, maidsafe::NodeId const&, maidsafe::pd::SecurityType const&, bool, std::function<void (std::string const&, maidsafe::pd::SecurityType const&)> const&) (this=0x997f150, message_type=@0x8a7b704c: maidsafe::pd::kChunkStore, message=..., sender=..., group_claim=..., security_type=..., cache_lookup=false, reply_functor=...)
    at /home/maidsafe/MaidSafe/MaidSafe/src/pd/src/maidsafe/pd/vault/node.cc:363
muecs commented 12 years ago

Fixed in maidsafe/MaidSafe-PD@02c794f05a9b91886c9bfb762b7ccec766c3fa12