bug on pjsua - panic on pjsua_destroy on symbian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

it seems that if stun is on and the stun resolvence hasn't finished, then we
get panic.

in pjsua_code.c there is line:

     status =
  pj_dns_srv_resolve(&pjsua_var.ua_cfg.stun_domain, &res_type,
       3478, pjsua_var.pool, pjsua_var.resolver,
       0, NULL, &stun_dns_srv_resolver_cb, NULL);

which create async request.

i think that pjsua_destroy should have the cancel request for this.

pj_dns_srv_cancel_query (
pj_dns_srv_async_query<http://www.pjsip.org/pjlib-util/docs/html/group__PJ__DNS__SRV__RESOLVER.htm#g4d01c588035a70b7f4a9e04a11fefa79>*
*query*, pj_bool_t<http://www.pjsip.org/pjlib/docs/html/group__PJ__BASIC.htm#g1dc7a356fb36bd2dee2bc7d6c7e817e4>
  *notify*  )

i see that pjsua doesn't save the
pj_dns_srv_async_query<http://www.pjsip.org/pjlib-util/docs/html/group__PJ__DNS__SRV__RESOLVER.htm#g4d01c588035a70b7f4a9e04a11fefa79>*
*query   so that it could cancel the request so changes need to be made also
to add that to pjsua_var*
**
*how can this be corrected?*
**
*thanks,*
*jay*
**
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090608/a2a2e483/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux