Catching core dumps in a shell script
mikal at stillhq.com
Mon Feb 4 18:04:23 EST 2002
On Mon, 4 Feb 2002, Ben Elliston wrote:
> >>>>> "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.
The core files get created, just for some reason (perhaps poor coding), my
script can't seem to see them with a [ -e core ].
Michael Still (mikal at stillhq.com) UMT+11hrs
More information about the linux