Skip to content

segmentation fault attempting to view header in json format #331

@pjotrp

Description

@pjotrp

@jrandall reports:

I have been getting a segmentation fault when attempting to use sambamba view to get the header of a BAM (or SAM) in JSON format. Getting the header in sam or msgpack format appears to work, but json format causes a segfault for most versions I've tried.

I initially tried using the guix package on my own data (running inside a docker container produced using guix pack -f docker, but I found that test data packaged with sambamba source triggers the issue as well, and it also occurs on my debian system with the guix package installed.

Can anyone else reproduce this problem?

$ /gnu/store/ahcvy79b8gmjg32kbi1cn6lylls2zjzx-sambamba-0.6.5/bin/sambamba view -H -f json test/issue_204.bam
Segmentation fault

https://groups.google.com/forum/#!topic/sambamba-discussion/gy_pys3iM18

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions