Skip to content

Decoder result in Segmentation fault (core dumped) #16

@psalm1975

Description

@psalm1975

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions