Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am working on Linux Fedora version :2.6.31.5. I set the prior requirement of core dump size to "unlimit". The problem is whenever an exception happens it is showing the message like Segementaion fault(core dumped) and other exception messages of their respect.....but it is not producing the coredump file within the directory i am working and not at all producing the core dump file in any directory of the system. Instead, when i force the core dump generation using "gcore -o corename PID " , it is giving the coredump with name "corename.PID". So, my question is " why is it not generating core dump by default when an application crashes ?" If any one have the detais ,pls share it with me:) Advance thanks to all repliers

Thanks vlc

share|improve this question

migrated from stackoverflow.com Apr 20 '11 at 2:30

This question came from our site for professional and enthusiast programmers.

    
What is the output of ulimit -a for you? –  sjr Apr 19 '11 at 6:55

1 Answer 1

Fedora 14 generates core dumps and sends them to abrt for processing (on my machine). It sounds like you are running an older version of Fedora. If it is sending them to abrt, you will see

Segmentation fault (core dumped)

instead of just

Segmentation fault

if you run something that segfaults from the terminal.

See core dumped - but core file is not in current directory? for how to configure this behaviour.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.