unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: "Marshall, Simon" <Simon.Marshall@misys.com>
Cc: cyd@stupidchicken.com, 3659@emacsbugs.donarmstrong.com
Subject: bug#3659: FW: 23.0.95; crash on set-frame-font
Date: Thu, 23 Jul 2009 20:09:46 +0900	[thread overview]
Message-ID: <E1MTwBG-0006IL-Sz@etlken> (raw)
In-Reply-To: <63C2A154B1708946B60726AFDBA00AC006680307@ukmailemea01.misys.global.ad> (Simon.Marshall@misys.com)

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	other threads:[~2009-07-23 11:09 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <63C2A154B1708946B60726AFDBA00AC005E5EC5A@ukmailemea01.misys.global.ad>
     [not found] ` <87iqinxbs7.fsf@stupidchicken.com>
     [not found]   ` <63C2A154B1708946B60726AFDBA00AC005EABBA6@ukmailemea01.misys.global.ad>
     [not found]     ` <87fxdp4ssu.fsf@stupidchicken.com>
     [not found]       ` <E1MJdlh-0002uT-DA@etlken>
2009-06-25  3:35         ` bug#3659: FW: 23.0.95; crash on set-frame-font Chong Yidong
2009-06-25  6:16           ` Kenichi Handa
2009-06-25 18:32             ` Glenn Morris
2009-06-27  1:13               ` Kenichi Handa
2009-06-27  2:45                 ` Glenn Morris
2009-06-27  3:18                   ` Chong Yidong
2009-06-28  1:11                     ` Glenn Morris
2009-06-28  5:24                       ` Chong Yidong
2009-06-29  2:24                   ` Kenichi Handa
2009-06-29  6:44                     ` Glenn Morris
2009-06-29  7:24                       ` Kenichi Handa
2009-06-29 18:34                         ` Glenn Morris
2009-06-30  0:45                           ` Kenichi Handa
2009-06-30 22:26                             ` Glenn Morris
2009-07-09  8:25                               ` Marshall, Simon
2009-07-09 14:11                                 ` Chong Yidong
2009-07-09 14:38                                   ` Marshall, Simon
2009-07-22 12:21                                   ` Marshall, Simon
2009-07-22 13:58                                     ` Chong Yidong
2009-07-23  9:22                                       ` Marshall, Simon
2009-07-23 11:09                                         ` Kenichi Handa [this message]
     [not found]                                           ` <63C2A154B1708946B60726AFDBA00AC00668060C@ukmailemea01.misys.global.ad>
     [not found]                                             ` <E1MU9G3-0008Hv-HO@etlke! ! ! ! ! n >
     [not found]                                             ` <E1MU9G3-0008Hv-HO@etlke! ! ! ! n>
     [not found]                                             ` <E1MU9G3-0008Hv-HO@etlke! ! ! n>
     [not found]                                             ` <E1MU9G3-0008Hv-HO@etlke! ! n>
2009-07-24  1:07                                             ` Kenichi Handa
2009-07-24  8:31                                               ` Marshall, Simon
2009-07-24 11:08                                                 ` Kenichi Handa
2009-07-24 12:09                                                   ` Marshall, Simon
2009-07-24 12:31                                                     ` Kenichi Handa
     [not found]                                                       ` <63C2A154B1708946B60726AFDBA00AC00676DBAF@ukmailemea01.misys.global.ad>
2009-07-24 15:28                                                         ` Chong Yidong
2009-07-24 16:01                                                           ` Marshall, Simon
2009-07-26 19:35                                                             ` Chong Yidong
2009-07-27  9:48                                                               ` Marshall, Simon
2009-07-27  1:44                                                         ` Kenichi Handa
     [not found]                                                           ` <63C2A154B1708946B60726AFDBA00AC0067E980A@ukmailemea01.misys.global.ad>
2009-07-27 16:59                                                             ` Chong Yidong
2009-07-27 17:02                                                             ` Chong Yidong
2009-07-28  2:08                                                             ` Kenichi Handa
2009-07-28  8:38                                                               ` Marshall, Simon
2009-06-27  2:48 Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2009-06-27  3:08 Chong Yidong
2009-06-28  1:04 ` Glenn Morris

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=E1MTwBG-0006IL-Sz@etlken \
    --to=handa@m17n.org \
    --cc=3659@emacsbugs.donarmstrong.com \
    --cc=Simon.Marshall@misys.com \
    --cc=cyd@stupidchicken.com \
    /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).