You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Zhao Yongming (Updated) (JIRA)" <ji...@apache.org> on 2011/11/23 18:51:40 UTC

[jira] [Updated] (TS-1029) DNS crash if we free the memory into system

     [ https://issues.apache.org/jira/browse/TS-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhao Yongming updated TS-1029:
------------------------------

    Description: 
when we start to testing free memory into system, the DNS will cause crashing at:
dns_result()
{code}
  if (!e->post(h, ent)) {
    for (int i = 0; i < MAX_DNS_RETRIES; i++) {
      if (e->id[i] < 0)
        break;
      h->release_query_id(e->id[i]);
    }
    return;
  }
{code}

  was:
when we start to testing free memory into system, the DNS will cause crashing at:
dns_result()
{codes}
  if (!e->post(h, ent)) {
    for (int i = 0; i < MAX_DNS_RETRIES; i++) {
      if (e->id[i] < 0)
        break;
      h->release_query_id(e->id[i]);
    }
    return;
  }
{codes}

    
> DNS crash if we free the memory into system
> -------------------------------------------
>
>                 Key: TS-1029
>                 URL: https://issues.apache.org/jira/browse/TS-1029
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: DNS
>    Affects Versions: 3.1.2
>            Reporter: Zhao Yongming
>            Assignee: weijin
>             Fix For: 3.1.2
>
>
> when we start to testing free memory into system, the DNS will cause crashing at:
> dns_result()
> {code}
>   if (!e->post(h, ent)) {
>     for (int i = 0; i < MAX_DNS_RETRIES; i++) {
>       if (e->id[i] < 0)
>         break;
>       h->release_query_id(e->id[i]);
>     }
>     return;
>   }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira