bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#3659: FW: 23.0.95; crash on set-frame-font


From: Kenichi Handa
Subject: bug#3659: FW: 23.0.95; crash on set-frame-font
Date: Thu, 23 Jul 2009 20:09:46 +0900

In article 
<63C2A154B1708946B60726AFDBA00AC006680307@ukmailemea01.misys.global.ad>, 
"Marshall, Simon" <Simon.Marshall@misys.com> writes:

> Guys, I can confirm it is this change that started the problem:
> 2009-05-21  Kenichi Handa  <handa@m17n.org>

>       * fontset.c (Qlatin): Don't make it static.

>       * xfont.c (xfont_chars_supported, xfont_supported_scripts):
>       New functions.
>       (xfont_scripts_cache, xfont_scratch_props): New variables.
>       (Qlatin, Vscalable_fonts_allowed): Extern it.
>       (xfont_list_pattern): Argument changed.  Callers changed.
>       Check Vscalable_fonts_allowed.  Check the support of a script.
>       (xfont_list): Don't reject a font spec with :script property.
>       (xfont_has_char): Fix setting of encoding.
>       (syms_of_xfont): Staticpro and initialize xfont_scripts_cache
> and
>       xfont_scratch_props.

> These were made at revisions 1.172 of src/fontset.c and 1.29 of
> src/xfont.c.

Thank you for tracking down the problem to here.

> If you need more info, what would you like me to do?

> The core dump is:

[...]
> Program received signal SIGSEGV, Segmentation fault.
> 0x0009890c in encode_char (charset=0xffbed244, c=192) at charset.c:1804
> 1804          deunifier = CHARSET_DEUNIFIER (charset);
> (gdb) where
> #0  0x0009890c in encode_char (charset=0xffbed244, c=192) at
> charset.c:1804
> #1  0x001bf1b0 in xfont_chars_supported (chars=8343645, xfont=0x866680, 
>     encoding=<value optimized out>, repertory=<value optimized out>) at
> xfont.c:275

Please show me the output of this gdb command.

(gdb) p *charset
(gdb) xcharset charset->id

Note that you must run gdb in the directory where the
executable Emacs was made.

---
Kenichi Handa
handa@m17n.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]