Menu

#529 Access Violation with OpalRTPSession

Development_Branch
closed-out-of-date
nobody
None
5
2015-02-16
2014-10-08
No

Stack is corrupted:

    opal64d.dll!operator<<(std::basic_ostream<char,std::char_traits<char> > & stream={...}, const PString & string={...}) Line 1849 C++
    opal64d.dll!OpalRTPSession::InternalRead() Line 2507    C++
    opal64d.dll!OpalRTPSession::ThreadMain() Line 2477  C++
>   opal64d.dll!PThreadObj<OpalListener>::Main() Line 665   C++
    ptlib64d.dll!PThread::MainFunction(void * threadPtr=0x0000000004fe3d60) Line 858    C++
    msvcr110d.dll!_callthreadstartex() Line 354 C
    msvcr110d.dll!_threadstartex(void * ptd=0x000000000bba0ec0) Line 337    C
    kernel32.dll!BaseThreadInitThunk() Unknown
    ntdll.dll!RtlUserThreadStart() Unknown

The bug occurs very often, log file doesn't show anything useful.

Discussion

  • Valeriy V. Argunov

    The correct stack trace is:

        ptlib64d.dll!PAssertFunc(const char * msg=0x0000000006e0d3c0) Line 311  C++
        ptlib64d.dll!PAssertFunc(const char * file=0x000007fee1043340, int line=1752, const char * className=0x0000000000000000, const char * msg=0x000007fee1001358) Line 168  C++
        ptlib64d.dll!PAssertFunc(const char * file=0x000007fee1043340, int line=1752, const char * className=0x0000000000000000, PStandardAssertMessage msg=POperatingSystemError) Line 146 C++
        ptlib64d.dll!PSemaphore::Signal() Line 1752 C++
    >   opal64d.dll!OpalAudioJitterBuffer::WriteData(const RTP_DataFrame & frame={...}, PTimeInterval tick={...}) Line 487  C++
        opal64d.dll!OpalRTPMediaStream::OnReceivedPacket(OpalRTPSession & __formal={...}, OpalRTPSession::Data & data={...}) Line 168   C++
        opal64d.dll!SIP_Presentity::OnPresenceNotify_PNotifier::Call(PObject & note={...}, SIPSubscribe::NotifyCallbackInfo & extra={...}) Line 270 C++
        opal64d.dll!PNotifierTemplate<OpalRTPSession::Data & __ptr64>::operator()(PObject & notifier={...}, OpalRTPSession::Data & extra={...}) Line 137    C++
        opal64d.dll!OpalRTPSession::SyncSource::OnReceiveData(RTP_DataFrame & frame={...}, bool newData=true) Line 611  C++
        opal64d.dll!OpalRTPSession::OnReceiveData(RTP_DataFrame & frame={...}, unsigned __int64 pduSize=172) Line 1046  C++
        opal64d.dll!OpalRTPSession::InternalReadData() Line 2549    C++
        opal64d.dll!OpalRTPSession::InternalRead() Line 2504    C++
        opal64d.dll!OpalRTPSession::ThreadMain() Line 2477  C++
        opal64d.dll!PThreadObj<OpalListener>::Main() Line 665   C++
        ptlib64d.dll!PThread::MainFunction(void * threadPtr=0x0000000006cb3fc0) Line 858    C++
    

    There is an assertion that the semaphore isn't released.
    In OpalAudioJitterBuffer::WriteData, m_closed is true.
    OpalRTPSession is valid, OpalRTPSession::SyncSource is valid.

    Log file has attached.

     
  • Valeriy V. Argunov

    Another log file is here.
    The crashed thread id is 13268, but I see only 1 message for this thread in the log file:

    RTP:13268 rtp_session.cxx(2475) 0000000000001 RTP Session 1, thread started

     
  • Robert Jongbloed

    Is this still occurring?

     
  • Robert Jongbloed

    • status: open --> closed-out-of-date
     
  • Robert Jongbloed

    No answer on if still occurring. No other reports so closing.

     

Log in to post a comment.