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

Invalid Pointer Error in genomeCoverageBed run #623

Closed
Rhinogradentia opened this issue Mar 6, 2018 · 0 comments
Closed

Invalid Pointer Error in genomeCoverageBed run #623

Rhinogradentia opened this issue Mar 6, 2018 · 0 comments

Comments

@Rhinogradentia
Copy link

Rhinogradentia commented Mar 6, 2018

Hi there,

I'm trying to convert BAM to bed using genomeCoverageBed. I used this already successfull with other BAM files, but this time I get the error below.
I already used the latest bedtools2 version in which the segmentation fault from genomeCoverageBed should be solved. I also tried to run this on a server with more capacities, but no differences.

The output-file stops after the first chromosome. The input BAM is only 344 MB, so not that big.

Has anyone an idea for a solution?
Help really appreciated.
Thank you.

$ ../bedtools2/genomeCoverageBed -ibam 60326_mapped_sorted.bam -bg > 60326.bdg
*** Error in `../bedtools2/bedtools': munmap_chunk(): invalid pointer: 0x00007fe56923b010 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7fe56a8c308b]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x1f8)[0x7fe56a8d0ed8]
../bedtools2/bedtools(+0xa66bb)[0x563b4e8476bb]
../bedtools2/bedtools(+0xa7e90)[0x563b4e848e90]
../bedtools2/bedtools(+0xa88dc)[0x563b4e8498dc]
../bedtools2/bedtools(+0xac8b5)[0x563b4e84d8b5]
../bedtools2/bedtools(+0x15da8)[0x563b4e7b6da8]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fe56a86a3f1]
../bedtools2/bedtools(+0x1b1ea)[0x563b4e7bc1ea]
======= Memory map: ========
563b4e7a1000-563b4e974000 r-xp 00000000 00:41 2034                       /home/.../bedtools2/bedtools
563b4eb74000-563b4eb7a000 r--p 001d3000 00:41 2034                       /home/.../bedtools2/bedtools
563b4eb7a000-563b4eb7b000 rw-p 001d9000 00:41 2034                       /home/.../bedtools2/bedtools
563b4eb7b000-563b4eb7d000 rw-p 00000000 00:00 0 
563b504b4000-563b5050a000 rw-p 00000000 00:00 0                          [heap]
7fe56923b000-7fe56a84a000 rw-p 00000000 00:00 0 
7fe56a84a000-7fe56aa08000 r-xp 00000000 00:16 3078776                    /lib/x86_64-linux-gnu/libc-2.24.so
7fe56aa08000-7fe56ac07000 ---p 001be000 00:16 3078776                    /lib/x86_64-linux-gnu/libc-2.24.so
7fe56ac07000-7fe56ac0b000 r--p 001bd000 00:16 3078776                    /lib/x86_64-linux-gnu/libc-2.24.so
7fe56ac0b000-7fe56ac0d000 rw-p 001c1000 00:16 3078776                    /lib/x86_64-linux-gnu/libc-2.24.so
7fe56ac0d000-7fe56ac11000 rw-p 00000000 00:00 0 
7fe56ac11000-7fe56ac27000 r-xp 00000000 00:16 3032609                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fe56ac27000-7fe56ae26000 ---p 00016000 00:16 3032609                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fe56ae26000-7fe56ae27000 r--p 00015000 00:16 3032609                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fe56ae27000-7fe56ae28000 rw-p 00016000 00:16 3032609                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fe56ae28000-7fe56af30000 r-xp 00000000 00:16 3078780                    /lib/x86_64-linux-gnu/libm-2.24.so
7fe56af30000-7fe56b12f000 ---p 00108000 00:16 3078780                    /lib/x86_64-linux-gnu/libm-2.24.so
7fe56b12f000-7fe56b130000 r--p 00107000 00:16 3078780                    /lib/x86_64-linux-gnu/libm-2.24.so
7fe56b130000-7fe56b131000 rw-p 00108000 00:16 3078780                    /lib/x86_64-linux-gnu/libm-2.24.so
7fe56b131000-7fe56b2aa000 r-xp 00000000 00:16 3034161                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fe56b2aa000-7fe56b4a9000 ---p 00179000 00:16 3034161                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fe56b4a9000-7fe56b4b3000 r--p 00178000 00:16 3034161                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fe56b4b3000-7fe56b4b5000 rw-p 00182000 00:16 3034161                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fe56b4b5000-7fe56b4b9000 rw-p 00000000 00:00 0 
7fe56b4b9000-7fe56b4d4000 r-xp 00000000 00:16 3034227                    /lib/x86_64-linux-gnu/libz.so.1.2.11
7fe56b4d4000-7fe56b6d3000 ---p 0001b000 00:16 3034227                    /lib/x86_64-linux-gnu/libz.so.1.2.11
7fe56b6d3000-7fe56b6d4000 r--p 0001a000 00:16 3034227                    /lib/x86_64-linux-gnu/libz.so.1.2.11
7fe56b6d4000-7fe56b6d5000 rw-p 0001b000 00:16 3034227                    /lib/x86_64-linux-gnu/libz.so.1.2.11
7fe56b6d5000-7fe56b6fb000 r-xp 00000000 00:16 3078772                    /lib/x86_64-linux-gnu/ld-2.24.so
7fe56b8d0000-7fe56b8d5000 rw-p 00000000 00:00 0 
7fe56b8f6000-7fe56b8fa000 rw-p 00000000 00:00 0 
7fe56b8fa000-7fe56b8fb000 r--p 00025000 00:16 3078772                    /lib/x86_64-linux-gnu/ld-2.24.so
7fe56b8fb000-7fe56b8fc000 rw-p 00026000 00:16 3078772                    /lib/x86_64-linux-gnu/ld-2.24.so
7fe56b8fc000-7fe56b8fd000 rw-p 00000000 00:00 0 
7fff7f794000-7fff7f7b6000 rw-p 00000000 00:00 0                          [stack]
7fff7f7bd000-7fff7f7bf000 r--p 00000000 00:00 0                          [vvar]
7fff7f7bf000-7fff7f7c1000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted (core dumped)
@arq5x arq5x closed this as completed Mar 21, 2019
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