abdullah009/kcmbt_mt

Crashes on small input

marekkokot opened this issue · 1 comments

After running:

head -n 100 ../data/F.vesca/SRR072005.fastq > small.fastq
../kcmbt_mt/bin/kcmbt -i small.fastq -t 4

I get:

4 threads
mem used: 271180
insertion time: wall 1.404      cpu 3.07977
*** Error in `../kcmbt_mt/bin/kcmbt': malloc(): memory corruption: 0x00007f7637022120 ***
Aborted

It also creashes for https://github.com/abdullah009/KCMBT:

../KCMBT/bin/kcmbt -i small.fastq -t 4

gives:

#0: 530
1: 306
2: 191
3: 313
*** Error in `../KCMBT/bin/kcmbt': free(): invalid next size (fast): 0x0000000001cec170 ***
Aborted

../data/F.vesca/SRR072005.fastq is a on of files you have used in your experiments described in paper.

Fixed for this smaller input. I have not tested thoroughly for smaller inputs. I'll try to test for extreme cases. Thanks.