unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Romain Francoise <romain@orebokech.com>
To: Kenichi Handa <handa@m17n.org>
Cc: Chong Yidong <cyd@stupidchicken.com>, emacs-devel@gnu.org
Subject: Re: composition bug
Date: Mon, 08 Sep 2008 14:19:21 +0200	[thread overview]
Message-ID: <87r67u3k52.fsf@elegiac.orebokech.com> (raw)
In-Reply-To: <E1KcaMC-00069l-4b@etlken.m17n.org> (Kenichi Handa's message of "Mon, 08 Sep 2008 15:36:16 +0900")

Kenichi Handa <handa@m17n.org> writes:

> I can't reprodce the above behaviours but I fixed a bug in
> vertical_motion.  Could you please try again with the latest
> code?

With current CVS HEAD, not only does it still move point randomly
like before, but if I keep moving it eventually segfaults:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fd8ce7f9770 (LWP 11285)]
0x000000000069419d in fill_gstring_body (gstring=12363924) at composite.c:875
875           LGLYPH_SET_FROM (g, i);
(gdb) bt
#0  0x000000000069419d in fill_gstring_body (gstring=12363924)
    at composite.c:875
#1  0x000000000069803b in Fcomposition_get_gstring (from=12688, to=12760,
    font_object=11951841, string=11951841) at composite.c:1477
#2  0x000000000069475e in autocmp_chars (cft_element=31373157, charpos=1586,
    bytepos=2367, limit=3099, win=0xb961c0, face=0x1d0b3b0, string=11951841)
    at composite.c:958
#3  0x000000000069549a in composition_reseat_it (cmp_it=0x7fffd6929ba0,
    charpos=1586, bytepos=2367, endpos=3099, w=0xb961c0, face=0x1d0b3b0,
    string=11951841) at composite.c:1094
#4  0x000000000043d654 in next_element_from_buffer (it=0x7fffd6929600)
    at xdisp.c:6458
#5  0x000000000043b365 in get_next_display_element (it=0x7fffd6929600)
    at xdisp.c:5654
#6  0x0000000000457516 in display_line (it=0x7fffd6929600) at xdisp.c:16539
#7  0x000000000044fb15 in try_window (window=12149188, pos=
      {charpos = 1, bytepos = 1}, check_margins=1) at xdisp.c:14003
#8  0x000000000044e5ca in redisplay_window (window=12149188, just_this_one_p=0)
    at xdisp.c:13626
#9  0x0000000000449f9c in redisplay_window_0 (window=12149188) at xdisp.c:12216
#10 0x00000000006127ed in internal_condition_case_1 (
    bfun=0x449f60 <redisplay_window_0>, arg=12149188, handlers=12307637,
    hfun=0x449f35 <redisplay_window_error>) at eval.c:1559
#11 0x0000000000449f16 in redisplay_windows (window=12149188) at xdisp.c:12195
#12 0x00000000004490c9 in redisplay_internal (preserve_echo_area=0)
    at xdisp.c:11771
#13 0x0000000000446edd in redisplay () at xdisp.c:10977
#14 0x0000000000575680 in read_char (commandflag=1, nmaps=5,
    maps=0x7fffd692b9e0, prev_event=11951841, used_mouse_menu=0x7fffd692bd24,
    end_time=0x0) at keyboard.c:2649
#15 0x000000000058219f in read_key_sequence (keybuf=0x7fffd692c090,
    bufsize=30, prompt=11951841, dont_downcase_last=0,
    can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9346
#16 0x00000000005724b9 in command_loop_1 () at keyboard.c:1621
#17 0x0000000000612651 in internal_condition_case (
    bfun=0x57211f <command_loop_1>, handlers=12039057,
    hfun=0x571a87 <cmd_error>) at eval.c:1511
#18 0x0000000000571e3e in command_loop_2 () at keyboard.c:1338
#19 0x0000000000612003 in internal_catch (tag=12020353,
    func=0x571e24 <command_loop_2>, arg=11951841) at eval.c:1247
#20 0x0000000000571dfe in command_loop () at keyboard.c:1317
#21 0x00000000005715cd in recursive_edit_1 () at keyboard.c:942
#22 0x0000000000571770 in Frecursive_edit () at keyboard.c:1004
#23 0x000000000056fd6a in main (argc=2, argv=0x7fffd692c9b8) at emacs.c:1693




  reply	other threads:[~2008-09-08 12:19 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-07 19:37 composition bug Chong Yidong
2008-09-08  6:36 ` Kenichi Handa
2008-09-08 12:19   ` Romain Francoise [this message]
2008-09-09  2:07     ` Kenichi Handa
2008-09-09  5:39       ` Romain Francoise
2008-09-09  7:20         ` Kenichi Handa
2008-09-09  7:40           ` Juanma Barranquero
2008-09-11  2:06           ` Kenichi Handa
2008-09-11  5:34             ` Romain Francoise
2008-09-13 10:09             ` Romain Francoise
2008-09-16  6:24               ` Kenichi Handa
2008-09-16  6:41                 ` Romain Francoise
2008-09-16  7:51                   ` Kenichi Handa
2008-09-16 17:17                     ` Romain Francoise
2008-09-17  5:34                       ` Kenichi Handa
2008-09-17 19:31                         ` Romain Francoise
2008-09-18  1:23                           ` Kenichi Handa
2008-09-18  6:08                             ` Stefan Monnier
2008-09-19  2:29                               ` Kenichi Handa
2008-09-19  2:44                                 ` Stefan Monnier
2008-09-19  3:48                                   ` Kenichi Handa

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=87r67u3k52.fsf@elegiac.orebokech.com \
    --to=romain@orebokech.com \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    /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).