unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* xassert fails in xdisp.c
@ 2005-02-19 20:55 Richard Stallman
  2005-02-19 21:34 ` Johan Vromans
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Stallman @ 2005-02-19 20:55 UTC (permalink / raw)


Below is a reproducible bug coming from the xassert at xdisp.c:5268.
I did some debugging on it and found that the charpos and bytepos in
it.current.pos really fail to correspond.  They were taken from
row->end from init_to_row_end called from try_window_id.

I think the cause of this bug is that inserting the multibyte
character u-umlaut at vpos 1 fails to properly update the row->end
at vpos 3.


From: tinu <luthi@gi.alaska.edu>
To: emacs-pretest-bug@gnu.org
Date: Thu, 17 Feb 2005 20:27:34 -0900 (AKST)
Subject: Emacs crashes while composing mail
Sender: emacs-pretest-bug-bounces+rms=gnu.org@gnu.org
X-Spam-Status: No, hits=0.5 required=5.0
	tests=RCVD_IN_ORBS
	version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

Symptoms:


Hi

This is the strangest Error I've ever seen. Emacs crashes consistently
while composing mail and using the iso-accents-mode.

I was able to reduce my .emacs to the following

==== .emacs ====

(custom-set-variables
 '(global-font-lock-mode t nil (font-lock))
 '(mail-archive-file-name "~/mail/sent")
 )

================

Then I do the following steps:

M-x mail                     (opens *mail* buffer)
M-x iso-accents-mode
Go to the subject: line and enter ["u]   (without the brackets, creates a u Umlaut)
Go to line after [--text follows this line--]
Enter [S-h] (an upcase H)
Emacs crashes without any further notice!!!

Since I often write emails with umlauts in the subject, I would be
very glad if somebody could figure out, what causes this crash. I
would be glad to assist, if I get further instructions.

Thanks a lot!

Martin

In GNU Emacs 22.0.50.4 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2005-02-17 on yeti
Distributor `The X.Org Foundation', version 11.0.60801000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: POSIX
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  mouse-wheel-mode: t
  menu-bar-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <help-menu> <re
port-emacs-bug>

Recent messages:
Loading mwheel...done
(/home/soft/emacs/src/emacs -q)
Loading disp-table...done
Loading tooltip...done
Loading image...done
Loading emacsbug...done
next-history-element: Beginning of history; no preceding item


_______________________________________________
Emacs-pretest-bug mailing list
Emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: xassert fails in xdisp.c
  2005-02-19 20:55 xassert fails in xdisp.c Richard Stallman
@ 2005-02-19 21:34 ` Johan Vromans
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Vromans @ 2005-02-19 21:34 UTC (permalink / raw)


Richard Stallman <rms@gnu.org> writes:

> Below is a reproducible bug coming from the xassert at xdisp.c:5268.

I tried this wilh 21.3, and noticed a small misbehaviour as well: when
the S-h is typed, the ---text--- line shifts down, making the screen
look as follows:

   To:
   Subject: ü
   FCC: ~/mail/sent

   ---text follows this line---
   

(* indicates the cursor). C-l makes it look okay again, also showing
the H.
Interesting is that if I do not use " u to make the ü, but insert it
directly using a compose key, everything behaves normally.

Maybe this helps.

-- Johan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-19 21:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-19 20:55 xassert fails in xdisp.c Richard Stallman
2005-02-19 21:34 ` Johan Vromans

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).