[Live-devel] live-devel Digest, Vol 135, Issue 8

chung ikhwan cshyung at camtron.co.kr
Wed Feb 25 16:42:35 PST 2015


Thanks for quick reply Ross,

~ProxyServerMediaSession() {
..................
  // Then delete our state:
  Medium::close(fClientMediaSession);  //////////////////=> this instance is
removed before above code.

 MediaSession  *fClientMediaSession's element
 fSubsessionHead pointer is 0x053da908
 this content is destroyed..

 but

 in ~ProxyServerMediaSubsession()
  &fClientMediaSubsession is 0x053da908
 two pointer is same

if (fClientMediaSubsession.rtcpInstance() != NULL) { 
    fClientMediaSubsession.rtcpInstance()->setByeHandler(NULL,
NULL);////////////// Crash occured
  }

 and then this code referenced already destroyed pointer.


Thanks and Regards,
Ikhwan chung



More information about the live-devel mailing list