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

weijin updated TS-1029:
-----------------------

    Attachment: ts-1029.diff

dnsEntry::post may may free itself, but still there are some operation 
associated with it. if memory free to system, maybe crash.
                
> 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
>
>         Attachments: ts-1029.diff
>
>
> 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

        

Reply via email to