From xemacs-m  Wed Sep 24 06:36:54 1997
Received: from fronsac.ensg.u-nancy.fr (fronsac.ensg.u-nancy.fr [192.93.48.17])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id GAA27246
	for <xemacs-beta@xemacs.org>; Wed, 24 Sep 1997 06:36:45 -0500 (CDT)
Message-Id: <199709241136.GAA27246@xemacs.org>
Received: by fronsac.ensg.u-nancy.fr
	(8.7.1/16.2) id HAA19437; Wed, 24 Sep 1997 07:36:44 -0400 (EDT)
Date: Wed, 24 Sep 1997 07:36:44 -0400 (EDT)
From: Richard Cognot <cognot@ensg.u-nancy.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: xemacs-beta@xemacs.org
Subject: More info 19.16 crash on Irix 6.X
In-Reply-To: <199709240952.EAA26808@xemacs.org>
References: <199709240952.EAA26808@xemacs.org>
X-Mailer: VM 6.34 under 19.16 "Bronx" XEmacs Lucid
Reply-to: cognot@ensg.u-nancy.fr
X-Face:  .|{6#t`YCBNfg_E.8;@IFK9kd'Ol7>~2S7U!o3+g)+\`hV5&I]k,UwC%g%Y\,-KV+[eEgZm
 i(NgMB@L_n/A!jk;}@!?$<t5Aw`B$R=xJSv[F$2&sz*cwxF!|B3)MH,6YBDNU!$9;91N_p*>}</%ZO
 +EYRSc{a_#KXB)sJlPpxQq,/:}\*noO!;(5PY~MTnspl;&XA$JccP;N~;v5E>Yh.



I've run XEmacs 19.16 under purify. Although that prevents it from
crashing in the same circumstances, I get these errors repeatedly:

      UMR: Uninitialized memory read (260 times)
      This is occurring while in:
            _setcontext    [syscalls.c:9354]
            _siglongjmp    [siglongjmp.c:43]
            unwind_to_catch [eval.c:1406]
                 lisp_eval_depth = c->lisp_eval_depth;
               
                 throw_level = 0;
            =>   LONGJMP (c->jmp, 1);
               } 
               
               static DOESNT_RETURN
            Fsignal        [eval.c:2047]
                     if (!NILP (Vcurrent_warning_class))
                       warn_when_safe_lispobj (Vcurrent_warning_class, Qwarning,
                                               Fcons (error_symbol, data));
            =>       Fthrow (Qunbound_suspended_errors_tag, Qnil);
                     abort (); /* Better not get here! */
                   }
                 RETURN_UNGCPRO (signal_1 (error_symbol, data));
            signal_error   [eval.c:2059]
            signal_simple_error [eval.c:2312]
      Reading 816 bytes from 0x7ffefaf0 on the stack (52 bytes at 0x7ffefaf4 uninit).

And others, all going through LONGJMP.

From the config.h file:

/* We want to avoid saving the signal mask if possible, because
   that necessitates a system call. */
#ifdef HAVE_SIGSETJMP
# define SETJMP(x) sigsetjmp (x, 0)
# define LONGJMP(x, y) siglongjmp (x, y)
# define JMP_BUF sigjmp_buf
#else
# define SETJMP(x) setjmp (x)
# define LONGJMP(x, y) longjmp (x, y)
# define JMP_BUF jmp_buf
#endif

and HAVE_SIGSETJMP is set to 1. 

2 questions:
        1) should I try to undef HAVE_SIGSETJMP?
        2) is there any specific option I can compile XEmacs with to
        get more info on what's going on? (like using system-malloc?).

Richard.

-- 
|-------------------------------------------------------------|
| Richard Cognot           | Proceed, with fingers crossed... |
|                          |           /\^^/\                 |
| <cognot@ensg.u-nancy.fr> |             `'                   |
|-------------------------------------------------------------|
| http://www.ensg.u-nancy.fr/~cognot                          |
|-------------------------------------------------------------|

