[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how do i produce a core file?



> Quoting Jeremy Taylor(jtaylor@brite.net):
> > 
> > It appears that the default behavior of debian systems is to print
> > "Segmentation Fault" rather than produce a core file.  Can anyone tell me
> > how to change this behavior for debugging purposes?
> > 
> > Appreciate any help!
> > 
> > Jeremy
> 
> From man ulimit
> BASH_BUILTINS(1)                                 BASH_BUILTINS(1)
> ...
> ....
> ulimit [-SHacdflmnpstuv [limit]]
> .....
> ....
> -c     The maximum size of core files created
> 
> Seems to be a bash default.

Yep.  It may be useful to add that you may use the value `unlimited',
as in `ulimit -c unlimited', which is probably what you want if you are
debugging.

HTH,
Eric

-- 
 E.L. Meijer (tgakem@chem.tue.nl)
 Eindhoven Univ. of Technology
 Lab. for Catalysis and Inorg. Chem. (SKA)


Reply to: