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

*** glibc detected *** pairix: malloc(): memory corruption: 0x00007f9102e07210 *** #64

Open
zhouzhendiao opened this issue Jan 20, 2022 · 2 comments

Comments

@zhouzhendiao
Copy link

zhouzhendiao commented Jan 20, 2022

code:

cool1 = Cool(f"{DATA_DIR}/cool_{RANGE_MARK}.mcool")

frame = XAxis() + \
    cool1 + Title("Hi-C(.cool)") + \
    Spacer(0.5) + \
    Virtual4C(cool1, "chr9:4986000-4986000") + Title("Virtual4C") + \
    Spacer(0.5) + \
    BAMCov(f"{DATA_DIR}/bam_{RANGE_MARK}.bam") + Title("BAM Coverage") +\
    Spacer(0.5) + \
    Arcs(f"{DATA_DIR}/bedpe_{RANGE_MARK}.bedpe") + Inverted() + Title("Arcs(BEDPE)") + \
    Spacer(0.1) + \
    Arcs(f"{DATA_DIR}/pairs_{RANGE_MARK}.pairs") + Inverted() + Title("Arcs(Pairs)") + \
    GTF(f"{DATA_DIR}/gtf_{RANGE_MARK}.gtf", length_ratio_thresh=0.005) + TrackHeight(6) + Title("GTF Annotation") + \
    Spacer(0.1) + \
    BigWig(f"{DATA_DIR}/bigwig_{RANGE_MARK}.bw") + Title("BigWig")
frame.plot(TEST_RANGE)

Error:

*** glibc detected *** pairix: malloc(): memory corruption: 0x00007f9102e07210 ***
*** glibc detected *** pairix: malloc(): memory corruption: 0x00007f9102e07210 ***
*** glibc detected *** pairix: malloc(): memory corruption: 0x00007f9102e07210 ***
*** glibc detected *** pairix: malloc(): memory corruption: 0x00007f9102e07210 ***
...

But the plot seems to be right:
download

system: CENTOS 6

coolbox version: '0.3.3'

Update:
There is problem when parsing file bedpe_chr9_4000000_6000000.bedpe, no Errors when I annotated line Arcs(f"{DATA_DIR}/bedpe_{RANGE_MARK}.bedpe") + Inverted() + Title("Arcs(BEDPE)")

@Nanguage
Copy link
Collaborator

What is your pairix version?

(coolbox) ➜  ~ pairix --help
Program: pairix (PAIRs file InderXer)
Version: 0.3.7

...

@zhouzhendiao
Copy link
Author

$pairix --help

Program: pairix (PAIRs file InderXer)
Version: 0.3.7

Usage:   pairix <in.pairs.gz> [region1 [region2 [...]]]

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

2 participants