Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segmentation fault attempting to view header in json format #331

Closed
pjotrp opened this issue Jan 2, 2018 · 1 comment
Closed

segmentation fault attempting to view header in json format #331

pjotrp opened this issue Jan 2, 2018 · 1 comment
Assignees

Comments

@pjotrp
Copy link
Member

pjotrp commented Jan 2, 2018

@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

@pjotrp pjotrp self-assigned this Jan 2, 2018
@pjotrp pjotrp added the bug label Jan 2, 2018
pjotrp added a commit to pjotrp/sambamba that referenced this issue Jan 3, 2018
@pjotrp
Copy link
Member Author

pjotrp commented Jan 20, 2018

@jrandall is it working for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant