Jerasure
Jerasure copied to clipboard
Decoder result in Segmentation fault (core dumped)
after creation of erasure code: encoder out1.dat 9 2 cauchy_good 9 1024 500000
if you go into /coding directory and delete one of the data file (ie: out1_k1.dat) the decode actually work fine. (as shown below)
Decoding (MB/sec): 1780.2648556876 De_Total (MB/sec): 302.0309642111
The problem is when you DO NOT delete any data file, basically decode without any missing segment doing so, it will result in core dump
Core dump happen here, and cdf=0
for (x = 0; x < cdf; x++) { drive = row_ids[x+ddf+k]-k; ptr = real_decoding_matrix + k_w_w*(ddf+x);
Could you re-open this issue at http://lab.jerasure.org/jerasure/jerasure/issues ? The github site is just a convenient mirror, and not actually where the developers are working on stuff.