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.

Segfault after calling

See original GitHub issue

Hi,

I’m getting a segfault running sniffles from commit 53b7500 on Ubuntu 20.04 with the following command:

sniffles \
    -m path/to/sorted.bam \
    -v path/to/sniffles.vcf \
    --tmp_file /path/to/tmp/tmpn81h96mu \
    -t 64 \
    &> logs/sniffles.log

I mapped the reads with minimap2 using the --MD flag.

Calling seems to finish but then sniffles segfaults. I can’t see any problems in the output VCF and there’s no error in the stdout/stderr. The final message is:

	Finalizing  ..

I’ve pasted the full output here.

Thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
TomHarropcommented, Aug 18, 2020

Hi Fritz, yep, it does finish if I don’t specify --tmp_file. Thanks for the help.

0reactions
fritzsedlazeckcommented, Aug 18, 2020

Thanks for the confirmation. The temp file is not large… So I never use that option 😃. Thanks for letting me know

Read more comments on GitHub >

github_iconTop Results From Across the Web

Segfault when calling a method c++ - Stack Overflow
However, segfaults often are a good indication that you've got corrupted memory. It's happening some place else besides what you've shown and ...
Read more >
Segfault when calling function - C++ Forum
I receive the following error when calling the principal function in my program: ... Program received signal SIGSEGV, Segmentation fault.
Read more >
Why am I getting a segmentation fault error while calling this ...
Technically, a segmentation fault happens when software tries to read or write memory it doesn't have access to or that is in a...
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 >
Why i am getting segmentation fault for calling same function ...
A segmentation fault generally occurs when you try to access memory that is not allocated for you i.e outside the boundary of the...
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