core dump


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers core dump
# 1  
Old 12-03-2001
core dump

does any one have read a core dump?
is there any reader for that? or may i know what is the use of that core which takes sometimes memory in GBs?
Smilie
sskb
# 2  
Old 12-03-2001
A core dump is basically an image of what was in memory at the time a program crashed. Depending on the program, it can be big or small, but usually in the case of a machine with lots of memory, the core files would generally be bigger. (This is probably why your cores are GB in size) You could use adb to read the core, but you would have to know what you are looking for specifically. (Most people don't need to bother looking at core files)
# 3  
Old 12-04-2001
thanks doeboy, can i get that "adb" anywhere?
can you point me to a location, since I am in need to understand the info in the core.
thanks

Smilie
sskb
# 4  
Old 12-04-2001
Is there any way to prevent core dumps from happening for a particular user only?

I get the odd core dump, but I don't have any reason to look at it.

However more of the users here need to be able to get at a core dump if it happens to them, is there any way I can prevent the computer saving core dumps for me alone?
Cheers!
# 5  
Old 12-04-2001
The adb command is part of the UNIX install. It should be on the system already. Look at the adb(1) man pages for information.
Warning... iadb is not for the weak stomached... Smilie

As for limiting the size of a core dump, you can use "limit" or "ulimit" command to set the size limit on a core dump. Just place a line with"ulimit -c 0" or "limit coredumpsize 0" to your .profile or .cshrc script depending on what shell you use. Smilie
# 6  
Old 12-04-2001
thanks doeboy, it makes a lot of sense to me.
i shall go through that.
cheers!
Smilie
sskb
# 7  
Old 12-05-2001
Also, if you're just wondering what caused the core file, you can check file for info...

$ file core
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

core dump

Hi guys, just want to know which core file pattern is best to set for core dumps: 1) per-process file name pattern or 2) global file name pattern. I will really appreciate an explanation why the chosen one is better. Thanks a lot guys. (2 Replies)
Discussion started by: cjashu
2 Replies

2. HP-UX

Core dump in HP-UX

Hi Guys, I was wondering if somebody could give me a link to a very good source of information or document about core dump process and How to's about it. I have also googled it and found some articles myself. Thanks Messi (1 Reply)
Discussion started by: messi777
1 Replies

3. UNIX for Dummies Questions & Answers

No core dump

my progrme complaints 'Segmentation fault'. How to let it print 'Segmentation fault(core dumped)' and generate core dump file? $ulimit unlimited (22 Replies)
Discussion started by: vistastar
22 Replies

4. AIX

Core dump

Hi , I want to read core dump file on AIX5.3. While i am trying to use following commands, i am getting only few lines of information. ux201p3:e46123> dbx capsWrkstnMgr core Type 'help' for help. reading symbolic information ... Segmentation fault in malloc_common.extend_brk at... (1 Reply)
Discussion started by: rps
1 Replies

5. Programming

core dump

how to view core dumped file using gdb and how to extract information from the coredumped file.can we get similar information from the other utilites like strace or ptrace. (2 Replies)
Discussion started by: Manabhanjan
2 Replies

6. AIX

core dump

My application gives core dump. When i am debugging with dbx getting instructions below: pthdb_session.c, 818: 695445 PTHDB_INTERNAL (internal error) pthreaded.c, 1941: PTHDB_INTERNAL (internal error) Illegal instruction (illegal opcode) in . at 0x0 warning: Unable to access address 0x0... (1 Reply)
Discussion started by: bapi
1 Replies

7. UNIX for Dummies Questions & Answers

Core dump in HP-UX..

Hi All I am new for this forum. I have a core file by using gdb and bt cmd I got the function name but I want to the exact cause of the core dump because of I can not reproduse the binary so if any one know the cmd plz plz plz let me know. (0 Replies)
Discussion started by: gyanusoni
0 Replies

8. Programming

about core dump

MY friends: my program under sco unix have a problem? it create a core dump file on the path when execute program , but i can't find the error of the C program ,i don't know how to see the error about my program use core, please help me or give me some suggest and what tools can use... (1 Reply)
Discussion started by: zhaohaizhou
1 Replies

9. UNIX for Dummies Questions & Answers

core dump

I've got a core dump in my weblogic home directory, which i have tried to debug by initiating savecore from /etc/init.d/savecore start but savecore failed to create the two files, that is vmcore.n and vmunix.n. savecore is enable on my server to save vmcore and vmunix in /var/crash/hostname 1)... (4 Replies)
Discussion started by: hassan2
4 Replies

10. UNIX for Dummies Questions & Answers

help, what is the difference between core dump and panic dump?

help, what is the difference between core dump and panic dump? (1 Reply)
Discussion started by: aileen
1 Replies
Login or Register to Ask a Question