[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A crash in a gnus group with indic script in content and headers
From: |
Manoj Srivastava |
Subject: |
Re: A crash in a gnus group with indic script in content and headers |
Date: |
Wed, 22 Oct 2008 23:52:57 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) (x86_64-unknown-linux-gnu) |
On Wed, Oct 22 2008, Kenichi Handa wrote:
> Ummm, I need information about the combination of font and
> character that crashes Emacs.
>
> When you get a crash as this:
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7f1c878fc770 (LWP 22242)]
> 0x00000000006fbea6 in ftfont_otf_features (gsub_gpos=0x65c3680) at
> /usr/local/git/emacs/src/ftfont.c:1365
> 1365 OTF_TAG_SYM (sym,
> gsub_gpos->FeatureList.Feature[l].FeatureTag);
> (gdb) bt
> #0 0x00000000006fbea6 in ftfont_otf_features (gsub_gpos=0x65c3680) at
> /usr/local/git/emacs/src/ftfont.c:1365
> #1 0x00000000006fc169 in ftfont_otf_capability (font=0x2692710) at
> /usr/local/git/emacs/src/ftfont.c:1395
> #2 0x00000000006878f3 in font_match_p (spec=24475892, font=40445716) at
> /usr/local/git/emacs/src/font.c:2492
>
> Please try these commands:
>
> (gdb) up 2
> (gdb) p font
> (gdb) pr <- this prints the font name
> (gdb) up 2
> (gdb) p/x c <- this prints the character code in hex.
I think the font name is not in font, that seems to be an
integer. I have left the gdb session running, in case you want me to
try something else. Now, I have tried inserting the character a buffer
in another session, and I am inserting that character in this message;
द
--8<---------------cut here---------------start------------->8---
character: द (2342, #o4446, #x926)
preferred charset: unicode (Unicode (ISO10646))
code point: 0x0926
syntax: w which means: word
category: i:Indian
buffer code: #xE0 #xA4 #xA6
file code: #xE0 #xA4 #xA6 (encoded by coding system utf-8-emacs)
display: composed to form "द" (see below)
Composed using this font:
xft:-unknown-gargi-normal-normal-normal-*-14-*-*-*-*-0-iso10646-1
by these glyphs:
[0 0 2342 137 7 0 7 9 1 nil]
Character code properties: customize what to show
name: DEVANAGARI LETTER DA
general-category: Lo (Letter, Other)
There are text properties here:
fontified t
--8<---------------cut here---------------end--------------->8---
So I am reasonably sure the font is
xft:-unknown-gargi-normal-normal-normal-*-14-*-*-*-*-0-iso10646-1
On Debian GNU/Linux, this is found in the package:
ttf-devanagari-fonts: /usr/share/fonts/truetype/ttf-devanagari-fonts/gargi.ttf
manoj
Program received signal SIGSEGV, Segmentation fault.
0x00000000006fbdde in ftfont_otf_features (gsub_gpos=0x6607780) at
/usr/local/git/emacs/src/ftfont.c:1
(gdb) p l
$1 = 0
(gdb) p k
$2 = 21329
(gdb) p gsub_gpos->FeatureList.FeatureCount
$3 = 0
(gdb) p otf_langsys->FeatureCount
$4 = 21330
(gdb) print font
$5 = 38342148
(gdb) ptype font
type = long int
(gdb) p/x c
$8 = 0x926
#0 0x00000000006fbdde in ftfont_otf_features (gsub_gpos=0x6607780) at
/usr/local/git/emacs/src/ftfont.c:1365
#1 0x00000000006fc0a1 in ftfont_otf_capability (font=0x2490e00) at
/usr/local/git/emacs/src/ftfont.c:1395
#2 0x00000000006879c3 in font_match_p (spec=26589316, font=38342148) at
/usr/local/git/emacs/src/font.c:2492
#3 0x000000000050974c in reorder_font_vector (font_group=91671733,
font=0x2490e00) at /usr/local/git/emacs/src/fontset.c:420
#4 0x0000000000509cb8 in fontset_find_font (fontset=109061476, c=2342,
face=0x6a0abd0, id=-1, fallback=0) at /usr/local/git/emacs/src/fontset.c:535
#5 0x000000000050a04e in fontset_font (fontset=111193604, c=2342,
face=0x6a0abd0, id=-1) at /usr/local/git/emacs/src/fontset.c:678
#6 0x000000000050aa71 in font_for_char (face=0x6a0abd0, c=2342, pos=651,
object=12340913) at /usr/local/git/emacs/src/fontset.c:984
#7 0x000000000068b995 in font_range (pos=652, limit=0x7fffced06308,
w=0x3363420, face=0x6a0abd0, string=12340913) at
/usr/local/git/emacs/src/font.c:3712
#8 0x00000000006eff14 in autocmp_chars (cft_element=31749221, charpos=651,
bytepos=693, limit=3900, win=0x3363420, face=0x6a0abd0, string=12340913) at
/usr/local/git/emacs/src/composite.c:948
#9 0x00000000006f0d9c in composition_reseat_it (cmp_it=0x7fffced07400,
charpos=651, bytepos=693, endpos=3900, w=0x3363420, face=0x6a0abd0,
string=12340913) at /usr/local/git/emacs/src/composite.c:1112
#10 0x000000000043e499 in next_element_from_buffer (it=0x7fffced06e80) at
/usr/local/git/emacs/src/xdisp.c:6496
#11 0x000000000043bbf0 in get_next_display_element (it=0x7fffced06e80) at
/usr/local/git/emacs/src/xdisp.c:5655
#12 0x0000000000458388 in display_line (it=0x7fffced06e80) at
/usr/local/git/emacs/src/xdisp.c:16578
#13 0x000000000045098a in try_window (window=53883940, pos={charpos = 1,
bytepos = 1}, check_margins=0) at /usr/local/git/emacs/src/xdisp.c:14042
#14 0x000000000044ee00 in redisplay_window (window=53883940, just_this_one_p=0)
at /usr/local/git/emacs/src/xdisp.c:13499
#15 0x000000000044ae11 in redisplay_window_0 (window=53883940) at
/usr/local/git/emacs/src/xdisp.c:12255
#16 0x000000000066dfcd in internal_condition_case_1 (bfun=0x44add5
<redisplay_window_0>, arg=53883940, handlers=12699573, hfun=0x44adaa
<redisplay_window_error>) at /usr/local/git/emacs/src/eval.c:1559
#17 0x000000000044ad8b in redisplay_windows (window=53883940) at
/usr/local/git/emacs/src/xdisp.c:12234
#18 0x000000000044ad5c in redisplay_windows (window=53844324) at
/usr/local/git/emacs/src/xdisp.c:12228
#19 0x0000000000449f3e in redisplay_internal (preserve_echo_area=0) at
/usr/local/git/emacs/src/xdisp.c:11810
#20 0x0000000000447d40 in redisplay () at /usr/local/git/emacs/src/xdisp.c:11016
#21 0x00000000005d089c in read_char (commandflag=1, nmaps=4,
maps=0x7fffced09200, prev_event=12340913, used_mouse_menu=0x7fffced09534,
end_time=0x0) at /usr/local/git/emacs/src/keyboard.c:2649
#22 0x00000000005dd724 in read_key_sequence (keybuf=0x7fffced098a0, bufsize=30,
prompt=12340913, dont_downcase_last=0, can_return_switch_frame=1,
fix_current_buffer=1) at /usr/local/git/emacs/src/keyboard.c:9343
#23 0x00000000005cd6d5 in command_loop_1 () at
/usr/local/git/emacs/src/keyboard.c:1621
#24 0x000000000066de31 in internal_condition_case (bfun=0x5cd33b
<command_loop_1>, handlers=12428177, hfun=0x5ccca3 <cmd_error>) at
/usr/local/git/emacs/src/eval.c:1511
#25 0x00000000005cd05a in command_loop_2 () at
/usr/local/git/emacs/src/keyboard.c:1338
#26 0x000000000066d7e3 in internal_catch (tag=12409473, func=0x5cd040
<command_loop_2>, arg=12340913) at /usr/local/git/emacs/src/eval.c:1247
#27 0x00000000005cd01a in command_loop () at
/usr/local/git/emacs/src/keyboard.c:1317
#28 0x00000000005cc7e9 in recursive_edit_1 () at
/usr/local/git/emacs/src/keyboard.c:942
#29 0x00000000005cc98c in Frecursive_edit () at
/usr/local/git/emacs/src/keyboard.c:1004
#30 0x00000000005caf14 in main (argc=1, argv=0x7fffced0a1c8) at
/usr/local/git/emacs/src/emacs.c:1723
--
jogger, n.: An odd sort of person with a thing for pain.
Manoj Srivastava <address@hidden> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
- A crash in a gnus group with indic script in content and headers, Manoj Srivastava, 2008/10/21
- Re: A crash in a gnus group with indic script in content and headers, Manoj Srivastava, 2008/10/21
- Re: A crash in a gnus group with indic script in content and headers, Kenichi Handa, 2008/10/21
- Re: A crash in a gnus group with indic script in content and headers, Manoj Srivastava, 2008/10/21
- Re: A crash in a gnus group with indic script in content and headers, Kenichi Handa, 2008/10/21
- Re: A crash in a gnus group with indic script in content and headers, Manoj Srivastava, 2008/10/21
- Re: A crash in a gnus group with indic script in content and headers, Kenichi Handa, 2008/10/22
- Re: A crash in a gnus group with indic script in content and headers,
Manoj Srivastava <=
- Re: A crash in a gnus group with indic script in content and headers, Kenichi Handa, 2008/10/23
- Re: A crash in a gnus group with indic script in content and headers, Manoj Srivastava, 2008/10/23
- Re: A crash in a gnus group with indic script in content and headers, Manoj Srivastava, 2008/10/24
- Re: A crash in a gnus group with indic script in content and headers, Kenichi Handa, 2008/10/24
- Re: A crash in a gnus group with indic script in content and headers, Manoj Srivastava, 2008/10/24