From xemacs-m  Fri Jun 13 21:10:43 1997
Received: from altair.xemacs.org (root@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id VAA20906
	for <xemacs-beta@xemacs.org>; Fri, 13 Jun 1997 21:10:39 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id RAA08550;
	Fri, 13 Jun 1997 17:24:33 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Cc: "A. Esh" <andrewes@cnt.com>, Ben Wing <ben@666.com>
Subject: Possible fix for Sun debugger crashes
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@xemacs.org>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Date: 13 Jun 1997 17:24:31 -0700
Message-ID: <m267vikp4w.fsf@altair.xemacs.org>
Lines: 29
X-Mailer: Gnus v5.4.56/XEmacs 20.2/InfoDock pre4.0

I can't test this as I don't have access to any Sun hardware, but could
someone please try this patch out and see if it helps any against crashes in
the Sun EOS debugger environment.  The patch is against XEmacs 20.3beta but
should apply to 19.15.

Ben Wing has suggested this patch as a fix for replicating/duplicable extents.
The only other place this routine is called is during setup of the margin
glyphs in the Sun EOS lisp debugger (ie. right where the crashes are
occurring) ...

Index: src/extents.c
===================================================================
RCS file: /usr/local/xemacs/xemacs-20.0/src/extents.c,v
retrieving revision 1.7
diff -u -r1.7 extents.c
--- extents.c	1997/04/10 05:56:40	1.7
+++ extents.c	1997/06/14 00:16:24
@@ -5548,6 +5548,7 @@
   else
     {
       XSETEXTENT (tmp, copy_extent (extent, new_start, new_end, object));
+      Fsetextent_parent (tmp, Qnil);
       return tmp;
     }
 }

-- 
steve@calag.com baur
Unsolicited commercial e-mail will be billed at $250/message.

