Skip to content
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

the application works in debug mode but crashes in non-debugging mode #20

Open
TheBestWorldProgrammer opened this issue Sep 22, 2023 · 0 comments

Comments

@TheBestWorldProgrammer
Copy link

Application: ssss.exe
CoreCLR Version: 7.0.923.32018
.NET Version: 7.0.9
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Stack:
at SDL2.SDL.SDL_CloseAudioDevice(UInt32)
at SDL2.SDL.SDL_CloseAudioDevice(UInt32)
at SIPSorceryMedia.SDL2.SDL2Helper.CloseAudioDevice(UInt32)
at SIPSorceryMedia.SDL2.SDL2Helper.CloseAudioPlaybackDevice(UInt32)
at SIPSorceryMedia.SDL2.SDL2AudioEndPoint.CloseAudioSink()
at SIPSorceryMedia.SDL2.SDL2AudioEndPoint.InitPlaybackDevice()
at SIPSorceryMedia.SDL2.SDL2AudioEndPoint.SetAudioSinkFormat(SIPSorceryMedia.Abstractions.AudioFormat)
at SIPSorcery.Media.VoIPMediaSession.AudioFormatsNegotiated(System.Collections.Generic.List1<SIPSorceryMedia.Abstractions.AudioFormat>) at SIPSorcery.Net.RTPSession.RaisedOnAudioFormatsNegotiated(Int32, System.Collections.Generic.List1<SIPSorceryMedia.Abstractions.AudioFormat>)
at SIPSorcery.net.RTP.AudioStream.CheckAudioFormatsNegotiation()
at SIPSorcery.Net.RTPSession.SetRemoteDescription(SIPSorcery.SIP.App.SdpType, SIPSorcery.Net.SDP)
at SIPSorcery.SIP.App.SIPUserAgent+d__135.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[SIPSorcery.SIP.App.SIPUserAgent+d__135, SIPSorcery, Version=6.0.12.0, Culture=neutral, PublicKeyToken=null]](d__135 ByRef)
at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[[SIPSorcery.SIP.App.SIPUserAgent+d__135, SIPSorcery, Version=6.0.12.0, Culture=neutral, PublicKeyToken=null]](d__135 ByRef)
at SIPSorcery.SIP.App.SIPUserAgent.ClientCallAnsweredHandler(SIPSorcery.SIP.App.ISIPClientUserAgent, SIPSorcery.SIP.SIPResponse)
at SIPSorcery.SIP.App.SIPClientUserAgent.ServerFinalResponseReceived(SIPSorcery.SIP.SIPEndPoint, SIPSorcery.SIP.SIPEndPoint, SIPSorcery.SIP.SIPTransaction, SIPSorcery.SIP.SIPResponse)
at SIPSorcery.SIP.UACInviteTransaction+<UACInviteTransaction_TransactionFinalResponseReceived>d__19.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[SIPSorcery.SIP.UACInviteTransaction+<UACInviteTransaction_TransactionFinalResponseReceived>d__19, SIPSorcery, Version=6.0.12.0, Culture=neutral, PublicKeyToken=null]](<UACInviteTransaction_TransactionFinalResponseReceived>d__19 ByRef)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Net.Sockets.SocketError, System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].Start[[SIPSorcery.SIP.UACInviteTransaction+<UACInviteTransaction_TransactionFinalResponseReceived>d__19, SIPSorcery, Version=6.0.12.0, Culture=neutral, PublicKeyToken=null]](<UACInviteTransaction_TransactionFinalResponseReceived>d__19 ByRef)
at SIPSorcery.SIP.UACInviteTransaction.UACInviteTransaction_TransactionFinalResponseReceived(SIPSorcery.SIP.SIPEndPoint, SIPSorcery.SIP.SIPEndPoint, SIPSorcery.SIP.SIPTransaction, SIPSorcery.SIP.SIPResponse)
at SIPSorcery.SIP.SIPTransaction.GotResponse(SIPSorcery.SIP.SIPEndPoint, SIPSorcery.SIP.SIPEndPoint, SIPSorcery.SIP.SIPResponse)
at SIPSorcery.SIP.SIPTransport.SIPMessageReceived(SIPSorcery.SIP.SIPChannel, SIPSorcery.SIP.SIPEndPoint, SIPSorcery.SIP.SIPEndPoint, Byte[])
at SIPSorcery.SIP.SIPTransport.ProcessReceiveQueue()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant