qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-739) Enable valgrind leak-check=full and fix any memory errors found
Date Wed, 05 Apr 2017 20:01:41 GMT

    [ https://issues.apache.org/jira/browse/DISPATCH-739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957549#comment-15957549

ASF subversion and git services commented on DISPATCH-739:

Commit 98975fb6d3ffd514f4f451dafa1b5b08c4676a60 in qpid-dispatch's branch refs/heads/master
from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=98975fb ]

DISPATCH-739: Clear both pn_link/qd_link context pointers on free

Fixes 'invalid read' valgrind error in system tests.
close_links() can traverses the pn_link_t chain twice, before zeroing the pointer
the second pass was using a dangling context pointer to a freed qd_link.

> Enable valgrind leak-check=full and fix any memory errors found
> ---------------------------------------------------------------
>                 Key: DISPATCH-739
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-739
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.7.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
> Enable valgrind --leak-check=full with --show-leak-kinds=definite to avoid flood of "possibly
lost" false alarms from python. Fix any memory errors this reveals.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message