CEPH filesystem development
 help / color / mirror / Atom feed
From: Loic Dachary <loic@dachary.org>
To: "James S. Plank" <plank@cs.utk.edu>
Cc: Ceph Development <ceph-devel@vger.kernel.org>
Subject: jerasure-1.2A valgrind error
Date: Fri, 23 Aug 2013 18:07:26 +0200	[thread overview]
Message-ID: <521788BE.1010404@dachary.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1209 bytes --]

Hi James,

I ran:

valgrind --tool=memcheck ./encoder F 2 2 reed_sol_van 8 0 310

compiled from jerasure-1.2A as found at http://web.eecs.utk.edu/~plank/plank/papers/Jerasure-1.2A.tar
and compiled without modifications except for -g in the makefile to get the error lines.

==22001== Use of uninitialised value of size 8
==22001==    at 0x409CB1: galois_w08_region_multiply (galois.c:474)
==22001==    by 0x4061CD: jerasure_matrix_dotprod (jerasure.c:628)
==22001==    by 0x404F06: jerasure_matrix_encode (jerasure.c:313)
==22001==    by 0x40259C: main (encoder.c:518)

The input file contains (i.e. 310 bytes, no newline )

ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789

Should I be concerned about it ?

valgrind --tool=memcheck ./encoder F 2 2 cauchy_good 8 8 310

shows no error.

Cheers

-- 
Loïc Dachary, Artisan Logiciel Libre
All that is necessary for the triumph of evil is that good people do nothing.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]

             reply	other threads:[~2013-08-23 16:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-23 16:07 Loic Dachary [this message]
     [not found] ` <1518C028-7AEE-4385-BBDE-0CB15BC2DCE3@cs.utk.edu>
2013-08-23 17:04   ` jerasure-1.2A valgrind error Loic Dachary

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=521788BE.1010404@dachary.org \
    --to=loic@dachary.org \
    --cc=ceph-devel@vger.kernel.org \
    --cc=plank@cs.utk.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox