all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* A crash in a gnus group with indic script  in content and headers
@ 2008-10-21  4:28 Manoj Srivastava
  2008-10-21  5:04 ` Manoj Srivastava
  2008-10-21  5:57 ` Kenichi Handa
  0 siblings, 2 replies; 13+ messages in thread
From: Manoj Srivastava @ 2008-10-21  4:28 UTC (permalink / raw)
  To: emacs-devel

Hi,

        I see these crashes frequently in indian mailing lists via
 gmane -- English language mailing lists (probably because of some indic
 language content -- I have to delete the messages, usually).

        I think this is a configuration option, since the emacs-snapshot
 package is not affected. I compile with:
--8<---------------cut here---------------start------------->8---
test ! -e Makefile || make maintainer-clean
../emacs/configure --with-x-toolkit=gtk --with-dbus --with-gpm           \
  --with-pop=yes --with-xpm --with-jpeg --with-tiff --with-gif --with-png\
    --with-x --with-xft --with-freetype --with-rsvg --with-libotf 
make bootstrap
--8<---------------cut here---------------end--------------->8---

        This is from the newsgroup:
  `nntp+news.gmane.org:gmane.user-groups.linux.mumbai'. The gdb trace is
  below.

        Should I try a run compiled with --no-opt?

--8<---------------cut here---------------start------------->8---
(gdb) run
Starting program: /usr/local/git/build/src/emacs 
[Thread debugging using libthread_db enabled]
[New Thread 0x7f74bbe48770 (LWP 8898)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f74bbe48770 (LWP 8898)]
0x00000000005bb6fc in ftfont_otf_features (gsub_gpos=0x62633f0) at /usr/local/git/emacs/src/ftfont.c:1365
1365                  OTF_TAG_SYM (sym, gsub_gpos->FeatureList.Feature[l].FeatureTag);
(gdb) bt
#0  0x00000000005bb6fc in ftfont_otf_features (gsub_gpos=0x62633f0) at /usr/local/git/emacs/src/ftfont.c:1365
#1  0x00000000005bb961 in ftfont_otf_capability (font=<value optimized out>)
    at /usr/local/git/emacs/src/ftfont.c:1395
#2  0x000000000056ccee in font_match_p (spec=<value optimized out>, font=47263988)
    at /usr/local/git/emacs/src/font.c:2492
#3  0x00000000004bd43b in fontset_find_font (fontset=128546404, c=2342, face=0x73b0bb0, id=-1, 
    fallback=113915056) at /usr/local/git/emacs/src/fontset.c:420
#4  0x00000000004bd8c4 in fontset_font (fontset=121310692, c=2342, face=0x73b0bb0, id=-1)
    at /usr/local/git/emacs/src/fontset.c:678
#5  0x00000000004bdb30 in font_for_char (face=0x73b0bb0, c=2342, pos=<value optimized out>, 
    object=<value optimized out>) at /usr/local/git/emacs/src/fontset.c:984
#6  0x000000000056d1e8 in font_range (pos=642, limit=0x7fffc3f8af68, w=<value optimized out>, 
    face=0x73b0bb0, string=10997425) at /usr/local/git/emacs/src/font.c:3712
#7  0x00000000005b31f6 in autocmp_chars (cft_element=30407376, charpos=642, bytepos=684, 
    limit=<value optimized out>, win=0x7301ae0, face=0x73b0bb0, string=10997425)
    at /usr/local/git/emacs/src/composite.c:948
#8  0x00000000005b7032 in composition_reseat_it (cmp_it=0x7fffc3f8c440, charpos=642, bytepos=684, 
    endpos=3891, w=0x7301ae0, face=0x73b0bb0, string=10997425) at /usr/local/git/emacs/src/composite.c:1112
#9  0x000000000043e91a in next_element_from_buffer (it=0x7fffc3f8bec0)
    at /usr/local/git/emacs/src/xdisp.c:6496
#10 0x000000000043b9dd in get_next_display_element (it=0x7fffc3f8bec0)
    at /usr/local/git/emacs/src/xdisp.c:5655
#11 0x0000000000441d4a in display_line (it=0x7fffc3f8bec0) at /usr/local/git/emacs/src/xdisp.c:16578
#12 0x0000000000448f48 in try_window (window=<value optimized out>, pos=<value optimized out>, 
    check_margins=0) at /usr/local/git/emacs/src/xdisp.c:14042
#13 0x000000000044efb2 in redisplay_window (window=120593124, just_this_one_p=0)
    at /usr/local/git/emacs/src/xdisp.c:13499
#14 0x0000000000451724 in redisplay_window_0 (window=140736481242048)
    at /usr/local/git/emacs/src/xdisp.c:12255
#15 0x000000000055bb78 in internal_condition_case_1 (bfun=0x451700 <redisplay_window_0>, arg=120593124, 
    handlers=11356085, hfun=0x427f20 <redisplay_window_error>) at /usr/local/git/emacs/src/eval.c:1559
#16 0x000000000043994b in redisplay_windows (window=4) at /usr/local/git/emacs/src/xdisp.c:12234
#17 0x00000000004398fd in redisplay_windows (window=4) at /usr/local/git/emacs/src/xdisp.c:12228
#18 0x0000000000449b75 in redisplay_internal (preserve_echo_area=<value optimized out>)
    at /usr/local/git/emacs/src/xdisp.c:11810
#19 0x00000000004f7051 in read_char (commandflag=1, nmaps=4, maps=0x7fffc3f8ed80, prev_event=10997425, 
    used_mouse_menu=0x7fffc3f8eeac, end_time=0x0) at /usr/local/git/emacs/src/keyboard.c:2649
#20 0x00000000004f9785 in read_key_sequence (keybuf=0x7fffc3f8ef30, bufsize=30, prompt=10997425, 
    dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1)
    at /usr/local/git/emacs/src/keyboard.c:9343
#21 0x00000000004fbb0a in command_loop_1 () at /usr/local/git/emacs/src/keyboard.c:1621
#22 0x000000000055be3f in internal_condition_case (bfun=0x4fb8f0 <command_loop_1>, handlers=11084689, 
    hfun=0x4f5830 <cmd_error>) at /usr/local/git/emacs/src/eval.c:1511
#23 0x00000000004f4c9e in command_loop_2 () at /usr/local/git/emacs/src/keyboard.c:1338
#24 0x000000000055bf57 in internal_catch (tag=<value optimized out>, func=0x4f4c80 <command_loop_2>, 
    arg=10997425) at /usr/local/git/emacs/src/eval.c:1247
#25 0x00000000004f5670 in command_loop () at /usr/local/git/emacs/src/keyboard.c:1317
#26 0x00000000004f5a4a in recursive_edit_1 () at /usr/local/git/emacs/src/keyboard.c:942
#27 0x00000000004f5bc4 in Frecursive_edit () at /usr/local/git/emacs/src/keyboard.c:1004
#28 0x00000000004e89f9 in main (argc=1, argv=0x7fffc3f8f748) at /usr/local/git/emacs/src/emacs.c:1728
(gdb) quit
--8<---------------cut here---------------end--------------->8---

        manoj
-- 
Password:
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C





^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: A crash in a gnus group with indic script in content and headers
  2008-10-21  4:28 A crash in a gnus group with indic script in content and headers Manoj Srivastava
@ 2008-10-21  5:04 ` Manoj Srivastava
  2008-10-21  5:57 ` Kenichi Handa
  1 sibling, 0 replies; 13+ messages in thread
From: Manoj Srivastava @ 2008-10-21  5:04 UTC (permalink / raw)
  To: emacs-devel

Hi,

        Here is the backtrace from an unoptimized build.
--8<---------------cut here---------------start------------->8---
(gdb) run
Starting program: /usr/local/git/build/src/emacs 
[Thread debugging using libthread_db enabled]
[New Thread 0x7f1c878fc770 (LWP 22242)]

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
#3  0x0000000000509624 in reorder_font_vector (font_group=96117029, font=0x2692710)
    at /usr/local/git/emacs/src/fontset.c:420
#4  0x0000000000509b90 in fontset_find_font (fontset=113886852, c=2342, face=0x6829540, id=-1, fallback=0)
    at /usr/local/git/emacs/src/fontset.c:535
#5  0x0000000000509f26 in fontset_font (fontset=109221748, c=2342, face=0x6829540, id=-1)
    at /usr/local/git/emacs/src/fontset.c:678
#6  0x000000000050a949 in font_for_char (face=0x6829540, c=2342, pos=642, object=12340913)
    at /usr/local/git/emacs/src/fontset.c:984
#7  0x000000000068b8c5 in font_range (pos=643, limit=0x7fff8fa3f338, w=0x261b9c0, face=0x6829540, 
    string=12340913) at /usr/local/git/emacs/src/font.c:3712
#8  0x00000000006effdc in autocmp_chars (cft_element=31766261, charpos=642, bytepos=684, limit=3891, 
    win=0x261b9c0, face=0x6829540, string=12340913) at /usr/local/git/emacs/src/composite.c:948
#9  0x00000000006f0e64 in composition_reseat_it (cmp_it=0x7fff8fa40430, charpos=642, bytepos=684, 
    endpos=3891, w=0x261b9c0, face=0x6829540, string=12340913) at /usr/local/git/emacs/src/composite.c:1112
#10 0x000000000043e499 in next_element_from_buffer (it=0x7fff8fa3feb0)
    at /usr/local/git/emacs/src/xdisp.c:6496
#11 0x000000000043bbf0 in get_next_display_element (it=0x7fff8fa3feb0)
    at /usr/local/git/emacs/src/xdisp.c:5655
#12 0x0000000000458388 in display_line (it=0x7fff8fa3feb0) at /usr/local/git/emacs/src/xdisp.c:16578
#13 0x000000000045098a in try_window (window=39958980, pos={charpos = 1, bytepos = 1}, check_margins=0)
    at /usr/local/git/emacs/src/xdisp.c:14042
#14 0x000000000044ee00 in redisplay_window (window=39958980, just_this_one_p=0)
    at /usr/local/git/emacs/src/xdisp.c:13499
#15 0x000000000044ae11 in redisplay_window_0 (window=39958980) at /usr/local/git/emacs/src/xdisp.c:12255
#16 0x000000000066defd in internal_condition_case_1 (bfun=0x44add5 <redisplay_window_0>, arg=39958980, 
    handlers=12699573, hfun=0x44adaa <redisplay_window_error>) at /usr/local/git/emacs/src/eval.c:1559
#17 0x000000000044ad8b in redisplay_windows (window=39958980) at /usr/local/git/emacs/src/xdisp.c:12234
#18 0x000000000044ad5c in redisplay_windows (window=19200980) 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 0x00000000005d0784 in read_char (commandflag=1, nmaps=4, maps=0x7fff8fa42230, prev_event=12340913, 
    used_mouse_menu=0x7fff8fa42564, end_time=0x0) at /usr/local/git/emacs/src/keyboard.c:2649
#22 0x00000000005dd60c in read_key_sequence (keybuf=0x7fff8fa428d0, 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 0x00000000005cd5bd in command_loop_1 () at /usr/local/git/emacs/src/keyboard.c:1621
#24 0x000000000066dd61 in internal_condition_case (bfun=0x5cd223 <command_loop_1>, handlers=12428177, 
    hfun=0x5ccb8b <cmd_error>) at /usr/local/git/emacs/src/eval.c:1511
#25 0x00000000005ccf42 in command_loop_2 () at /usr/local/git/emacs/src/keyboard.c:1338
#26 0x000000000066d713 in internal_catch (tag=12409473, func=0x5ccf28 <command_loop_2>, arg=12340913)
    at /usr/local/git/emacs/src/eval.c:1247
#27 0x00000000005ccf02 in command_loop () at /usr/local/git/emacs/src/keyboard.c:1317
#28 0x00000000005cc6d1 in recursive_edit_1 () at /usr/local/git/emacs/src/keyboard.c:942
#29 0x00000000005cc874 in Frecursive_edit () at /usr/local/git/emacs/src/keyboard.c:1004
#30 0x00000000005cadfb in main (argc=1, argv=0x7fff8fa431f8) at /usr/local/git/emacs/src/emacs.c:1728
(gdb) quit
The program is running.  Exit anyway? (y or n) y
--8<---------------cut here---------------end--------------->8---

        manoj
-- 
Life is too short to stuff a mushroom. Storm Jameson
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C





^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: A crash in a gnus group with indic script in content and headers
  2008-10-21  4:28 A crash in a gnus group with indic script in content and headers Manoj Srivastava
  2008-10-21  5:04 ` Manoj Srivastava
@ 2008-10-21  5:57 ` Kenichi Handa
  2008-10-21  6:19   ` Manoj Srivastava
  1 sibling, 1 reply; 13+ messages in thread
From: Kenichi Handa @ 2008-10-21  5:57 UTC (permalink / raw)
  To: Manoj Srivastava; +Cc: emacs-devel

In article <87mygy607z.fsf@anzu.internal.golden-gryphon.com>, Manoj Srivastava <srivasta@ieee.org> writes:

> Hi,
>         I see these crashes frequently in indian mailing lists via
>  gmane -- English language mailing lists (probably because of some indic
>  language content -- I have to delete the messages, usually).
[...]
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7f74bbe48770 (LWP 8898)]
> 0x00000000005bb6fc in ftfont_otf_features (gsub_gpos=0x62633f0) at /usr/local/git/emacs/src/ftfont.c:1365
> 1365                  OTF_TAG_SYM (sym, gsub_gpos->FeatureList.Feature[l].FeatureTag);

Here, what is the value of these variables.

(gdb) p l
(gdb) p k
(gdb) p gsub_gpos->FeatureList.FeatureCount
(gdb) p otf_langsys->FeatureCount

And, which font is used for the character U+926 (2342)?

---
Kenichi Handa
handa@ni.aist.go.jp




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: A crash in a gnus group with indic script in content and headers
  2008-10-21  5:57 ` Kenichi Handa
@ 2008-10-21  6:19   ` Manoj Srivastava
  2008-10-21  7:43     ` Kenichi Handa
  0 siblings, 1 reply; 13+ messages in thread
From: Manoj Srivastava @ 2008-10-21  6:19 UTC (permalink / raw)
  To: emacs-devel

On Tue, Oct 21 2008, Kenichi Handa wrote:

> In article <87mygy607z.fsf@anzu.internal.golden-gryphon.com>, Manoj Srivastava <srivasta@ieee.org> writes:
>
>> Hi,
>>         I see these crashes frequently in indian mailing lists via
>>  gmane -- English language mailing lists (probably because of some indic
>>  language content -- I have to delete the messages, usually).
> [...]
>> Program received signal SIGSEGV, Segmentation fault.
>> [Switching to Thread 0x7f74bbe48770 (LWP 8898)]
>> 0x00000000005bb6fc in ftfont_otf_features (gsub_gpos=0x62633f0) at /usr/local/git/emacs/src/ftfont.c:1365
>> 1365                  OTF_TAG_SYM (sym, gsub_gpos->FeatureList.Feature[l].FeatureTag);
>
> Here, what is the value of these variables.
>
> (gdb) p l
> (gdb) p k
> (gdb) p gsub_gpos->FeatureList.FeatureCount
> (gdb) p otf_langsys->FeatureCount
>
> And, which font is used for the character U+926 (2342)?

--8<---------------cut here---------------start------------->8---
        character: ⍂ (9026, #o21502, #x2342)
preferred charset: unicode (Unicode (ISO10646))
       code point: 0x2342
           syntax: . 	which means: punctuation
      buffer code: #xE2 #x8D #x82
        file code: #xE2 #x8D #x82 (encoded by coding system utf-8)
          display: by this font (glyph code)
    xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-14-*-*-*-m-0-iso10646-1 (#x810)

Character code properties: customize what to show
  name: APL FUNCTIONAL SYMBOL QUAD BACKSLASH
  general-category: So (Symbol, Other)

There are text properties here:
  fontified            t
--8<---------------cut here---------------end--------------->8---

        The values are show inline.
--8<---------------cut here---------------start------------->8---
(gdb) run
Starting program: /usr/local/git/build/src/emacs 
[Thread debugging using libthread_db enabled]
[New Thread 0x7ff631fdd770 (LWP 25789)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ff631fdd770 (LWP 25789)]
0x00000000006fbea6 in ftfont_otf_features (gsub_gpos=0x70c2880) at /usr/local/git/emacs/src/ftfont.c:1365
1365                  OTF_TAG_SYM (sym, gsub_gpos->FeatureList.Feature[l].FeatureTag);
(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) p gsub_gpos->FeatureList.Feature[l].FeatureTag
Cannot access memory at address 0x0
(gdb) bt
#0  0x00000000006fbea6 in ftfont_otf_features (gsub_gpos=0x70c2880) at /usr/local/git/emacs/src/ftfont.c:1365
#1  0x00000000006fc169 in ftfont_otf_capability (font=0x5bd94a0) at /usr/local/git/emacs/src/ftfont.c:1395
#2  0x00000000006878f3 in font_match_p (spec=24475892, font=96310436) at /usr/local/git/emacs/src/font.c:2492
#3  0x0000000000509624 in reorder_font_vector (font_group=99124981, font=0x5bd94a0)
    at /usr/local/git/emacs/src/fontset.c:420
#4  0x0000000000509b90 in fontset_find_font (fontset=93593060, c=2350, face=0x5d43f60, id=-1, fallback=0)
    at /usr/local/git/emacs/src/fontset.c:535
#5  0x0000000000509f26 in fontset_font (fontset=90494900, c=2350, face=0x5d43f60, id=-1)
    at /usr/local/git/emacs/src/fontset.c:678
#6  0x000000000050a949 in font_for_char (face=0x5d43f60, c=2350, pos=1346, object=12340913)
    at /usr/local/git/emacs/src/fontset.c:984
#7  0x000000000068b8c5 in font_range (pos=1347, limit=0x7fff3a11da18, w=0x573d4b0, face=0x5d43f60, 
    string=12340913) at /usr/local/git/emacs/src/font.c:3712
#8  0x00000000006effdc in autocmp_chars (cft_element=31766261, charpos=1346, bytepos=1346, limit=1762, 
    win=0x573d4b0, face=0x5d43f60, string=12340913) at /usr/local/git/emacs/src/composite.c:948
#9  0x00000000006f0e64 in composition_reseat_it (cmp_it=0x7fff3a11eb10, charpos=1346, bytepos=1346, 
    endpos=1762, w=0x573d4b0, face=0x5d43f60, string=12340913) at /usr/local/git/emacs/src/composite.c:1112
#10 0x000000000043e499 in next_element_from_buffer (it=0x7fff3a11e590)
    at /usr/local/git/emacs/src/xdisp.c:6496
#11 0x000000000043bbf0 in get_next_display_element (it=0x7fff3a11e590)
    at /usr/local/git/emacs/src/xdisp.c:5655
#12 0x0000000000458388 in display_line (it=0x7fff3a11e590) at /usr/local/git/emacs/src/xdisp.c:16578
#13 0x000000000045098a in try_window (window=91477172, pos={charpos = 1, bytepos = 1}, check_margins=1)
    at /usr/local/git/emacs/src/xdisp.c:14042
#14 0x000000000044f43f in redisplay_window (window=91477172, just_this_one_p=0)
    at /usr/local/git/emacs/src/xdisp.c:13665
#15 0x000000000044ae11 in redisplay_window_0 (window=91477172) at /usr/local/git/emacs/src/xdisp.c:12255
#16 0x000000000066defd in internal_condition_case_1 (bfun=0x44add5 <redisplay_window_0>, arg=91477172, 
    handlers=12699573, hfun=0x44adaa <redisplay_window_error>) at /usr/local/git/emacs/src/eval.c:1559
#17 0x000000000044ad8b in redisplay_windows (window=91477172) at /usr/local/git/emacs/src/xdisp.c:12234
#18 0x000000000044ad5c in redisplay_windows (window=115538948) 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 0x00000000005d0784 in read_char (commandflag=1, nmaps=4, maps=0x7fff3a120910, prev_event=12340913, 
    used_mouse_menu=0x7fff3a120c44, end_time=0x0) at /usr/local/git/emacs/src/keyboard.c:2649
#22 0x00000000005dd60c in read_key_sequence (keybuf=0x7fff3a120fb0, 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 0x00000000005cd5bd in command_loop_1 () at /usr/local/git/emacs/src/keyboard.c:1621
#24 0x000000000066dd61 in internal_condition_case (bfun=0x5cd223 <command_loop_1>, handlers=12428177, 
    hfun=0x5ccb8b <cmd_error>) at /usr/local/git/emacs/src/eval.c:1511
#25 0x00000000005ccf42 in command_loop_2 () at /usr/local/git/emacs/src/keyboard.c:1338
#26 0x000000000066d713 in internal_catch (tag=12409473, func=0x5ccf28 <command_loop_2>, arg=12340913)
    at /usr/local/git/emacs/src/eval.c:1247
#27 0x00000000005ccf02 in command_loop () at /usr/local/git/emacs/src/keyboard.c:1317
#28 0x00000000005cc6d1 in recursive_edit_1 () at /usr/local/git/emacs/src/keyboard.c:942
#29 0x00000000005cc874 in Frecursive_edit () at /usr/local/git/emacs/src/keyboard.c:1004
#30 0x00000000005cadfb in main (argc=1, argv=0x7fff3a1218d8) at /usr/local/git/emacs/src/emacs.c:1728
(gdb) q
--8<---------------cut here---------------end--------------->8---


-- 
Being popular is important.  Otherwise people might not like you.
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C





^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: A crash in a gnus group with indic script in content and headers
  2008-10-21  6:19   ` Manoj Srivastava
@ 2008-10-21  7:43     ` Kenichi Handa
  2008-10-21 13:47       ` Manoj Srivastava
  0 siblings, 1 reply; 13+ messages in thread
From: Kenichi Handa @ 2008-10-21  7:43 UTC (permalink / raw)
  To: Manoj Srivastava; +Cc: emacs-devel

In article <87y70izczb.fsf@anzu.internal.golden-gryphon.com>, Manoj Srivastava <srivasta@ieee.org> writes:

> > And, which font is used for the character U+926 (2342)?

> --8<---------------cut here---------------start------------->8---
>         character: ⍂ (9026, #o21502, #x2342)
> preferred charset: unicode (Unicode (ISO10646))
>        code point: 0x2342
>            syntax: . 	which means: punctuation
>       buffer code: #xE2 #x8D #x82
>         file code: #xE2 #x8D #x82 (encoded by coding system utf-8)
>           display: by this font (glyph code)
>     xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-14-*-*-*-m-0-iso10646-1 (#x810)

Ah, no.  What I wanted to know is for the character #x926,
not for #x2342.

---
Kenichi Handa
handa@ni.aist.go.jp




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: A crash in a gnus group with indic script in content and headers
  2008-10-21  7:43     ` Kenichi Handa
@ 2008-10-21 13:47       ` Manoj Srivastava
  2008-10-23  2:42         ` Kenichi Handa
  0 siblings, 1 reply; 13+ messages in thread
From: Manoj Srivastava @ 2008-10-21 13:47 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-devel

On Tue, Oct 21 2008, Kenichi Handa wrote:


> Ah, no.  What I wanted to know is for the character #x926,
> not for #x2342.

        Ah, sorry. It was late at night. I can insert that character,
 and it is not crashing my Emacs now, as it does when I visit that
 posting.
--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---

        manoj
-- 
A penny saved is a penny to squander. Ambrose Bierce
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: A crash in a gnus group with indic script in content and headers
  2008-10-21 13:47       ` Manoj Srivastava
@ 2008-10-23  2:42         ` Kenichi Handa
  2008-10-23  4:52           ` Manoj Srivastava
  0 siblings, 1 reply; 13+ messages in thread
From: Kenichi Handa @ 2008-10-23  2:42 UTC (permalink / raw)
  To: Manoj Srivastava; +Cc: emacs-devel

In article <87hc76ys92.fsf@anzu.internal.golden-gryphon.com>, Manoj Srivastava <srivasta@acm.org> writes:

> On Tue, Oct 21 2008, Kenichi Handa wrote:
> > Ah, no.  What I wanted to know is for the character #x926,
> > not for #x2342.

>         Ah, sorry. It was late at night. I can insert that character,
>  and it is not crashing my Emacs now, as it does when I visit that
>  posting.

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.

---
Kenichi Handa
handa@ni.aist.go.jp




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: A crash in a gnus group with indic script in content and headers
  2008-10-23  2:42         ` Kenichi Handa
@ 2008-10-23  4:52           ` Manoj Srivastava
  2008-10-24  2:38             ` Kenichi Handa
  0 siblings, 1 reply; 13+ messages in thread
From: Manoj Srivastava @ 2008-10-23  4:52 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-devel

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 <srivasta@acm.org> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: A crash in a gnus group with indic script in content and headers
  2008-10-23  4:52           ` Manoj Srivastava
@ 2008-10-24  2:38             ` Kenichi Handa
  2008-10-24  3:41               ` Manoj Srivastava
  2008-10-24  4:26               ` Manoj Srivastava
  0 siblings, 2 replies; 13+ messages in thread
From: Kenichi Handa @ 2008-10-24  2:38 UTC (permalink / raw)
  To: Manoj Srivastava; +Cc: emacs-devel

In article <87prlr9al2.fsf@anzu.internal.golden-gryphon.com>, Manoj Srivastava <srivasta@acm.org> writes:

>         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.

Did you start gdb in the C source directory of Emacs?

--- from etc/DEBUG ---
** When you debug Emacs with GDB, you should start it in the directory
where the executable was made.  That directory has a .gdbinit file
that defines various "user-defined" commands for debugging Emacs.
(These commands are described below under "Examining Lisp object
values" and "Debugging Emacs Redisplay problems".)
------------------------------------------------------------

In .gdbinit, the command "pr" is defined to print Lispy value.

By the way,

> (gdb) print font
> $5 = 38342148
> (gdb) ptype font
> type = long int

Ummm, you are using 64-bit system, right?  I suspect the
problem is here.  Perhaps some of font handling code of
Emacs (or libotf) has a bug for 64-bit system.

I currently can not use 64-bit machine.  Can you test Emacs
on 32-bit machine?

---
Kenichi Handa
handa@ni.aist.go.jp




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: A crash in a gnus group with indic script in content and headers
  2008-10-24  2:38             ` Kenichi Handa
@ 2008-10-24  3:41               ` Manoj Srivastava
  2008-10-24  4:26               ` Manoj Srivastava
  1 sibling, 0 replies; 13+ messages in thread
From: Manoj Srivastava @ 2008-10-24  3:41 UTC (permalink / raw)
  To: emacs-devel

On Thu, Oct 23 2008, Kenichi Handa wrote:

> In article <87prlr9al2.fsf@anzu.internal.golden-gryphon.com>, Manoj Srivastava <srivasta@acm.org> writes:
>
>>         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.
>
> Did you start gdb in the C source directory of Emacs?
>
> --- from etc/DEBUG ---
> ** When you debug Emacs with GDB, you should start it in the directory
> where the executable was made.  That directory has a .gdbinit file
> that defines various "user-defined" commands for debugging Emacs.
> (These commands are described below under "Examining Lisp object
> values" and "Debugging Emacs Redisplay problems".)
> ------------------------------------------------------------
>
> In .gdbinit, the command "pr" is defined to print Lispy value.

        Sorry. I'll retry running gdb from the src directory, instead of
 the top.

> By the way,
>
>> (gdb) print font
>> $5 = 38342148
>> (gdb) ptype font
>> type = long int
>
> Ummm, you are using 64-bit system, right?  I suspect the
> problem is here.  Perhaps some of font handling code of
> Emacs (or libotf) has a bug for 64-bit system.
>
> I currently can not use 64-bit machine.  Can you test Emacs
> on 32-bit machine?

        I no longer own a 32-bit machine with a display. I have a
 headless firewall and file server, and I'll see if I can setup gnus to
 run on those machines.

        manoj
-- 
My cup hath runneth'd over with love.
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C





^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: A crash in a gnus group with indic script in content and headers
  2008-10-24  2:38             ` Kenichi Handa
  2008-10-24  3:41               ` Manoj Srivastava
@ 2008-10-24  4:26               ` Manoj Srivastava
  2008-10-24  4:53                 ` Kenichi Handa
  1 sibling, 1 reply; 13+ messages in thread
From: Manoj Srivastava @ 2008-10-24  4:26 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-devel

Hi,

        Here is the run with all the information. I think this was a
 slightly different trigger, since EDmacs crashed while trying to
 display the *Summary* bugger (previous crashes had been on trying to
 display the *Article* buffers).

        manoj
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0.0
TERM = xterm
Breakpoint 1 at 0x5c9114: file emacs.c, line 424.
Breakpoint 2 at 0x5eee54: file sysdep.c, line 1133.
(gdb) run
Starting program: /usr/local/git/emacs/src/emacs 
[Thread debugging using libthread_db enabled]
[New Thread 0x7f667d82e770 (LWP 30402)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f667d82e770 (LWP 30402)]
0x00000000006fbf4e in ftfont_otf_features (gsub_gpos=0x8311390) at ftfont.c:1365
1365                  OTF_TAG_SYM (sym, gsub_gpos->FeatureList.Feature[l].FeatureTag);
(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) up 2
#2  0x0000000000687aec in font_match_p (spec=24601876, font=26796324) at font.c:2517
2517              val2 = fontp->driver->otf_capability (fontp);
(gdb) p font
$5 = 26796324
(gdb) pr
#<font-object "-unknown-DejaVu Sans Mono-bold-normal-normal-*-14-*-*-*-m-0-iso10646-1">
(gdb) up 2
#4  0x0000000000509cc0 in fontset_find_font (fontset=118617876, c=2350, face=0x68a10f0, id=-1, fallback=0) at fontset.c:535
535             reorder_font_vector (font_group, face->ascii_face->font);
(gdb) p/x c
$6 = 0x92e
(gdb) bt
#0  0x00000000006fbf4e in ftfont_otf_features (gsub_gpos=0x8311390) at ftfont.c:1365
#1  0x00000000006fc211 in ftfont_otf_capability (font=0x198e120) at ftfont.c:1395
#2  0x0000000000687aec in font_match_p (spec=24601876, font=26796324) at font.c:2517
#3  0x0000000000509754 in reorder_font_vector (font_group=89017301, font=0x198e120) at fontset.c:420
#4  0x0000000000509cc0 in fontset_find_font (fontset=118617876, c=2350, face=0x68a10f0, id=-1, fallback=0) at fontset.c:535
#5  0x000000000050a056 in fontset_font (fontset=117736356, c=2350, face=0x68a10f0, id=-1) at fontset.c:678
#6  0x000000000050aa79 in font_for_char (face=0x68a10f0, c=2350, pos=1346, object=12340913) at fontset.c:984
#7  0x000000000068babe in font_range (pos=1347, limit=0x7fff85970fa8, w=0x6869130, face=0x68a10f0, string=12340913) at font.c:3737
#8  0x00000000006f0084 in autocmp_chars (cft_element=31749045, charpos=1346, bytepos=1346, limit=2142, win=0x6869130, face=0x68a10f0, 
    string=12340913) at composite.c:948
#9  0x00000000006f0f0c in composition_reseat_it (cmp_it=0x7fff859720a0, charpos=1346, bytepos=1346, endpos=2142, w=0x6869130, 
    face=0x68a10f0, string=12340913) at composite.c:1112
#10 0x000000000043e499 in next_element_from_buffer (it=0x7fff85971b20) at xdisp.c:6493
#11 0x000000000043bbf0 in get_next_display_element (it=0x7fff85971b20) at xdisp.c:5655
#12 0x0000000000458388 in display_line (it=0x7fff85971b20) at xdisp.c:16575
#13 0x000000000045098a in try_window (window=109482292, pos={charpos = 857, bytepos = 857}, check_margins=1) at xdisp.c:14039
#14 0x000000000044f43f in redisplay_window (window=109482292, just_this_one_p=0) at xdisp.c:13662
#15 0x000000000044ae11 in redisplay_window_0 (window=109482292) at xdisp.c:12252
#16 0x000000000066dfd5 in internal_condition_case_1 (bfun=0x44add5 <redisplay_window_0>, arg=109482292, handlers=12699573, 
    hfun=0x44adaa <redisplay_window_error>) at eval.c:1559
#17 0x000000000044ad8b in redisplay_windows (window=109482292) at xdisp.c:12231
#18 0x000000000044ad5c in redisplay_windows (window=109481684) at xdisp.c:12225
#19 0x0000000000449f3e in redisplay_internal (preserve_echo_area=0) at xdisp.c:11807
#20 0x0000000000447d40 in redisplay () at xdisp.c:11013
#21 0x00000000005d08a4 in read_char (commandflag=1, nmaps=4, maps=0x7fff85973ea0, prev_event=12340913, 
    used_mouse_menu=0x7fff859741d4, end_time=0x0) at keyboard.c:2649
#22 0x00000000005dd72c in read_key_sequence (keybuf=0x7fff85974540, bufsize=30, prompt=12340913, dont_downcase_last=0, 
    can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9343
#23 0x00000000005cd6dd in command_loop_1 () at keyboard.c:1621
#24 0x000000000066de39 in internal_condition_case (bfun=0x5cd343 <command_loop_1>, handlers=12428177, hfun=0x5cccab <cmd_error>)
    at eval.c:1511
#25 0x00000000005cd062 in command_loop_2 () at keyboard.c:1338
#26 0x000000000066d7eb in internal_catch (tag=12409473, func=0x5cd048 <command_loop_2>, arg=12340913) at eval.c:1247
#27 0x00000000005cd022 in command_loop () at keyboard.c:1317
#28 0x00000000005cc7f1 in recursive_edit_1 () at keyboard.c:942
#29 0x00000000005cc994 in Frecursive_edit () at keyboard.c:1004
#30 0x00000000005caf1c in main (argc=1, argv=0x7fff85974e68) at emacs.c:1723

        Character 0x92e is: म, and I do not think DejaVu should be used
 to render it.

        character: म (2350, #o4456, #x92e)
preferred charset: unicode (Unicode (ISO10646))
       code point: 0x092E
           syntax: w 	which means: word
         category: i:Indian
      buffer code: #xE0 #xA4 #xAE
        file code: #xE0 #xA4 #xAE (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 2350 145 7 0 8 9 1 nil]

Character code properties: customize what to show
  name: DEVANAGARI LETTER MA
  general-category: Lo (Letter, Other)

There are text properties here:
  fontified            t

-- 
"I am, therefore I am." Akira
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: A crash in a gnus group with indic script in content and headers
  2008-10-24  4:26               ` Manoj Srivastava
@ 2008-10-24  4:53                 ` Kenichi Handa
  2008-10-24 18:15                   ` Manoj Srivastava
  0 siblings, 1 reply; 13+ messages in thread
From: Kenichi Handa @ 2008-10-24  4:53 UTC (permalink / raw)
  To: Manoj Srivastava; +Cc: emacs-devel

In article <87skqmfwkd.fsf@anzu.internal.golden-gryphon.com>, Manoj Srivastava <srivasta@acm.org> writes:

>         Here is the run with all the information. I think this was a
>  slightly different trigger, since EDmacs crashed while trying to
>  display the *Summary* bugger (previous crashes had been on trying to
>  display the *Article* buffers).

Thank you.

[...]
> (gdb) pr
> #<font-object "-unknown-DejaVu Sans Mono-bold-normal-normal-*-14-*-*-*-m-0-iso10646-1">

Please locate a file DejaVuSansMono-Bold.ttf (by "locate"
command or "fc-list 'dejavu sans mono:bold' file") and run
otfdump (which should be installed if you installed libotf
from source) on that file as this:

% otfdump FILENAME > temp

and send me the file "temp".

---
Kenichi Handa
handa@ni.aist.go.jp




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: A crash in a gnus group with indic script in content and headers
  2008-10-24  4:53                 ` Kenichi Handa
@ 2008-10-24 18:15                   ` Manoj Srivastava
  0 siblings, 0 replies; 13+ messages in thread
From: Manoj Srivastava @ 2008-10-24 18:15 UTC (permalink / raw)
  To: emacs-devel; +Cc: Kenichi Handa

Hi,

        The latest code change fixes the segmentation fault. I can read
 the post; the offending line was:
 To: "Dinesh Shah (દિનેશ શાહ/दिनेश =?UTF-8?Q?_

        Thanks for the great work.

        manoj
-- 
Be nice to people on the way up, because you'll meet them on your way
down. Wilson Mizner
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-10-24 18:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-21  4:28 A crash in a gnus group with indic script in content and headers Manoj Srivastava
2008-10-21  5:04 ` Manoj Srivastava
2008-10-21  5:57 ` Kenichi Handa
2008-10-21  6:19   ` Manoj Srivastava
2008-10-21  7:43     ` Kenichi Handa
2008-10-21 13:47       ` Manoj Srivastava
2008-10-23  2:42         ` Kenichi Handa
2008-10-23  4:52           ` Manoj Srivastava
2008-10-24  2:38             ` Kenichi Handa
2008-10-24  3:41               ` Manoj Srivastava
2008-10-24  4:26               ` Manoj Srivastava
2008-10-24  4:53                 ` Kenichi Handa
2008-10-24 18:15                   ` Manoj Srivastava

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.