View previous topic :: View next topic |
Author |
Message |
jiggywiggy n00b
Joined: 24 Feb 2004 Posts: 28
|
Posted: Mon Mar 08, 2004 2:36 am Post subject: A strange random file named core |
|
|
I recently was merging a few different web browsers and I ended up with a file named core in my home directory. It is a little frighting to me because the icon is a bomb (using gnome). I just am curious if I can delete. Yeah this does seem like a very vague question, but if you happen to know it would help. |
|
Back to top |
|
|
Epyon l33t
Joined: 11 Sep 2003 Posts: 754 Location: NJ, USA
|
Posted: Mon Mar 08, 2004 2:38 am Post subject: |
|
|
AFAIK it's a core dump. It's safe to delete. |
|
Back to top |
|
|
Sgaduuw Tux's lil' helper
Joined: 17 Sep 2002 Posts: 133 Location: Rotterdam, Netherlands
|
Posted: Mon Mar 08, 2004 2:42 am Post subject: |
|
|
the core file is the remnant of a program that has crashed and 'dumped it's core', or left a coredump.
The core file can be used for debugging purposes, since a coredump contains a memory print of the program.
It's safe to delete the file. Running the command "file core" should tell you what the crashed program was. _________________ my website |
|
Back to top |
|
|
giannifive n00b
Joined: 29 Jan 2004 Posts: 50 Location: Chicago, IL
|
Posted: Mon Mar 08, 2004 2:42 am Post subject: |
|
|
The core file means some application you were running crashed. It's output for debugging purposes so you can do a post mortem and see what went wrong. It's not a particularly useful file for non-developers, and you can safely delete it. But if you want to see what application crashed and created it, you can do
If you want to prevent core files from being created, there's a command you can put in your .bashrc file, but I don't remember what it was. Something like "limit coredumpsize 0"... Perhaps someone else on the forums knows? |
|
Back to top |
|
|
johnmc Tux's lil' helper
Joined: 04 Oct 2003 Posts: 81 Location: Kansas City, MO
|
Posted: Mon Mar 08, 2004 2:45 am Post subject: |
|
|
It's OK to delete.
Can you tell what left the core, or were there any errors during the emerge?
Programs that abort leave core files that can be used to debug whatever caused the problem, so a core file usually means something aborted. _________________ Pass the ribs!
----------------------------
17" G4 1.5GHZ Powerbook
Toshiba 5205-S703
----------------------------
"Survived the Dotcom crash and happily toiling for the print media again" |
|
Back to top |
|
|
jiggywiggy n00b
Joined: 24 Feb 2004 Posts: 28
|
Posted: Mon Mar 08, 2004 2:47 am Post subject: |
|
|
I used file core and it ended up being metacity and I deleted it.
Thanks for the help |
|
Back to top |
|
|
|