8000 Deadlock in multithreaded bam write · Issue #831 · samtools/htslib · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Deadlock in multithreaded bam write #831
Closed
@alexey-sbg

Description

@alexey-sbg

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0