Invalid Address specified to RtlFreeHeap with gloox::JID::full()
From: "Federico Rossi" <f.rossi@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 8 Mar 2007 18:36:37 +0100 (CET)
Hi,
I'm using Gloox vers. 8.7-sic built with Visual Studio .NET 2003 under
Windows XP.
My Gloox Library was built with zLib, GnuTLS and LIBidn support.
In my applications I obtain an Unhandled Exception when I call the gloox::JID::full() method.
For example in the message_test.cpp example

virtual void handleMessageEvent( const JID& from, MessageEventType event )
   {
printf( "received event: %d from: %s\n", event, from.full().c_str() );
   }

I have the following error message from Visual Studio:

HEAP[Test_Gloox_Console.exe]: Invalid Address specified to RtlFreeHeap( 00D50000, 00C5DDF0 ) Unhandled exception at 0x7c911230 in Test_Gloox_Console.exe: User breakpoint.

The debug watch of the variable "from" is:

from {m_resource={"gaim"} m_username={"gaim_comp"} m_server={"goldrake.iet.unipi.it"} m_server_raw={"goldrake.iet.unipi.it"} } const gloox::JID &

Can anyone help me?
Thanks

Federico