CEPH filesystem development
 help / color / mirror / Atom feed
* jerasure-1.2A valgrind error
@ 2013-08-23 16:07 Loic Dachary
       [not found] ` <1518C028-7AEE-4385-BBDE-0CB15BC2DCE3@cs.utk.edu>
  0 siblings, 1 reply; 2+ messages in thread
From: Loic Dachary @ 2013-08-23 16:07 UTC (permalink / raw)
  To: James S. Plank; +Cc: Ceph Development

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-23 17:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-23 16:07 jerasure-1.2A valgrind error Loic Dachary
     [not found] ` <1518C028-7AEE-4385-BBDE-0CB15BC2DCE3@cs.utk.edu>
2013-08-23 17:04   ` Loic Dachary

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox