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: Mon, 27 Jul 2009 10:44:23 +0900	[thread overview]
Message-ID: <E1MVFGJ-0002lc-C9@etlken> (raw)
In-Reply-To: <63C2A154B1708946B60726AFDBA00AC00676DBAF@ukmailemea01.misys.global.ad> (Simon.Marshall@misys.com)

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

> Breakpoint 3, Fsignal (error_symbol=5385409, data=6603597) at
> eval.c:1641
> 1641      register struct handler *allhandlers = handlerlist;
> (gdb) where
> #0  Fsignal (error_symbol=5385409, data=6603597) at eval.c:1641
> #1  0x002813e8 in xsignal (error_symbol=5385409, data=6603597) at
> eval.c:1751
> #2  0x00281480 in xsignal2 (error_symbol=5385409, arg1=5385985,
> arg2=5314561) at eval.c:1775
> #3  0x00259ab0 in wrong_type_argument (predicate=5385985, value=5314561)
> at data.c:115
> #4  0x000df1c8 in load_charset_map_from_vector (charset=0x369f30,
> vec=5314561, control_flag=2)
>     at charset.c:608
> #5  0x000df57c in load_charset (charset=0x369f30, control_flag=2) at
> charset.c:658
> #6  0x000e61b8 in encode_char (charset=0x369f30, c=192) at
> charset.c:1807

Ok, so the Fsignal call is because "*charset" is completely
broken (according to your previous mail).

> #7  0x003337c4 in xfont_chars_supported (chars=9656829, xfont=0xbf4200,
> encoding=0x369f30, 
>     repertory=0x0) at xfont.c:238
> #8  0x0033458c in xfont_supported_scripts (display=0xa0e000,
> fontname=0xc83dfb "--------0------", 
>     props=5454596, encoding=0x369f30) at xfont.c:328

Your previous backtrace didn't show that
xfont_supported_scripts is called.  It may be because the
previous backtrace was made by the emacs compiled with -O2.

Anyway, the above fontname has a strange format.  For such a
fontname, xfont_supported_scripts should not be called from
xfont_list_pattern.

> #9  0x00334e30 in xfont_list_pattern (display=0xa0e000, 
>     pattern=0xffbeca84 "-*-*-*-*-*-*-*-*-*-*-*-*-*-*", registry=5314561,
> script=5314561)
>     at xfont.c:466

Please set the breakpoint at xfont.c:414 with conditional:
  buf[1]=='-' && buf[2]=='-' && buf[3]=='-' && buf[4]=='-'
(I think that is enough for matching with "--------0------")

When emacs stops at that breakpoint, execute the code one
line by one (by "n" command) until the line 466 (i.e. the
call of xfont_supported_scripts) while checking why none of
"if" conditions that leads to "continue" aren't satisfied.

---
Kenichi Handa
handa@m17n.org





  parent reply	other threads:[~2009-07-27  1:44 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
     [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 [this message]
     [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=E1MVFGJ-0002lc-C9@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).