-
Notifications
You must be signed in to change notification settings - Fork 91
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
Segmentation fault (core dumped) #226
Comments
I have exactly the same problem under AVX512. But it works well in version 2.0pre2. |
I've the same problem (different data sets) if I use 100 threads. In runs well with 50 threads. The machine has 4 TB Ram and the genome is 200 kb with about 100X coverage reads. How can I support debugging this issue? |
I have the same issue. I am running on an EC2 instance with 128Gb ram but it happens already after a few seconds.
I hope this is somehow helpful. |
I had a look at the case. The memory is allocated here:
It would be nice to add a check after each alloc, so it dies a bit more gracefully. And mem_lim is negative in my case. So we might be running out of that smemArray for some reason. Not sure this is any helpful, or if there is actually anyone looking at these issues. |
It seems in my case it was a variable overflow. If I change |
it seems like a bug specifically spitted out by this dataset. can any one of you provide me data to reproduce the issue? |
I am using the latest version of bwa-mem2 (2.2.1) and I indexed the database VirRefSeq_and_Virsorted_Tara_10kb.fasta (available at: /iplant/home/shared/iVirus/ExampleData/BowtieBatch/Inputs. The prefix of the index is "map".
I ran the following command:
bwa-mem2 mem -t 40 map /data/gent/vo/001/gvo00125/vsc45615/NSGV/vs2/metaspades_2/nsgv.out/final-viral-combined.fa > out.sam
output:
Looking to launch executable "/data/gent/vo/001/gvo00125/vsc45615/miniconda3/envs/bwa_mem2/bin/bwa-mem2.avx2", simd = .avx2
Launching executable "/data/gent/vo/001/gvo00125/vsc45615/miniconda3/envs/bwa_mem2/bin/bwa-mem2.avx2"
Executing in AVX2 mode!!
SA compression enabled with xfactor: 8
Ref file: map
Entering FMI_search
Index file found. Loading index from map.bwt.2bit.64
Reference seq len for bi-index = 450497633
sentinel-index: 139749714
Count:
0, 1
1, 126050491
2, 225248817
3, 324447143
4, 450497633
Reading other elements of the index from files map
Index prefix: map
Read 0 ALT contigs
Done reading Index!!
Reading reference genome..
Binary seq file = map.0123
Reference genome size: 450497632 bp
Done reading reference genome !!
Segmentation fault (core dumped)
I have also tried thread 8 and 10.
The text was updated successfully, but these errors were encountered: