Computing.Net > Forums > Unix > core dumps?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

core dumps?

Reply to Message Icon

Name: Bill
Date: March 7, 2003 at 09:03:28 Pacific
OS: unix
CPU/Ram: 800
Comment:

Hi,
What are coredumps? What are the files like core.36544 good for?
thanks,
Bill



Sponsored Link
Ads by Google

Response Number 1
Name: nails
Date: March 7, 2003 at 14:52:49 Pacific
Reply:

Bill:

A core file is an image that the Unix OS writes out when certain signals are received. Generally, it's a sign of a program terminating abnormally. I'd do a 'man core' for your particular system.

The easiest way of creating a core file at least on my Solaris 7 and Red Hat 7.1 boxes:

#include

void main()
{
long intx=666;

/* stupidly, print a long as a string */
printf("%s\n", intx);
}

Unless you are a system programmer type good at reading core files, they're not much use.

Regards,

Nails


0

Response Number 2
Name: neel
Date: March 11, 2003 at 07:27:27 Pacific
Reply:

type in
strings core

it will give the content of the core file in a readable format.. sometimes it helps to debug the actual reason for the coredump.. u can troubleshoot ....


0

Response Number 3
Name: Bill
Date: March 12, 2003 at 06:53:16 Pacific
Reply:

Thanks! That information is helpful. This webiste is pretty useful. Glad to see something like this up.

Bill


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Simple Makefile change string in multiple...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: core dumps?

Memory core dump www.computing.net/answers/unix/memory-core-dump/1723.html

Segmentation fault (core dumped) www.computing.net/answers/unix/segmentation-fault-core-dumped-/5432.html

Understand the reson for Core Dump www.computing.net/answers/unix/understand-the-reson-for-core-dump-/4065.html