< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [recon-devel] Asserts in current testUA/Recon/Resip from svn revision 8401


Hi David,

Yeah, such kind of problems are not very easy to debug.
It *might* help if you run your program under Linux with
valgrind. Or any other memchecker of your choice.

On Sat, Jan 24, 2009 at 3:23 AM, D. S. <dsuhpublic@xxxxxxxxx> wrote:
> Building with VS 2005 and running under Windows XP.
>
> First assert
> -----------------
>
> The OsSysLog::setOutputFile(0, "sipXtapilog.txt") ; added to
> testUA.cxx causes an assert in the free(data) call in
> OsSysLogTask::handleMessage():
>            case OsSysLogMsg::SET_FILE:
>               data = (char*) pSysLogMsg->getData();
>               processSetFile(data) ;
>               if (data != NULL)
>               {
>                  free(data) ;
>               }
>
> Somehow the Windows library says that the data pointer is not a valid
> heap pointer.
>
> I would comment out all OsSysLog functions for now and uncomment the
> enableConsoleOutput(TRUE);
>
> Second assert
> ---------------------
>
> The ua.shutdown(); call in testUA.cxx causes an assert in the
> free(channel->lookups); call in ares_destroy_internal().
>
> Windows library says something similar about the heap pointer being invalid.
>
> I did not see this last week.
>
>
> I would like to find out if these problems are specific to VS 2005 or Windows.
>
> David Suh
> _______________________________________________
> recon-devel mailing list
> recon-devel@xxxxxxxxxxxxxxx
> List Archive: http://list.resiprocate.org/archive/recon-devel/
>



-- 
Regards,
Alexander Chemeris.

SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000