Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 60631 - I cannot get core dumps
I cannot get core dumps
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2002-03-03 10:51 EST by Kern Sibbald
Modified: 2007-04-18 12:40 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-03-06 17:28:21 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Kern Sibbald 2002-03-03 10:51:49 EST
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 ====
main ()
compiles and links with:
  make test
It runs with:
and produces:
[kern@polymatou kern]$ ./test

But there is no core dump. There is no
core.* either.

How do I get core dumps?


Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Input program given above
2.Make program
3.Run program

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

Glibc: glibc-2.2.4-19
Comment 1 Need Real Name 2002-03-06 17:19:14 EST
Thiis problem is very limiting for developers, please could you raise the priority 
and provide a patch ASAP.
Comment 2 Arjan van de Ven 2002-03-06 17:28:17 EST
Can you check the ulimit's for core dumps ?

ulimit -c

does that

ulimit -c unlimited 

disabled any size limit on coredumps
Comment 3 Kern Sibbald 2002-03-07 03:24:15 EST
That fixes the problem, thanks!

$ ulimit -c
$ ./test
(no core dump -KES)
$ ulimit -c unlimited
$ ./test
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.

Note You need to log in before you can comment on or make changes to this bug.