samtools has been very shaky recently - it crashes when sorting almost any BAM file. Here is how it goes:
samtools sort SATP_86.bam -o foo
[bam_sort_core] merging from 32 files...
*** Error in `samtools': double free or corruption (!prev): 0x0000000032b611b0 ***
Aborted (core dumped)
I've had similar problems for a month or two. I update both samtools and htslib regularly and compile them "as is". Version 1.2 does not have this issue.
samtools has been very shaky recently - it crashes when sorting almost any BAM file. Here is how it goes:
samtools sort SATP_86.bam -o foo
[bam_sort_core] merging from 32 files...
*** Error in `samtools': double free or corruption (!prev): 0x0000000032b611b0 ***
Aborted (core dumped)
I've had similar problems for a month or two. I update both samtools and htslib regularly and compile them "as is". Version 1.2 does not have this issue.