From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.devel Subject: Re: composition bug Date: Mon, 08 Sep 2008 14:19:21 +0200 Organization: orebokech dot com Message-ID: <87r67u3k52.fsf@elegiac.orebokech.com> References: <87hc8rn3ws.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220876395 1873 80.91.229.12 (8 Sep 2008 12:19:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2008 12:19:55 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 08 14:20:50 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KcfjY-0001qB-BV for ged-emacs-devel@m.gmane.org; Mon, 08 Sep 2008 14:20:45 +0200 Original-Received: from localhost ([127.0.0.1]:52183 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcfiX-00073n-8X for ged-emacs-devel@m.gmane.org; Mon, 08 Sep 2008 08:19:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcfiR-00073a-Ki for emacs-devel@gnu.org; Mon, 08 Sep 2008 08:19:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcfiO-000735-4k for emacs-devel@gnu.org; Mon, 08 Sep 2008 08:19:35 -0400 Original-Received: from [199.232.76.173] (port=53580 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcfiN-000732-TK for emacs-devel@gnu.org; Mon, 08 Sep 2008 08:19:31 -0400 Original-Received: from smtp6-g19.free.fr ([212.27.42.36]:57772) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KcfiM-0001zk-SI for emacs-devel@gnu.org; Mon, 08 Sep 2008 08:19:31 -0400 Original-Received: from smtp6-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp6-g19.free.fr (Postfix) with ESMTP id 4F37B172B2; Mon, 8 Sep 2008 14:19:24 +0200 (CEST) Original-Received: from elegiac.orebokech.com (home.orebokech.com [82.67.41.165]) by smtp6-g19.free.fr (Postfix) with ESMTP id BC79D172DB; Mon, 8 Sep 2008 14:19:22 +0200 (CEST) Original-Received: by elegiac.orebokech.com (Postfix, from userid 1000) id BCFD23B268; Mon, 8 Sep 2008 14:19:21 +0200 (CEST) X-Face: }9mYu,e_@+e!`Z-P5kVXa3\_b:hdJ"B)ww[&=b<2=awG:GOIM, Chong Yidong , emacs-devel@gnu.org In-Reply-To: (Kenichi Handa's message of "Mon, 08 Sep 2008 15:36:16 +0900") X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:103685 Archived-At: Kenichi Handa 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 , arg=12149188, handlers=12307637, hfun=0x449f35 ) 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 , handlers=12039057, hfun=0x571a87 ) at eval.c:1511 #18 0x0000000000571e3e in command_loop_2 () at keyboard.c:1338 #19 0x0000000000612003 in internal_catch (tag=12020353, func=0x571e24 , 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