This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: core file not created


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]