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

[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