discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Causing a core dump in GNUstep program


From: Ivan Vučica
Subject: Re: Causing a core dump in GNUstep program
Date: Thu, 28 Aug 2014 07:48:26 +0000

free(-1); even.

If you are unfamiliar with "limits" others are talking about:

$ ulimit -c unlimited

and when done

$ ulimit -c 0

On Thu, 28 Aug 2014 08:39 Wolfgang Lux <wolfgang.lux@gmail.com> wrote:
Am 28.08.2014 um 00:58 schrieb Andreas Höschler:

> I am tracking a very hard to catch problem and therefore would like to purposely create a core dump via a piece of code in my program when the problem reoccurs (might take days or weeks). What line of code can I include in my GNUstep Objective-C program to create a core dump on purpose? Any idea?

  abort();


_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

reply via email to

[Prev in Thread] Current Thread [Next in Thread]