From xemacs-m  Thu Jan 30 22:48:14 1997
Received: from UCSD.EDU (mailbox1.ucsd.edu [132.239.1.53])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id WAA01251
	for <xemacs-beta@xemacs.org>; Thu, 30 Jan 1997 22:48:13 -0600 (CST)
Received: from sdnp5.ucsd.edu (sdnp5.ucsd.edu [132.239.79.10]) by UCSD.EDU (8.8.5/8.6.9) with SMTP id UAA09455 for <xemacs-beta@xemacs.org>; Thu, 30 Jan 1997 20:48:14 -0800 (PST)
Received: by sdnp5.ucsd.edu (SMI-8.6/SMI-SVR4)
	id UAA25704; Thu, 30 Jan 1997 20:51:07 -0800
Sender: dmoore@sdnp5.ucsd.edu
To: xemacs-beta@xemacs.org
Subject: Re: 20.0-beta92 crash
References: <199701290932.KAA25909@sen2.ida.liu.se>
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: 30 Jan 1997 20:51:04 -0800
In-Reply-To: David Byers's message of Wed, 29 Jan 1997 10:32:03 +0100
Message-ID: <rvzpxqqwg6.fsf@sdnp5.ucsd.edu>
Lines: 30
X-Mailer: Gnus v5.4.8/XEmacs 19.15

David Byers <davby@ida.liu.se> writes:

>     (progn (standard-display-european 1)
>            (help-with-tutorial-for-mule "Japanese"))
> 
> crashes with segmentation fault.

> #3  0x13b73c in create_text_block (w=0x3eb800, dl=0x5fd090, bi_start_pos=50, 
>     start_col=4861440, prop=0xefffdbec, type=2) at buffer.h:532
> #4  0x137bcc in generate_display_line (w=0x3eb800, dl=0x5fd090, bounds=1, 
>     start_pos=50, start_col=0, prop=0xefffdbec, type=2) at redisplay.c:734

The comment in generate_display_line above the call to create_text_block
suggests problems therein, and create_text_block itself is rather large
and hard to identify the responsible routine.  Because charptr_emchar is
declared in buffer.h (and is INLINE), you lose the actual line number in
create_text_block for the death.

	If you can still generate this fault in b93, you may want to
compile with no optimization and edit the generated src/config.h and
change the '#define HAVE_INLINE 1' to '#undef HAVE_INLINE' before
building.  This might help narrow down where in create_text_block the
problem is happening.


-- 
David Moore <dmoore@ucsd.edu>       | Computer Systems Lab      __o
UCSD Dept. Computer Science - 0114  | Work: (619) 534-8604    _ \<,_
La Jolla, CA 92093-0114             | Fax:  (619) 534-1445   (_)/ (_)
<URL:http://oj.egbt.org/dmoore/>    | In a cloud bones of steel.

