question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Segmentation fault with --Ivcf argument

See original GitHub issue

This seems similar to https://github.com/fritzsedlazeck/Sniffles/issues/31

sniffles runs, happily printing out progress, and at the end I get:

                [...........]
		# Processed reads: 6170000
		# Processed reads: 6180000
		# Processed reads: 6190000
	Switch Chr chrY
		# Processed reads: 6200000
Print:
Finalizing  ..
/bin/bash: line 1: 35826 Segmentation fault      (core dumped) sniffles --mapped_reads ngmlr_alignment/anon.bam --vcf sniffles_genotypes/anon.vcf --threads 12 --Ivcf sniffles_combined/calls.vcf 2> logs/sniffles_genotype/anon.log

No vcf is produced, but I can see a “anon.vcf_tmp_genotype” binary file in the output directory.

Unfortunately, I cannot share my input data. The alignment is done using ngmlr, the vcf for --Ivcf is made using Survivor after using sniffles without --Ivcf (which did not lead to this problem).

What can I do to try to debug this?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
wdecostercommented, Mar 19, 2018

Oh well, that took even longer than expected, but now I can confirm that there is no longer a segmentation fault in this version. Perhaps it’s worth creating another release to allow updating the bioconda version?

1reaction
wdecostercommented, Mar 12, 2018

Absolutely great service.

While I’m rerunning “the workflow” I also changed the reference genome for ngmlr so it will take a while before I can report how things go with the latest version - so no need to stay awake ^_^

Read more comments on GitHub >

github_iconTop Results From Across the Web

Segmentation fault error if argc takes only one argument. This ...
I got to know why my code went wrong. If my command-line argument was ./caesar then argc = 1 and argv[0] = ./caesar...
Read more >
Identify what's causing segmentation faults (segfaults)
A segmentation fault (aka segfault) is a common condition that causes programs to crash; they are often associated with a file named core...
Read more >
Segmentation fault while passing variables from different ...
I'm new to CUDA_FORTRAN. Can someone please explain what is wrong with the following code…? Why am I getting segmentation fault…?
Read more >
I believe my code is right but it's not giving output and pops ...
This is the error Segmentation fault when the final else loop is executed i.e. it shows Segmentation fault when command line argument is ......
Read more >
Tips on Segmentation Faults
Troubleshooting Segmentation Violations/Faults ... conversion specifiers (%'s) as the printf or scanf has arguments to be printed or read, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found