#516 Assertion on the latest trunk (rev. 32369)

Development_Branch
open
nobody
None
5
2014-07-21
2014-07-21
No

Stack trace:
> ptlib64d.dll!PAssertFunc(const char * msg=0x0000000002651b70) Line 243 C++
ptlib64d.dll!PAssertFunc(const char * file=0x000007fedfef35c8, int line=341, const char * className=0x0000000000000000, const char * msg=0x000007fedfef35a8) Line 168 C++
ptlib64d.dll!PSafeCollection::SafeAddObject(PSafeObject * obj=0x0000000002659b20, PSafeObject * old=0x0000000000000000) Line 341 C++
opal64d.dll!PSafeColl<PList<OpalMixerMediaStream>,OpalMixerMediaStream>::Append(OpalMixerMediaStream * obj=0x0000000002659b20, PSafetyMode mode=PSafeReference) Line 1023 C++
opal64d.dll!OpalMediaStreamMixer::Append(const PSafePtr<OpalMixerMediaStream,PSafePtrBase> & stream={...}) Line 1041 C++
opal64d.dll!OpalMixerNode::AttachStream(OpalMixerMediaStream * stream=0x0000000002659b20) Line 1420 C++
opal64d.dll!OpalMixerMediaStream::Start() Line 1195 C++
opal64d.dll!OpalConnection::StartMediaStreams() Line 854 C++
opal64d.dll!OpalCall::OnEstablished(OpalConnection & connection={...}) Line 329 C++
opal64d.dll!OpalManager::OnEstablished(OpalConnection & connection={...}) Line 992 C++
opal64d.dll!OpalEndPoint::OnEstablished(OpalConnection & connection={...}) Line 481 C++
opal64d.dll!OpalConnection::OnEstablished() Line 631 C++
opal64d.dll!OpalConnection::SetConnected() Line 601 C++
opal64d.dll!OpalLocalConnection::SetConnected() Line 373 C++
opal64d.dll!OpalCall::OnConnected(OpalConnection & connection={...}) Line 303 C++
opal64d.dll!OpalManager::OnConnected(OpalConnection & connection={...}) Line 984 C++
opal64d.dll!OpalEndPoint::OnConnected(OpalConnection & connection={...}) Line 475 C++
opal64d.dll!OpalConnection::OnConnected() Line 623 C++
opal64d.dll!SIPConnection::OnReceivedOK(SIPTransaction & transaction={...}, SIP_PDU & response={...}) Line 3492 C++
opal64d.dll!SIPConnection::OnReceivedResponse(SIPTransaction & transaction={...}, SIP_PDU & response={...}) Line 2685 C++
opal64d.dll!SIPTransaction::OnReceivedResponse(SIP_PDU & response={...}) Line 3362 C++
opal64d.dll!SIPInvite::OnReceivedResponse(SIP_PDU & response={...}) Line 3763 C++
opal64d.dll!SIP_PDU_Work::Work() Line 2216 C++

1 Attachments

Discussion

  • Stream was started in OpalConnection::OnEstablished():
    StartMediaStreams();

    Then OPAL calls endpoint.OnEstablished(*this); -> manager.OnEstablished(connection); -> connection.GetCall().OnEstablished(connection); where it tries to start streams again:

    connection.StartMediaStreams();