Hacker News new | ask | show | jobs
by kentonv 921 days ago
In my experience all you really have to do is:

1. Write a test program that exercises your segfault.

2. Build it in debug mode.

3. Run `valgrind <my-program>`

And it just tells you where your problem is. Not much more to it.