Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1065

dbgheap.c assertion when adding types to message body (through proton::value)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.12.0
    • proton-0.12.0
    • cpp-binding
    • None
    • Windows (Visual Studio 2013 vs120 debug runtime)

    Description

      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>

      Attachments

        Activity

          People

            aconway Alan Conway
            smatloff Scott Matloff
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: