From xemacs-m  Thu Sep 25 12:12:27 1997
Received: from wfdutilgw.ml.com (wfdutilf01.ml.com [206.3.74.31])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id MAA20363
	for <xemacs-beta@xemacs.org>; Thu, 25 Sep 1997 12:12:27 -0500 (CDT)
Received: from ml1.ml.com ([199.201.57.130])
	by wfdutilgw.ml.com (8.8.7/8.8.7/MLgwo-3.05) with ESMTP id NAA05734
	for <xemacs-beta@xemacs.org>; Thu, 25 Sep 1997 13:13:06 -0400 (EDT)
Received: from commpost.ml.com (commpost.ml.com [146.125.4.24])
	by ml1.ml.com (8.8.5/8.8.5/MLml4-2.07) with SMTP id NAA03058
	for <xemacs-beta@xemacs.org>; Thu, 25 Sep 1997 13:12:00 -0400 (EDT)
Received: from spssunp.spspme.ml.com (spssunp.spspme.ml.com [192.168.111.13]) by commpost.ml.com (8.6.12/8.6.12) with ESMTP id NAA13766 for <xemacs-beta@xemacs.org>; Thu, 25 Sep 1997 13:11:58 -0400
Received: by spssunp.spspme.ml.com (SMI-8.6/SMI-4.1)
	id NAA00930; Thu, 25 Sep 1997 13:11:58 -0400
To: XEmacs Beta List <xemacs-beta@xemacs.org>
Subject: Re: 20.3-b23 crash on Solaris and sparcworks
References: <14437.875111890@rtp.ericsson.se> <m2n2l2hzxy.fsf@altair.xemacs.org>  <ocrraad5v74.fsf@ml.com> <21226.875202243@rtp.ericsson.se>
X-Face: ""xJff<P[R~C67]V?J|X^Dr`YigXK|;1wX<rt^>%{>hr-{:QXl"Xk2O@@(+F]e{"%EYQiW@mUuvEsL>=mx96j12qW[%m;|:B^n{J8k?Mz[K1_+H;$v,nYx^1o_=4M,L+]FIU~[[`-w~~xsy-BX,?tAF_.8u&0y*@aCv;a}Y'{w@#*@iwAl?oZpvvv
X-Y-Zippy: Uh-oh!!  I forgot to submit to COMPULSORY URINALYSIS!
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Colin Rafferty <craffert@ml.com>
Date: 25 Sep 1997 13:11:57 -0400
In-Reply-To: Raymond Toy's message of "Thu, 25 Sep 1997 11:44:03 -0400"
Message-ID: <ocriuvp5ndu.fsf@ml.com>
Lines: 48
X-Mailer: Gnus v5.5/XEmacs 20.3(beta23) - "Sarajevo"

Raymond Toy writes:

>>>>>> "Colin" == Colin Rafferty <craffert@ml.com> writes:
Colin> SL Baur writes:
>>> Raymond Toy <toy@rtp.ericsson.se> writes:

>>>> One person here at causes XEmacs 19.14, 19.15, 20.2, and 20.3-b23 to
>>>> crash when dragging the scrollbar when using sparcworks debugger.
>>>> The crash is repeatable, but it happens at random times when dragging
>>>> the scrollbar.

>>>> #3  0x16b86c in add_margin_runes (dl=0x7f41f8, db=0x77f7d0, start=4, count=1, glyph_type=1, side=2, window=274385920)
>>>> at /home/unix/toy/apps/xemacs-20.3-b23/src/redisplay.c:2755

>>> There have been dozens (if not hundreds -- I didn't have access to the
>>> bug reports in the summer after 19.14 release) of reports of crashes
>>> at this line, all on Suns.  Maybe someday someone with a Sun will
>>> figure out what the problem is.

Colin> Of course it's only on SUNs -- sparcworks only runs on a SUN.

Colin> My solution to this problem is similar to Rick Cambell's solution.

> I seemed to have missed that.  What was his solution?

To avoid it as much as possible.

Colin> Maybe someone that actually cares about sparcworks working properly can
Colin> fix this bug.  After that, maybe he can also fix sparcworks to allow the 
Colin> dbx window and process i/o window to be XEmacs buffers, and then people
Colin> will want to use sparcworks.

> It's used here because someone is running Sun C++ and gdb doesn't grok 
> it, otherwise, he'd use gdb.  I don't use sparcworks because I run
> gcc/g++ and gdb.

The dbx that comes with Sparcworks can run directly under and emacs
using `M-x dbx'.  The only trick is that you have to add the following
to your .dbxrc:

    dbxenv output_short_file_name off

Otherwise, dbx does not the full path of the stopped-in file, and
dbx-mode assumes it is in the current directory (which is usually wrong
(for me)).

-- 
Colin

