What steps will reproduce the problem?
1. samfile = pysam.Samfile('ex1.bam', 'rb')
2. samfile.fetch('chr1', 0, 0)
3. 'segfault'/python malloc memory corruption
What is the expected output? What do you see instead?
There should be an empty iterator returned.
It segfaults instead.
What version of the product are you using? On what operating system?
Revision 129, Ubuntu 10.4
Please provide any additional information below.
I attached a patch for the segfault_tests that exposes this.
Original issue reported on code.google.com by finkerna...@mathematik.uni-marburg.de on 18 Oct 2010 at 2:25
Original issue reported on code.google.com by
finkerna...@mathematik.uni-marburg.de
on 18 Oct 2010 at 2:25Attachments: