core file not created
Erik Mouw
J.A.K.Mouw@ITS.TUDelft.NL
Fri May 25 11:10:00 GMT 2001
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/
More information about the Gcc
mailing list