FW: [reSIProcate] DUM crash when getting 180 with out contacts

Patel Parag papatel at varaha.com
Sat Nov 12 07:22:01 CST 2005


hi,
	I have founded bug in my application for 180,
	but it is still for 200 ok to a INVITE.
	according to code DUM should catch exception but unfortunately it was
crashed.

thanks & regards,
Parag Patel

-----Original Message-----
From: resiprocate-devel-bounces at list.sipfoundry.org
[mailto:resiprocate-devel-bounces at list.sipfoundry.org]On Behalf Of Patel
Parag
Sent: Saturday, November 12, 2005 5:59 PM
To: resiprocate-devel at list.sipfoundry.org
Subject: [reSIProcate] DUM crash when getting 180 with out contacts


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



_______________________________________________
resiprocate-devel mailing list
resiprocate-devel at list.sipfoundry.org
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel




More information about the resiprocate-devel mailing list