Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decoder result in Segmentation fault (core dumped) #16

Open
psalm1975 opened this issue Apr 9, 2015 · 1 comment
Open

Decoder result in Segmentation fault (core dumped) #16

psalm1975 opened this issue Apr 9, 2015 · 1 comment

Comments

@psalm1975
Copy link

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);

@tsuraan
Copy link
Owner

tsuraan commented Apr 9, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants