Closed
Description
We observe deadlocks in bam_write1() function when htsFile is in MT mode. The problem is observed consistently with htslib 1.5 and htslib 1.9 on ubuntu 18.04, compiled with gcc7, but is believed to apply to all pthread implementations. The deadlock is triggered by running out of disk space and presumably by a premature destroy of the conditional variable after a failed call to either hwrite() or hflush() in bgzf_mt_writer().
Metadata
Metadata
Assignees
Labels
No labels