This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: core file not created
- To: Katherine Meiszer <katherine at mil dot ufl dot edu>
- Subject: Re: core file not created
- From: Erik Mouw <J dot A dot K dot Mouw at ITS dot TUDelft dot NL>
- Date: Fri, 25 May 2001 20:09:37 +0200
- Cc: gcc-help at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Organization: Eric Conspiracy Secret Labs
- References: <20010525173249.DD38F11E71@moe.mlr.ufl.edu>
On Fri, May 25, 2001 at 01:27:32PM -0400, Katherine Meiszer wrote:
> I am running code compiled with g++ using gcc version egcs-2.91.66 on a
> Linux system. When I get a segmentation fault, no core file is
> created. I have never before seen an instance of where a segmentation
> fault is not accompanied by a core dump. I wrote a simple test program
> that does nothing but incorrectly index an array and it also does create
> a core file when it crashes.
With bash:
ulimit -c unlimited
With tcsh:
limit coredumpsize unlimited
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/