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: Riccardo Mottola
Subject: Re: Causing a core dump in GNUstep program
Date: Thu, 28 Aug 2014 12:58:58 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1

Hi,

Wolfgang Lux 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();
I'd try that first, especially after the lesson in PC's hihglight code and all related statements of the wild optimizations that can happen with illegal code!

I couldn't find evidence however that SIGABRT is guaranteed to leave a core file.

Riccardo



reply via email to

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