Heap corruption after calling pjsua_destroy()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, sorry, I sent an answer few days ago but I cannot see it in the list. So I am trying once again.

Hi Benny,
sorry, I forgot to add some essential details.

I am using PJSUA 1.0.3 built as release DLL in Visual Studio 2005 SP1. I link it to a VS 2008 SP1 project, debug build. Actually it does not matter, whether debug or release. If I run it in debugger, it pops up the dialogue during the shutdown process. Nothing more, because of the release build of the DLL. Maybe I could try to build it with debug symbols, but only in VS2008. Should I try it and provide you with the backtrace if available?

The problem does not appear if I use debug DLL (VS 2008). I do not use buddies.

Vali


Dne 15.12.2009 15:51, Benny Prijono napsal(a):
> Which pjsip version? Did you add/remove buddies at all (ticket #1002).
> Ticket #985 only applies for IOCP ioqueue, which is only used in
> Release build.
>
> On Mon, Dec 14, 2009 at 8:15 PM, Tom?? Valenta<vali at kamarad.cz>  wrote:
>> Hi guys,
>>
>> I am getting an error message from Visual Studio when shutting down PJSUA,
>> nothing serious. It may have something in common with ticket #985. The IDE
>> does not tell any details. The situation looks as follows:
>>
>> Windows 7 Proffesional
>> Visual Studio 2008 SP1
>> Debug build, Run
>> (Then a call is received or not, does not matter.)
>> (Call hangs up. Then the program starts being closed.)
>> pjsua_destroy() called
>> suddenly dialogue box appears:
>> ======
>> Windows has triggered a breakpoint in VoiceXMLParserSIP-CAPI_dbg.exe.
>>
>> This may be due to a corruption of the heap, which indicates a bug in
>> VoiceXMLParserSIP-CAPI_dbg.exe or any of the DLLs it has loaded.
>>
>> This may also be due to the user pressing F12 while
>> VoiceXMLParserSIP-CAPI_dbg.exe has focus.
>>
>> The output window may have more diagnostic information.
>> ======
>>
>> But I have not experienced application crash outside the IDE so I do not
>> mind it very much.
>>
>> Cheers
>> - Vali
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux