Comments on: Linux Core Dumps https://moythreads.com/wordpress/2011/10/06/linux-core-dumps/ Abandon All Hope, Ye Who Read This Blog Fri, 14 Aug 2020 20:06:49 +0000 hourly 1 https://wordpress.org/?v=5.1.9 By: Moises Silva https://moythreads.com/wordpress/2011/10/06/linux-core-dumps/comment-page-1/#comment-474 Sun, 23 Oct 2011 22:51:34 +0000 http://www.moythreads.com/wordpress/?p=168#comment-474 Thanks for sharing your tips Kapil!

Indeed. I am not very fond of C++, but GDB scripting is a very nice way to debug more complex data structures.

Have you heard of Project Archer? I have not had the time to install it, but I remember wanting something like that when I was working in a complex C++ application that used to crash all the time 😛

http://sourceware.org/gdb/wiki/ProjectArcher

]]>
By: Kapil https://moythreads.com/wordpress/2011/10/06/linux-core-dumps/comment-page-1/#comment-473 Mon, 17 Oct 2011 03:21:21 +0000 http://www.moythreads.com/wordpress/?p=168#comment-473 Hey Moy,

Nice article on GDB/Core !!

Just to add we can also take the advantage of GDB script to debug any core very fast.

For example , see GDB script from below location which can use to access the C++ STLs(List/Vector/Strings etc) to see if STLs corruption are the cause of your segmentation fault.

http://sourceware.org/ml/gdb/2008-02/msg00064/stl-views.gdb

Like this we can create the GDB script as per our requirements to access all of our complex data structures, memory management structures etc so while analyzing core we can quickly check what went wrong.

]]>