unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Werner LEMBERG <wl@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs crash CVS 2003-10-17
Date: Wed, 12 Nov 2003 16:05:17 +0100 (CET)	[thread overview]
Message-ID: <20031112.160517.135995619.wl@gnu.org> (raw)
In-Reply-To: <200311111109.UAA01744@etlken.m17n.org>


> > The last non-zero index is 20:
>
> Then, please see all f->face_cache->faces_by_id[N]->font_name and
> check if any of them shows a big5 font.

0 <= N <= 10 and N = 17 is

  -Etl-Fixed-Medium-R-Normal--24-240-72-72-C-120-ISO8859-1

0 <= N <= 16 and N = 20 is

  -Etl-Fixed-Bold-R-Normal--24-240-72-72-C-120-ISO8859-1

Finally, N = 18 and N = 19 is

  -ETen-Fixed-Medium-R-Normal--24-230-75-75-C-240-Big5.ETen-0


(gdb) p *f->face_cache->faces_by_id[18]
$45 = {
  id = 18, 
  gc = 0x8e094f0, 
  font = 0x916d168, 
  stipple = 0, 
  foreground = 2263842, 
  background = 16777215, 
  underline_color = 0, 
  overline_color = 0, 
  strike_through_color = 0, 
  box_color = 0, 
  font_name = 0x8ee0358 "-ETen-Fixed-Medium-R-Normal--24-230-75-75-C-240-Big5.ETen-0", 
  font_info_id = 1, 
  fontset = 21, 
  pixmap_w = 0, 
  pixmap_h = 0, 
  box_line_width = 0, 
  box = FACE_NO_BOX, 
  use_box_color_for_shadows_p = 0, 
  lface = {675056940, 1758776380, 675105332, 174, 675105332, 675105332, 
    675056556, 675056556, 1756208724, 1756707188, 675056556, 675056556, 
    675056556, 675056556, 1755877084, 675056556, 120}, 
  hash = 675027541, 
  charset = 0, 
  underline_p = 0, 
  overline_p = 0, 
  strike_through_p = 0, 
  foreground_defaulted_p = 0, 
  background_defaulted_p = 0, 
  underline_defaulted_p = 0, 
  overline_color_defaulted_p = 0, 
  strike_through_color_defaulted_p = 0, 
  box_color_defaulted_p = 0, 
  tty_bold_p = 0, 
  tty_dim_p = 0, 
  tty_underline_p = 0, 
  tty_alt_charset_p = 0, 
  tty_reverse_p = 0, 
  tty_blinking_p = 0, 
  colors_copied_bitwise_p = 1, 
  overstrike = 0, 
  next = 0x0, 
  prev = 0x8eaa9b0, 
  ascii_face = 0x8eaa9b0
}
(gdb) p *f->face_cache->faces_by_id[19]
$47 = {
  id = 19, 
  gc = 0x8f772b0, 
  font = 0x916d168, 
  stipple = 0, 
  foreground = 0, 
  background = 16777215, 
  underline_color = 0, 
  overline_color = 0, 
  strike_through_color = 0, 
  box_color = 0, 
  font_name = 0x8ee0358 "-ETen-Fixed-Medium-R-Normal--24-230-75-75-C-240-Big5.ETen-0", 
  font_info_id = 1, 
  fontset = 2, 
  pixmap_w = 0, 
  pixmap_h = 0, 
  box_line_width = 0, 
  box = FACE_NO_BOX, 
  use_box_color_for_shadows_p = 0, 
  lface = {675056940, 1758776380, 675105332, 174, 675105332, 675105332, 
    675056556, 675056556, 1751501428, 1756707188, 675056556, 675056556, 
    675056556, 675056556, 1755877084, 675105884, 120}, 
  hash = 675089964, 
  charset = 0, 
  underline_p = 0, 
  overline_p = 0, 
  strike_through_p = 0, 
  foreground_defaulted_p = 0, 
  background_defaulted_p = 0, 
  underline_defaulted_p = 0, 
  overline_color_defaulted_p = 0, 
  strike_through_color_defaulted_p = 0, 
  box_color_defaulted_p = 0, 
  tty_bold_p = 0, 
  tty_dim_p = 0, 
  tty_underline_p = 0, 
  tty_alt_charset_p = 0, 
  tty_reverse_p = 0, 
  tty_blinking_p = 0, 
  colors_copied_bitwise_p = 1, 
  overstrike = 0, 
  next = 0x0, 
  prev = 0x8bc67b8, 
  ascii_face = 0x8b2b498
}

> Hmmm.  The bug occured when you called what-cursor-position and
> Emacs tried to display the big5 character under the cursor in the
> echo area.  That means that the big5 charater was already displayed
> on the current frame.  Is it right?

Uh, oh, I no longer remember :-(


    Werner

      reply	other threads:[~2003-11-12 15:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-10  8:36 Emacs crash CVS 2003-10-17 Werner LEMBERG
2003-11-10 11:42 ` Kenichi Handa
2003-11-10 13:54   ` Werner LEMBERG
2003-11-11  0:15     ` Kenichi Handa
2003-11-11  5:29       ` Werner LEMBERG
2003-11-11 11:09         ` Kenichi Handa
2003-11-12 15:05           ` Werner LEMBERG [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031112.160517.135995619.wl@gnu.org \
    --to=wl@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).