Catching core dumps in a shell script

Ben Elliston bje at redhat.com
Mon Feb 4 13:21:26 EST 2002


>>>>> "Michael" == Michael Still <mikal at stillhq.com> writes:

  Michael> My problem is that sometimes the parser core dumps, and these files then
  Michael> don't get listed as having failed. Testing for the existance of a file
  Michael> named core in the for loop doesn't seem to work... I am not
  Michael> sure why.

What happens if you manually run the parser over a PDF file which is
known to cause a core dump?  It sounds like your ulimits are
preventing the creation of core files.

Ben




More information about the linux mailing list