torognes / vsearch

Versatile open-source tool for microbiome analysis
Other
643 stars 123 forks source link

Segfault with derep_id on both strands #565

Open torognes opened 6 days ago

torognes commented 6 days ago

Frédéric discovered that vsearch 2.28.1 crashes with a segmentation fault when running derep_id on both strands.

It can be reproduced like this:

printf ">s1;size=1;\nA\n>s1;size=1;\nT\n" | \
   vsearch \
       --derep_id - \
       --minseqlength 1 \
       --strand both \
       --quiet \
       --output /dev/null
torognes commented 6 days ago

Fixed in commit a05b2ea in dev branch.