-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Call_getInfo System.AccessViolationException #3
Comments
Do you have more context on when/where this error occurs? I've encountered it plenty of times before and they depend on what is going on at the time. |
project .net framework 2.0 can not work. |
I haven't tested this on windows XP. https://github.com/StrikeForceZero/PJSIPDotNetSDK/tree/dev/v1.0.x |
my vs is 2017 and OS System is Win10. sip server is freeswitch 1.8. |
未处理System.AccessViolationException
HResult=-2147467261
Message=尝试读取或写入受保护的内存。这通常指示其他内存已损坏。
Source=pjsua2
StackTrace:
在 pj.Call.getInfo(Call* , CallInfo* )
在 CSharp_Call_getInfo(Void* jarg1)
在 PJSIP.pjsua2PINVOKE.Call_getInfo(HandleRef jarg1)
在 PJSIP.Call.getInfo() 位置 D:\freeSwitch\SIP\PJSip-CSharp-master\pjsua2_net\Classes\Call.cs:行号 55
在 pjsipDotNetSDK.Call.getInfo() 位置 D:\freeSwitch\SIP\PJSIPDotNetSDK-master\pjsipDotNetSDK\Call.cs:行号 756
在 pjsipDotNetSDK.Call.get_State() 位置 D:\freeSwitch\SIP\PJSIPDotNetSDK-master\pjsipDotNetSDK\Call.cs:行号 67
在 pjsipDotNetSDK.Call.getAudioMedia() 位置 D:\freeSwitch\SIP\PJSIPDotNetSDK-master\pjsipDotNetSDK\Call.cs:行号 698
在 TestGui.MainWindow.<Window_Loaded>b__2_0(Object a, ElapsedEventArgs b) 位置 D:\freeSwitch\SIP\PJSIPDotNetSDK-master\TestGui\MainWindow.xaml.cs:行号 77
在 System.Timers.Timer.MyTimerCallback(Object state)
在 System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.TimerQueueTimer.CallCallback()
在 System.Threading.TimerQueueTimer.Fire()
在 System.Threading.TimerQueue.FireNextTimers()
在 System.Threading.TimerQueue.AppDomainTimerCallback()
InnerException:
The text was updated successfully, but these errors were encountered: