-
Notifications
You must be signed in to change notification settings - Fork 3
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 issue #21
Comments
Thanks for the report Presumably you also passed it a bamfile on the command line? Can you run @charlesgregory will take a look |
I am currently having trouble getting out a new version of fade to conda so I may have to have you try a new binary release. What kind of system are you using? I can build a debug binary for you that may shed some more light on what is happening. |
I'm sorry for the late response. I had a big injury the day after my original issue post. BTW, I just run into several similar errors.
I believe this core dump message is also related to pointers? I'm not familiar with this field so pls help fix them |
BTW, I'm running FADE on an HPC, with Job Scheduler PBS Pro. All these commands are running inside a PBS job. |
Sorry to hear about your injury. I have been working on fixing my issue with bioconda and have made a new release which may have changes that solve your issue as we have had many updates to the backing dhtslib library since the 0.3.6 release. The new version is 0.5.1 and I have uploaded x86_64 static linux binary that should work on any system (even one without htslib installed). I will soon get this added to bioconda. The new version can be found here: https://github.com/blachlylab/fade/releases/tag/v0.5.1 Please let me know if this new version doesn't solve your problems. |
Thank you for the updated version. I'll try it out and let you know whether it has resolved the issue above |
I just tried the new version and unfortunately, the issue remains... Here is the error log screenshot: Here is the screenshot of updated static binary fade (I directly use mv command to replace v0.5.1. fade with the v0.3.6 fade in conda bin directory): |
I have rebuilt version 0.5.1 as a debug build and posted in on the release as Though in my testing for this new version, it seems that some change I have made doesn't like BAM files (segfault)? I was able to process a SAM file correctly. This could be a product of the static musl build. I will have to investigate this further. Notes for me: |
I apologize for the delay as I have been on leave. I have resolved some issues with my build process that hopefully resolve the issues for you. Can you try my new version 0.5.2? I have added a static linux binary to the 0.5.2 release. |
I installed fade into my conda env and simply run:
fade annotate -b
and I got this error message:
'''
*** Error in `fade': free(): invalid pointer: 0x000055d982948f68 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x81489)[0x2b860cefa489]
/home/yangyxt/anaconda3/bin/../lib/libhts.so.3(hfile_destroy+0x22)[0x2b860b7d70c2]
/home/yangyxt/anaconda3/bin/../lib/libhts.so.3(hclose+0x38)[0x2b860b7d7978]
/home/yangyxt/anaconda3/bin/../lib/libhts.so.3(hts_close+0x106)[0x2b860b7e1d46]
fade(+0x7dcd6)[0x55d982120cd6]
fade(+0x3f3f0)[0x55d9820e23f0]
fade(+0x3e5f9)[0x55d9820e15f9]
fade(+0xb2f0c)[0x55d982155f0c]
fade(+0xb2e08)[0x55d982155e08]
fade(+0xb2c5e)[0x55d982155c5e]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x2b860ce9b3d5]
fade(+0x345c9)[0x55d9820d75c9]
======= Memory map: ========
2b860b78b000-2b860b7ad000 r-xp 00000000 fd:00 69192456 /usr/lib64/ld-2.17.so
2b860b7ad000-2b860b7ae000 rw-p 00000000 00:00 0
2b860b7ae000-2b860b7bc000 r--p 00000000 00:29 85211792 /home/yangyxt/anaconda3/lib/libhts.so.1.12
2b860b7bc000-2b860b874000 r-xp 0000e000 00:29 85211792 /home/yangyxt/anaconda3/lib/libhts.so.1.12
2b860b874000-2b860b893000 r--p 000c6000 00:29 85211792 /home/yangyxt/anaconda3/lib/libhts.so.1.12
2b860b893000-2b860b895000 r--p 000e4000 00:29 85211792 /home/yangyxt/anaconda3/lib/libhts.so.1.12
2b860b895000-2b860b896000 rw-p 000e6000 00:29 85211792 /home/yangyxt/anaconda3/lib/libhts.so.1.12
'''
The text was updated successfully, but these errors were encountered: