Another Word For It Patrick Durusau on Topic Maps and Semantic Diversity

April 28, 2018

Getting Core Dumps on Linux – Writing Practice

Filed under: Linux OS,Programming — Patrick Durusau @ 4:26 pm

Julia Evans is an amazing programmer! Most people avoid core dumps and here Julia sets out to collect one. For use in debugging a segfault.

How to get a core dump for a segfault on Linux

From the post:

This week at work I spent all week trying to debug a segfault. I’d never done this before, and some of the basic things involved (get a core dump! find the line number that segfaulted!) took me a long time to figure out. So here’s a blog post explaining how to do those things!

At the end of this blog post, you should know how to go from “oh no my program is segfaulting and I have no idea what is happening” to “well I know what its stack / line number was when it segfaulted at at least!“.

You will learn a lot about core dumps and segfaults from this post but Julia’s post is also a great writing example.

Do you write up problems you have solved at work? Can your co-workers follow them and arrive at the same result (replication)? Every story you write and check with co-workers is a step towards improving your writing skills.

What did you learn this past week?

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress