Scott Matloff created PROTON-1065:
-------------------------------------

             Summary: 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: Cliff Jansen


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)

Reply via email to