-
Notifications
You must be signed in to change notification settings - Fork 165
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
salmon v1.4.0 executable compiled using release mode(-DCMAKE_BUILD_TYPE=Release) produce segmentation fault #609
Comments
Hi @kai2june, Thank you for the detailed report! It's interesting because (a) those functions aren't doing anything too exotic and (b) CentOS is the OS we use on our continuous integration. We'll try and get a better handle of what is going on here. In the mean time, could you tell us if you see the same behavior with the pre-compiled binary available from the downloads page? P.S. One other thing worth trying. We've noticed that compiler support for interprocedural optimization isn't terrific. You can try building salmon without this option by passing |
Hello @rob-p ,
I had another issue posted yesterday reporting that the Debug mode is unabled to be compiled successfully, and I'm wondering if there's a resolution for the problem. Thank you:)) |
Ho @kai2june, For the precompiled binary, it looks like its parsing an extra space in the second fastq file name. Can you remove that extra space? For the debug mode, I'll type out my thought / suggestion when at my computer :). Best, |
Hi @rob-p , Thank you in advance for the help with debug mode. :)) |
Hi @kai2june, I'm glad to hear the pre-compiled one works. To try and compile in debug mode, I suggest the following. Let
on line
try removing the
then try to compile again and see if that is able to complete successfully. |
Hi @rob-p , To reproduce (in salmon/build directory):
(in /mammoth/salmon_data directory):
gdb /root/salmon/stage/bin/salmon core.23591 |
Is the bug primarily related to salmon (bulk mode) or alevin (single-cell mode)?
salmon (buik mode)
Describe the bug
A clear and concise description of what the bug is.
I compiled the code (salmon v1.4.0) and produced the executable. Then when I try to "salmon index -t gentrome.fa.gz -d decoys.txt -p 12 -i salmon_index --gencode" (transcriptome and genome from your tutorial: https://combine-lab.github.io/alevin-tutorial/2019/selective-alignment/), a segmentation fault occurs. (gdb backtrack is provided below.)
To Reproduce
Steps and data to reproduce the behavior:
run a docker container using ubuntu:18.04 as image
(packages I installed)
apt-get install -y gcc g++ make wget git curl libtbb2-dbg libtbb-dev unzip zlib1g-dev libcurl4-openssl-dev liblzma-dev libbz2-dev libcereal-dev libgff-dev libpkgconfig-perl libjemalloc-dev
/*
gcc (Ubuntu 7.5.0-3ubuntu118.04) 7.5.0
g++ (Ubuntu 7.5.0-3ubuntu118.04) 7.5.0
GNU Make 4.1
*/
wget https://github.com/Kitware/CMake/releases/download/v3.13.4/cmake-3.13.4-Linux-x86_64.sh /cmake version 3.13.4/
git clone https://github.com/COMBINE-lab/salmon.git
I'm at the top commit: commit 0813a0a (HEAD -> master, tag: v1.4.0, origin/master, origin/HEAD)
In directory salmon/build, I type
===========Then I get segmentation fault
It seemed to crash at these functions: fixFasta(), fixFastaMain()
Specifically, please provide at least the following information:
Expected behavior
A clear and concise description of what you expected to happen.
Producing directory that contains indexed files to be applied to "salmon quant" command.
Screenshots
If applicable, add screenshots or terminal output to help explain your problem.
2 pictures: a segmentation fault screenshot and a gdb backtrack screenshot in "To Reproduce" section.
Desktop (please complete the following information):
sw_vers
. If you are on linux the output ofuname -a
andlsb_release -a
]Linux 3.10.0-1062.18.1.el7.x86_64 Add a Gitter chat badge to README.md #1 SMP Tue Mar 17 23:49:17 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.7.1908 (Core)
Release: 7.7.1908
Codename: Core
Additional context
Thanks for your help in advance.
Best,
kai2june
The text was updated successfully, but these errors were encountered: