From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kratochvil Subject: Re: [PATCH 1/1] x86: Add process memory layout to coredump file Date: Mon, 12 Dec 2011 22:03:28 +0100 Message-ID: <20111212210328.GA29248@host2.jankratochvil.net> References: Reply-To: crash-catcher-TuqUDEhatI7GMZAyRF5v151Ccm5ICvs9@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, gdb , crash-catcher-TuqUDEhatI7GMZAyRF5v151Ccm5ICvs9@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, viro-RmSDqhL/yNMiFSDQTTA3OLVCufUGDwFn@public.gmane.org To: t cheney Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: crash-catcher-bounces-TuqUDEhatI7GMZAyRF5v151Ccm5ICvs9@public.gmane.org Errors-To: crash-catcher-bounces-TuqUDEhatI7GMZAyRF5v151Ccm5ICvs9@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org On Sun, 11 Dec 2011 15:10:00 +0100, t cheney wrote: > This patch just add memory layout(same as /proc/pid/maps) to > coredump file. The layout is appended to corenote segment with > flag NT_MAPS=7. FYI this has been solved by ABRT - Automated Bug-Reporting Tool https://fedorahosted.org/abrt/ (it is distro-neutral despite its homepage) Core file is there a subdirectory where the core file is just one of the many associated files: /var/spool/abrt/ccpp-*: abrt_version analyzer architecture cmdline component coredump count dso_list environ executable hostname kernel maps os_release package pid pwd reason time uid username uuid var_log_messages More info files are being continually added, such as /proc/PID/fd{,info}/ mapping at the crash dump time etc. You would need to add many more core file notes to make the core files useful for later analysis. Regards, Jan