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] (QPID-5305) Valgrind reports uninitialised values sent to system call in legacystore
Date Thu, 07 Nov 2013 00:44:19 GMT

    [ https://issues.apache.org/jira/browse/QPID-5305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815505#comment-13815505
] 

ASF subversion and git services commented on QPID-5305:
-------------------------------------------------------

Commit 1539509 from [~astitcher] in branch 'qpid/trunk'
[ https://svn.apache.org/r1539509 ]

QPID-5305: Make legacystore fully initialise buffers to avoid undefined
  disk file contents (this silences a complaint from valgrind)
NO-JIRA: Fix odd whitespace
NO-JIRA: Remove unneeded include path mangling

> Valgrind reports uninitialised values sent to system call in legacystore
> ------------------------------------------------------------------------
>
>                 Key: QPID-5305
>                 URL: https://issues.apache.org/jira/browse/QPID-5305
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.25
>         Environment: unix
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>             Fix For: 0.25
>
>
> Running the legacystore tests under valgrind highlight that it doesn't initialise all
the values it sends to disk.
> Even if these bytes are actually never used when the store is read, having this behaviour
makes it hard to use valgrind to check that the store doesn't have other problems.
> There is a compile time option to enable initialising of the full written buffer, I think
it is wise to enable this option always, so that testing using valgrind is productive.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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


Mime
View raw message