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 on Test File

See original GitHub issue

Hi Fritz, I am getting a segmentation fault when running the test case on my cluster.

I compiled with gcc/g++ version 4.8.5.

When running the test case sniffles -m reads_region.bam -v test., I get the following

Estimating parameter...

	Max dist between aln events: 4

	Max diff in window: 50

	Min score ratio: 2

	Avg DEL ratio: 0.0432235

	Avg INS ratio: 0.0740733`

Start parsing... 21

	Switch Chr 21

Finalizing  ..

Segmentation fault

I’ve tried recompiling with newer versions of GNU compilers (v5 and 6), but haven’t been successful.

Any help would be much appreciated.

Kevin McFarland Johns Hopkins University Chemical & Biomolecular Engineering

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
malongecommented, Apr 2, 2019

You can email me at malonge11@gmail.com

Perhaps I can test things out on MARCC

1reaction
mcfarland-kcommented, Apr 19, 2019

Thanks again for your help Fritz!

Kevin

Read more comments on GitHub >

github_iconTop Results From Across the Web

Segmentation fault while testing with google test - c++
I have checked that the allocation occurs. I check sizeof(*ueCb) in gdb keeping the mentioned fucntion as a breakpoint. The header files are...
Read more >
How to debug a GCC segmentation fault - GNU Project
How to debug a GCC segmentation fault. Configure GCC with --enable-checking . Compile it with -g -O0 so that you can use gdb...
Read more >
Sqlite segmentation fault regression when running tests (since ...
The segmentation fault occurs regardless of whether an in-memory or file-based database is used. When the file-based run crashes, the DB is around...
Read more >
How to debug segmentation fault? What are the best practices ...
If the object files are optimized, then need to analyze the disassembled code for the function of interest (refer to the stack trace)....
Read more >
Debugging Segmentation Faults using GEF and GDB
Be sure you compiled with debugging enabled ( -g flag should be part of the gcc line). To compile the example: gcc -g...
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