Red Hat Bugzilla – Bug 60631
I cannot get core dumps
Last modified: 2007-04-18 12:40:42 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.0.2 (X11; Linux i686; U;) Gecko/20011226
Description of problem:
Since upgrading from RH7.1 to 7.2, I nolonger get core dumps
for programs that terminate with abort(). The following program:
=== test.c ====
compiles and links with:
It runs with:
[kern@polymatou kern]$ ./test
But there is no core dump. There is no
How do I get core dumps?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Input program given above
Actual Results: "Aborted" prints.
No core dump produced.
Expected Results: To see a core dump
Additional info: Here is a uname -a
Linux polymatou.sibbald.com 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown
Thiis problem is very limiting for developers, please could you raise the priority
and provide a patch ASAP.
Can you check the ulimit's for core dumps ?
ulimit -c unlimited
disabled any size limit on coredumps
That fixes the problem, thanks!
$ ulimit -c
(no core dump -KES)
$ ulimit -c unlimited
Aborted (core dumped)
(core dump exists -KES)
Now that I know the solution for this problem,
I have to admit it is probably a reasonable default
as it adds additional security by not having core
dumps of sensitive programs lying around.