Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
M4
-
None
Description
==10300== Invalid read of size 4
==10300== at 0x4325A38: boost::spirit::impl::object_with_id<boost::spirit::impl::grammar_tag, unsigned>::~object_with_id() (object_with_id.ipp:122)
==10300== by 0x432215A: qpid::Url::parse(char const*) (grammar.hpp:50)
==10300== by 0x804984B: qpid::Url::Url(char const*) (Url.h:60)
Valgrind shows problem to be an issue with the spirit based url parser.
#include <qpid/Url.h>
using namespace qpid;
int main(int argc, char ** argv)
{
for (uint i = 0; i < 100; i++)
return 0;
}
Compiling the above and linking with boost_serialization causes a crash. As known urls are passed to the client on opening a connection, this is causing crashes when c++ client apps are also linked against boost_serialization.