GangCaoLab / CoolBox

Jupyter notebook based genomic data visualization toolkit.
https://gangcaolab.github.io/CoolBox/index.html
GNU General Public License v3.0
224 stars 37 forks source link

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

Open zhouzhendiao opened 2 years ago

zhouzhendiao commented 2 years ago

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 commented 2 years ago

What is your pairix version?

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

...
zhouzhendiao commented 2 years ago
$pairix --help

Program: pairix (PAIRs file InderXer)
Version: 0.3.7

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