LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-26-2004, 05:56 PM   #1
overbored
Member
 
Registered: Jun 2003
Posts: 58

Rep: Reputation: 15
Crash Dumps


When (user-mode) applications crash in Windows, they may produce a standard type of crash dump (e.g., minidumps). Similarly, if the (kernel-mode) system crashes, you can get various types of dumps (see control panel > system > advanced).

I'm wondering if Linux (user-mode) programs also produce standard crash dumps. I've done some Googling on this, but I haven't found an authoritative reference on Linux crash dumps. Are they called coredumps? Are there various types of coredumps? I'm interested in learning more about these, and how to analyze them (assuming I'm getting them from many Linux users using various distributions).

As for kernel-mode crash dumps, the only thing I've found was the lkcd (linux kernel crash dump), but this doesn't look like it's standard in Linux (i.e., you'd have to recompile your kernel with this). Linux doesn't already produce crash dumps, does it?

Thanks in advance!
 
Old 09-26-2004, 07:36 PM   #2
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
If a program crashes, the system will usually create a core dump, which is basically the contents of the memory being used by that program. Have a look here http://www.unknownroad.com/rtfm/gdbt...nced.html#CORE for a short description of how to use the core dump with gdb (also, the rest of the tutorial is great if you haven't used it before). I'm not sure how well this works if someone sends you their core file, but I've seen developers ask for core files before, so it must be possible.

I'm not sure about whether the kernel dumps by default or not - I've never seen a kernel crash that I didn't cause, and I never needed to use a dump file to fix my own (stupid) mistakes.
 
Old 09-26-2004, 09:45 PM   #3
overbored
Member
 
Registered: Jun 2003
Posts: 58

Original Poster
Rep: Reputation: 15
Yeah well most kernel crashes (Windows & Linux alike) aren't caused by the kernel, but rather bad drivers or modules. Basically one of the things I'd like to find out is which driver/module caused it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen Dumps Nay_Nay Linux - Newbie 6 07-06-2005 10:27 AM
analyzing crash dumps on rhel 3.0 u2 jazzn1doog Linux - Enterprise 0 07-28-2004 05:08 PM
Reading Core Dumps bru Linux - General 3 05-07-2004 07:19 PM
xmms crash xine crash mplayer crash paledread Linux - Software 9 03-09-2004 07:09 AM
Taking screen dumps. How? robson8112 Linux - General 1 01-11-2004 09:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration