Al 17/04/11 19:35, En/na Luca Olivetti ha escrit:
  
> A2 = MD5(REGISTER:sip:ekiga.net)                                
> auth_response: db79b8a5046c76654b742311b7d4a33d = 
> MD5(53060310bbad90036d54e1954983ae4e:4dab21db0000e3306f1513e34e9e24eedc00a7827bd9394f:14bd7ed1967527d3770ab1f7c12901c5)
>  (qop=NONE)
> svd: nta.c: 7785: outgoing_create: Assertion 
> `tport_name_is_resolved(orq->orq_tpn)' failed.                                
>                                                          

It seems the same as this one:

http://www.mail-archive.com/sofia-sip-devel@lists.sourceforge.net/msg03243.html

outgoing_create is using a "bogus" override_tport, here, around line 7770 of 
nua.c,
causing the crash

  /* select the tport to use for the outgoing message  */
  if (override_tport) {
    /* note: no ref taken to the tport as its only used once here */
    if (tport_is_secondary(override_tport)) {
      tpn = tport_name(override_tport); <<<<<<<<<< 
      orq->orq_user_tport = 1;
    }
  }

  if (tpn) {
    /* CANCEL or ACK to [3456]XX */
    invalid = tport_name_dup(home, orq->orq_tpn, tpn);
#if HAVE_SOFIA_SRESOLV
    /* We send ACK or CANCEL only if original request was really sent */
    assert(tport_name_is_resolved(orq->orq_tpn));
#endif
    resolved = tport_name_is_resolved(orq->orq_tpn);
    orq->orq_url = url_hdup(home, sip->sip_request->rq_url);


In the line marked with <<<<<< tpn is assigned an empty (not NULL) string, 
hence the
failed assert.
Where does it come from, I don't know.
Checking that tpn is not empty just makes the stack crash later on:

nta.c: 2541: outgoing_insert_via: Assertion `via' failed.


Bye
-- 
Luca

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to