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

pointer being freed was not allocated #97

Open
dputhier opened this issue Feb 1, 2019 · 1 comment
Open

pointer being freed was not allocated #97

dputhier opened this issue Feb 1, 2019 · 1 comment

Comments

@dputhier
Copy link
Owner

dputhier commented Feb 1, 2019

Consider the following (in branch blast_to_gtf of pygtftk). This branch contains the latest ligtftk release (develop branch).

from pygtftk.gtf_interface import GTF
def native_str(x):
	return bytes(x.encode())
blast = GTF._dll.load_blast(native_str('blastn.blast'))
    blast.size
   [1]    22657 segmentation fault  ipython

NB: in this branch, blastn.blast can be found in pygtftk/data/mini_real_10M/ (as a gzip file). This file was obtained by blasting the computed sequence of transcripts (mini_real_10M_tx_seq.fa) against the genome region (chr1_hg38_10M.fa).

Cheers

@dputhier
Copy link
Owner Author

dputhier commented Feb 1, 2019

I guess this could be a OSX one...

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

No branches or pull requests

1 participant