< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate-users] resiprocate access violation crash when getting invite


Hi,

My company use resiprocate library for communicating with Microsoft LCS server.   It crashes often like once to twice a day on each server.  The stack trace point to when it receive an invite and try to Notify back.  It crashed with access violation exception. Could someone give me a clue what wrong with it?  The stack trace looked like:

> SipGateway.exe!resip::SipMessage::header(const resip::H_Contacts & headerType) Line 1585 C++
  SipGateway.exe!resip::Dialog::makeRequest(resip::SipMessage & request, resip::MethodTypes method) Line 986 C++
  SipGateway.exe!resip::ServerSubscription::makeNotify() Line 333 C++
  SipGateway.exe!resip::ServerSubscription::update(const resip::Contents * document) Line 388 C++
  SipGateway.exe!CEndpoint::sipOnSessionConnected(unsigned long handle_id, int dir, const resip::SipMessage & sipmsg) Line 3224 C++
  SipGateway.exe!ClientInviteSessionHandler::onConnected(resip::Handle<resip::ClientInviteSession> handle, const resip::SipMessage & msg) Line 415 C++
  SipGateway.exe!resip::ClientInviteSession::onConnectedAspect(resip::Handle<resip::ClientInviteSession> c, const resip::SipMessage & msg) Line 1446 C++
  SipGateway.exe!resip::ClientInviteSession::dispatchStart(const resip::SipMessage & msg) Line 738 C++
  SipGateway.exe!resip::ClientInviteSession::dispatch(const resip::SipMessage & msg) Line 401 C++
  SipGateway.exe!resip::Dialog::dispatch(const resip::SipMessage & msg) Line 849 C++
  SipGateway.exe!resip::DialogSet::dispatch(const resip::SipMessage & msg) Line 893 C++
  SipGateway.exe!resip::DialogUsageManager::processResponse(const resip::SipMessage & response) Line 1849 C++
  SipGateway.exe!resip::DialogUsageManager::incomingProcess(std::auto_ptr<resip::Message> msg) Line 1399 C++
  SipGateway.exe!resip::DialogUsageManager::internalProcess(std::auto_ptr<resip::Message> msg) Line 1229 C++
  SipGateway.exe!resip::DialogUsageManager::process(int timeoutMs, resip::Lockable * mutex) Line 1460 C++
  SipGateway.exe!CSipComm::Process() Line 448 C++
  SipGateway.exe!CSipComm::ThreadMemberFunc() Line 459 C++


We use resiprocate 1.6 and it was modified to fit sip messages from LCS.   We also patch some file from 1.7 release in the library too. 

Thank you,
Pornvit