You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Zhanwei Wang (JIRA)" <ji...@apache.org> on 2016/02/17 03:40:18 UTC

[jira] [Assigned] (HAWQ-409) dangling pointer is used in AORelRemoveHashEntry

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

Zhanwei Wang reassigned HAWQ-409:
---------------------------------

    Assignee: Zhanwei Wang  (was: Lei Chang)

> dangling pointer is used in AORelRemoveHashEntry
> ------------------------------------------------
>
>                 Key: HAWQ-409
>                 URL: https://issues.apache.org/jira/browse/HAWQ-409
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Core
>            Reporter: Zhanwei Wang
>            Assignee: Zhanwei Wang
>             Fix For: 2.0.0
>
>
> {code}
> 	aoentry = (AORelHashEntryData *)hash_search(AppendOnlyHash,
> 						  (void *) &relid,
> 						  HASH_REMOVE,
> 						  &found);
> ...
> 	/* Release all segment file statuses used by this relation. */
> 	next = aoentry->head_rel_segfile.next;
> {code}
> {{aoentry}} become dangling pointer after removing from hash table



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)