discuss-gnustep
[Top][All Lists]
Advanced

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

Re: gdnc core dumps


From: Wolfgang Lux
Subject: Re: gdnc core dumps
Date: Wed, 30 May 2007 12:26:03 +0200

Andreas Höschler wrote:

I have upgraded to a rather recent GNUstep version on our Debian system but I still get gdnc core dumps. Any idea what this might be caused by and how this can be prevented?

Hmmm, this looks like you have either compiled GNUstep with -DDEBUG or you have set the environment variable CRASH_ON_ABORT. In both cases, the signal handler installed by gdnc will call the abort function. Unfortunately, the handler is installed for SIGABRT, too, which causes the infinite recursion you are seeing. Probably, the best fix is to not install the signal handler for SIGABRT. The following patch should fix that.

Index: gdnc.m
===================================================================
--- gdnc.m      (revision 24911)
+++ gdnc.m      (working copy)
@@ -1119,6 +1119,7 @@
     for (sym = 0; sym < NSIG; sym++)
       {
+        if (sym == SIGABRT) continue;
#ifdef  SIGPROF
        if (sym == SIGPROF) continue;
#endif


Wolfgang





reply via email to

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