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/15 08:00:24 UTC
[jira] [Updated] (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 updated HAWQ-409:
------------------------------
Description:
{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
was:
{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}} is become dangling pointer after removing from hash table
> 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: Lei Chang
>
> {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)