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

core dump sambamba depth #408

Closed
ghost opened this issue Sep 10, 2019 · 4 comments
Closed

core dump sambamba depth #408

ghost opened this issue Sep 10, 2019 · 4 comments

Comments

@ghost
Copy link

ghost commented Sep 10, 2019

Hello,
I am using sambamba 0.7.0 and get the following error:

./mapping.sh: line 32: 8447 Segmentation fault (core dumped) ./sambamba-0.7.0-linux-static depth window -w 20000 -T 0 -t $threads -F 'mapping_quality >= 0' $out.sorted.bam > $out.cov

It only happens with one of my bam file. I don't understand what this file has that is peculiar. It's 22 Gb long, I could try to send it through wetransfer.
I have tried several versions of sambamba.
Any suggestion? thank you
EDIT: I solved the problem by using 20 threads instead of 48 ...

@ghost
Copy link
Author

ghost commented Sep 16, 2019

Hello again,
actually this issue shows up quite regularly and when it happens I have to try different values of threads until there is no more core dumps.

@pjotrp
Copy link
Member

pjotrp commented Sep 16, 2019

You mean with different BAM files?

@ghost
Copy link
Author

ghost commented Sep 16, 2019

yes with different bam files.
Note that I am not able to reproduce the problem on different computers, so it might be related to the CPU. The core dump happens regularly with a
Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
While so far I haven't experienced it on my laptop running with a
Intel(R) Xeon(R) CPU E3-1505M v5 @ 2.80GHz

@pjotrp
Copy link
Member

pjotrp commented Sep 16, 2019

Yeah, that is a hardware problem. Good on you to figure it out :)

Duplicate of #335

@pjotrp pjotrp closed this as completed Sep 16, 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

1 participant