[ https://issues.apache.org/jira/browse/PROTON-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15075456#comment-15075456 ]
ASF subversion and git services commented on PROTON-1065: --------------------------------------------------------- Commit 8a35409a90a676e0b31acc32f7ebc1cd191f4a56 in qpid-proton's branch refs/heads/master from [~aconway] [ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=8a35409 ] PROTON-1065: c++: add test to verify PROTON-1065, add as_xxx() members to proton::value. Tested on linux and windows VS 9. > dbgheap.c assertion when adding types to message body (through proton::value) > ----------------------------------------------------------------------------- > > Key: PROTON-1065 > URL: https://issues.apache.org/jira/browse/PROTON-1065 > Project: Qpid Proton > Issue Type: Bug > Components: cpp-binding > Affects Versions: 0.12.0 > Environment: Windows (Visual Studio 2013 vs120 debug runtime) > Reporter: Scott Matloff > Assignee: Alan Conway > > Downloaded latest off github as of 11/23/15. > Sample code: > std::string s("Yay"); > proton::message msg; > msg.body(s); // Error fires here in translation of s to proton::value > Stack: > > msvcr120d.dll!_free_dbg_nolock(void * pUserData, int nBlockUse) Line > > 1424 C++ > msvcr120d.dll!_free_dbg(void * pUserData, int nBlockUse) Line 1265 > C++ > msvcr120d.dll!operator delete(void * pUserData) Line 54 C++ > > qpid-proton-cppd.dll!std::allocator<std::_Container_proxy>::deallocate(std::_Container_proxy > * _Ptr, unsigned __int64 __formal) Line 574 C++ > > qpid-proton-cppd.dll!std::_String_alloc<0,std::_String_base_types<char,std::allocator<char> > > >::_Free_proxy() Line 678 C++ > > qpid-proton-cppd.dll!std::_String_alloc<0,std::_String_base_types<char,std::allocator<char> > > >::~_String_alloc<0,std::_String_base_types<char,std::allocator<char> > > >() Line 651 C++ > > qpid-proton-cppd.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> > >::~basic_string<char,std::char_traits<char>,std::allocator<char> >() Line > 992 C++ > qpid-proton-cppd.dll!proton::amqp_string::~amqp_string() C++ > qpid-proton-cppd.dll!proton::operator<<(proton::encoder e, > proton::amqp_string value) Line 129 C++ > CellConsole.exe!proton::operator<<(proton::encoder e, const > std::basic_string<char,std::char_traits<char>,std::allocator<char> > & s) > Line 175 C++ > > CellConsole.exe!proton::data::operator=<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > >(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > > & t) Line 50 C++ > > CellConsole.exe!proton::value::value<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > >(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > > & x) Line 49 C++ > <application code below this point> -- This message was sent by Atlassian JIRA (v6.3.4#6332)