[reSIProcate] DUM crash when getting 180 with out contacts

Patel Parag papatel at varaha.com
Sat Nov 12 06:28:32 CST 2005


hi all,
	I am developing SIP stack for WINCE using resiprocate. During following
test DUM was crashed using resiprocate-0.9.0-5019.

    (UAC)		    (UAS)
		Invite
	|---------------->|
	|	180		|
	|<----------------|
   (DUM crash)

	when I trace log,
	//in DialogSet.cxx
	1) try to create new Dialog for 180

	DebugLog ( << "Creating a new Dialog from msg: " << msg);
      try
      {
         dialog = new Dialog(mDum, msg, *this);
      }
      catch(BaseException& e)
      {
		  InfoLog( << "Unable to create dialog: " << endl);
	}

	2) but during creating new Dialog DUM throw exception

	else
      {
      	InfoLog (<< "Got an INVITE or SUBSCRIBE that doesn't have exactly one
contact");
	      DebugLog (<< response);
      	throw Exception("Too many contacts (or no contact) in response",
__FILE__, __LINE__);
      }

	3) according to code DUM should catch exception but unfortunately it was
crashed.

	is bug is fixed..?

thanks & regards,
Parag Patel






More information about the resiprocate-devel mailing list