From xemacs-m  Thu Jan 23 14:41:45 1997
Received: from UCSD.EDU (mailbox1.ucsd.edu [132.239.1.53])
          by xemacs.org (8.8.4/8.8.4) with ESMTP
	  id OAA17514 for <xemacs-beta@xemacs.org>; Thu, 23 Jan 1997 14:41:43 -0600 (CST)
Received: from sdnp5.ucsd.edu (sdnp5.ucsd.edu [132.239.79.10]) by UCSD.EDU (8.8.3/8.6.9) with SMTP id MAA23397; Thu, 23 Jan 1997 12:41:40 -0800 (PST)
Received: by sdnp5.ucsd.edu (SMI-8.6/SMI-SVR4)
	id MAA00511; Thu, 23 Jan 1997 12:39:12 -0800
Sender: dmoore@sdnp5.ucsd.edu
To: Christopher Davis <ckd@loiosh.kei.com>
Cc: xemacs-beta@xemacs.org
Subject: Re: 20.0b91: xemacs -q, move mouse over toolbar, insta-core!
References: <199701232023.PAA06661@loiosh.kei.com>
X-Face: "oX;zS#-JU$-,WKSzG.1gGE]x^cIg!hW.dq>.f6pzS^A+(k!T|M:}5{_%>Io<>L&{hO7W4cicOQ|>/lZ1G(m%7iaCf,6Qgk0%%Bz7b2-W3jd0m_UG\Y;?]}4s0O-U)uox>P3JN)9cm]O\@,vy2e{`3pb!"pqmRy3peB90*2L
Mail-Copies-To: never
From: David Moore <dmoore@UCSD.EDU>
Date: 23 Jan 1997 12:39:11 -0800
In-Reply-To: Christopher Davis's message of Thu, 23 Jan 1997 15:23:57 -0500 (EST)
Message-ID: <rvvi8oi0sw.fsf@sdnp5.ucsd.edu>
Lines: 32
X-Mailer: Red Gnus v0.80/XEmacs 19.15

Christopher Davis <ckd@loiosh.kei.com> writes:

> Talk about quick... I was going to use it to debug its previous core file,
> and it dumped core before I could hit the gdb toolbar button.

> redisplay looks like the culprit, though my optimization cflags may be at fault
> of course.
> 
> line 1147:
>   1147      stupid_vertical_scrollbar_drag_hack = 1;
> 
> ideas?  I've got the cores lying all over if anyone wants some, and I can make
> as many as you like... start with -q, move to the toolbar, bang-o.

	Please try the following patch.
stupid_vertical_scrollbar_drag_hack should only be ever be set to 0 for
Motif scrollbars, not the lucid ones.


--- scrollbar-x.c.orig	Thu Jan 23 12:35:23 1997
+++ scrollbar-x.c	Thu Jan 23 12:35:51 1997
@@ -597,8 +597,9 @@
       SCROLLBAR_X_VDRAG_ORIG_VALUE (instance) = data->slider_value;
       SCROLLBAR_X_VDRAG_ORIG_WINDOW_START (instance) =
 	XINT (Fwindow_start (win));
-#endif
+#else
       stupid_vertical_scrollbar_drag_hack = 0;
+#endif
       break;
 
     case SCROLLBAR_DRAG:

