core dump
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > core dump




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    core dump  
rahul8143@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-18-05 12:47 PM

hello,
what is core dump? which conditions in programs create core dump? what
is simple condition to create a core dump from a C program? how to
debug it?
regards,
rahul






[ Post a follow-up to this message ]



    Re: core dump  
Kasper Dupont


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-18-05 10:55 PM

rahul8143@gmail.com wrote:
>
> hello,
> what is core dump? which conditions in programs create core dump? what
> is simple condition to create a core dump from a C program?

It is a file with a dump of the virtual memory of a process that
crashed for some reason. Notice that a process can crash without
creating a core dump.

http://www.daimi.au.dk/~kasperd/com...t.faq.html#core

> how to debug it?

You may be able to get some information from gdb. eg.
gdb a.out core
(gdb) bt
(gdb) print x
(gdb) up
(gdb) print y

Also look here:
http://www.daimi.au.dk/~kasperd/com...aq.html#SIGSEGV

--
Kasper Dupont
Note to self: Don't try to allocate
256000 pages with GFP_KERNEL on x86.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:49 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register