No core dump


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers No core dump
# 15  
Old 12-19-2010
That's the exact same as my linux system, which is happy to make a core from running your code. Argh.

Check for anything weird in dmesg, maybe it's telling you why it's not making a core.

Also try touch core to see if it's really possible to make a file named 'core' in your directory.
# 16  
Old 12-19-2010
Also try changing core_pattern to something like "core.%p" or "core.%e".
# 17  
Old 12-19-2010
What's the output from "ulimit -a"?
# 18  
Old 12-20-2010
I am sorry, this is my fault. I forget to set "unlimit -c unlimited" because the command "ulimit" output "unlimited". After I use "unlimit -c unlimited", the coredump appears. Thx!

Last edited by vistastar; 12-20-2010 at 01:39 AM..
# 19  
Old 12-20-2010
Wow! I never was a big fan of limits -- very old think, paranoid, weakness focused, from when resources were very limited and expensive, "we give login to maniacs" sort of thinking.
# 20  
Old 12-24-2010
Quote:
Originally Posted by DGPickett
Wow! I never was a big fan of limits -- very old think, paranoid, weakness focused, from when resources were very limited and expensive, "we give login to maniacs" sort of thinking.
...and I've been a fan of limits ever since I swapdeathed instead of a stack overflow. Smilie
# 21  
Old 12-24-2010
Tuning beats limits every day -- good scheduling, O/S that have ways of ensuring sharing without limiting. One site had that pg that likes to loop forever, and the Sys Admins refused to kill it, saying they do not take those calls, the smart scheduler ensures they do not take CPU from others and eventually a reboot clears them away. Another site went bonkers when I found a task to use 100 % of the cpu, nice -19. Nobody was complaining or experiencing any slowness. UNIX is not an IBM Mainframe, that it needs all sorts of safeguards to protect it. I am not even sure the Mainframe is like that any more, since I expect it runs on UNIX under the covers. They never wanted to see the last CPU used. Why buy it? Some were rather persistent about this desire for idle CPU's. I attribute it to childhood trauma.

There is a devil of a control freak in human nature that never wants anything unanticipated to happen. I have surprises and delights for them, like it or not!
 
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. 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

4. 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

5. 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

6. 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

7. UNIX for Advanced & Expert Users

core dump

Hi All, i am new to this forum.i want detail of reading the core file and trace the problem because of what the program get crashed.please help me.if any body knows any website or tutoril plese let me know. sudhir (6 Replies)
Discussion started by: sudhir patnaik
6 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